[SOLVED] page class suffix

GK User
Mon Jan 09, 2012 6:26 pm
Hi, my goal is to have in each article category diferrent background colors (in the main container).
So i am adding into style2.css (the one i am using) the following code (for example):
Code: Select all
div.green {background: #D2E7A7 }

Later on i add in the administrator area the page class suffix i made.
my problem is that i have the image's result,i want all the container background color for example green or red etc.
Image
after searching i figured out that into template.css, there is
Code: Select all
#gk-current-content-wrap {
   background: #fff;
   padding: 18px;
}

How can i have the same color in the main container through page class suffix.
thank you very much have a happy new year!
User avatar
Junior Boarder

teitbite
Mon Jan 09, 2012 6:36 pm
Hi

Show me Your site with this change.
User avatar
Moderator

GK User
Mon Jan 09, 2012 6:46 pm
If you want full control then i suggest following.

1. Custom CSS Module which is a well custom css module where you can enter any custom css.
2. Advanced Module Manager is similar to normal module manager however you have more control on where/how/which article/date/time etc etc the modules should appear.

So usage is simple. You create a new custom css module then by using Advanced Module Manager you assign the module to any article/page you want. Once the module loaded on that page whatever custom css you have used in the module overrides default code. So you can change anything on anywhere.

If this sounds good to you see following links, if you are not comfortable setting up Custom CSS Module let me know and i ll do it for you.
Custom CSS
Code: Select all
http://www.hyde-design.co.uk/free-joomla-extensions/custom-css

Advanced Module Manager
Code: Select all
http://www.nonumber.nl/extensions/advancedmodulemanager


See you around...
User avatar
Platinum Boarder

GK User
Mon Jan 09, 2012 6:53 pm
teitbite unfortunately i am working localy at the time , although thank you very much
User avatar
Junior Boarder

GK User
Mon Jan 09, 2012 6:55 pm
normanUK i am checking on it right now, thank you very much! :)
User avatar
Junior Boarder

GK User
Mon Jan 09, 2012 7:08 pm
normanUK you are the best!!! works like charm!!! many greetings from Greece!
i wish one day i'll help you like you did!!!!! :D
SOLVED!!!
User avatar
Junior Boarder

GK User
Tue Jan 10, 2012 12:11 am
No problem at all, marking this topic as solved.

See you around...
User avatar
Platinum Boarder

teitbite
Tue Jan 10, 2012 3:55 am
Hi

Och. I got fixated on the page suffix question and didn't thought about that.

Just for other who may need common solution I suggest mod_blank module. You can add css there and place in any position (nothing except this css code won't appear), so the advance module manager part can be hold.
User avatar
Moderator


cron