I would like to see examples

  • remdesign
    Inactive member
  • Topic Author
  • New Member
  • New Member
More
11 years 11 months ago #29503 by remdesign
I would like to see examples of class. cell and class. mp_positionname and how install paddings and margins for modules.

Please Log in to join the conversation.

More
11 years 11 months ago #29511 by ivan.milic
If you mean module map that has no meaning because sparky is only template in word that lets you drag and drop module position wherever you want it so there is no map to obey for sparky because you practically create it how you want it.

For every module position css class is available formed like this mp_<position name> so for padding and margin you would add to template_css.css:

Example for user1 position:


.mp_user1{
margin:...
padding:...
}

Please Log in to join the conversation.

  • remdesign
    Inactive member
  • Topic Author
  • New Member
  • New Member
More
11 years 11 months ago - 11 years 11 months ago #29519 by remdesign
Thank you.
Does it matter which of the files to place the settings - template_css.css or layout.css?
I put in the layout.css and also working:

.mp_left{
padding-left:10px;
padding-right:10px;
background-color: rgba(255, 255, 255, 0.1);
}
Last edit: 11 years 11 months ago by remdesign.

Please Log in to join the conversation.

More
11 years 11 months ago #29527 by ivan.milic
It's ok, because both load alwaus

Please Log in to join the conversation.

  • remdesign
    Inactive member
  • Topic Author
  • New Member
  • New Member
More
11 years 11 months ago #29532 by remdesign
Thanks.
Is it possible to propagate the change CSS properties position Content?

Please Log in to join the conversation.

More
11 years 11 months ago #29540 by ivan.milic
for content container has class:

.content_sparky{
...
}

Please Log in to join the conversation.

Time to create page: 0.173 seconds
Powered by Kunena Forum