Support Forum

Please note that this forum is only available to you in read only mode. In order to contribute to this conversation you will need to renew your subscription.

CSS and container

zentoolsIf you use Zentools please post a review at the Joomla! Extensions Directory.

Hello

I wish to apply a certain background to a part of the website displaying a category in a blog style.
I filled in the CSS suffix in my menu item "-MyStyle".

In my "theme.css" file, I tried something like :
.mainRow {}
.mainRow .containerBG {background: #f2f2f2;padding-top: 0; border-bottom: 0px solid #f2f2f2}
.mainRow-MyStyle {}
.mainRow-MyStyle .containerBG {background: url(images/FondFeuille.jpg) repeat-y; padding-top: 0; border-bottom: 0px solid #f2f2f2}

...but it's not working. Can you quickly advise me on that?
Thanks!
  • gdep74's Avatar
  • gdep74
  • Previous Member
  • 42 posts
  • Karma: 0
The administrator has disabled public write access.
Hey there,

The page class suffix will not actually be affixed to the div with a class of mainRow. It will however, be attached to all the content within the div#mainContent
As an example, you will have a div of class blog-MyStyle
Depending on the background, it could work in one of the other Divs nested within mainContent.

Cheers,
Jason.
  • Jason D's Avatar
  • Jason D
  • 6 Month Developer
  • 2957 posts
  • 12 Thanks
  • Karma: 75
The administrator has disabled public write access.

zentoolsIf you use Zentools please post a review at the Joomla! Extensions Directory.

Happy Campers