Background for id "gkContent"

Rate this topic: Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.1.00 out of 6 based on 1 vote(s)
GK User
Fri Dec 27, 2013 6:36 pm
Reply with quote
Report this post
Hi guys.

I want to have a white background for the id "gkContent" (more precise <section id="gkContent">).
The problem is that I don't want to have the white background in the homepage,
only for the rest of the website. How could I manage that change?
I haven't been able to do so because this attribute is applicable to the whole website.

Regards
User avatar
Senior Boarder

GK User
Fri Dec 27, 2013 7:00 pm
Reply with quote
Report this post
From the things you write it looks like you are quite familiar with css.
The only thing you need to do is somehow make homepage different from the other pages - and you can assign custom class to body element with use of page suffix method:
http://www.gavick.com/documentation/gen ... mla-pages/
The topic describes how to setup custom suffix for one of the pages. Then you can use it to force homepage background over other pages background.
User avatar
Moderator

GK User
Fri Dec 27, 2013 7:59 pm
Reply with quote
Report this post
Great! Thank you very much.
It worked perfectly.
User avatar
Senior Boarder

GK User
Sat Dec 28, 2013 2:54 pm
Reply with quote
Report this post
I'm glad I could help.
If You will have any other questions, feel free to post new forum threads.
User avatar
Moderator


cron