Keep header from appearing on each page
Rate this topic: 1.00 out of 6 based on 1 vote(s)
- GK User
- Mon Mar 24, 2014 4:28 am
- Reply with quote
- Report this post
Hello,
I am NOT using the imageBg parameter, but I am using the following custom code to place a background image in the header section of Simplicity.
Problem is, the background image appears on EACH page, but I only want it to appear on the HOME page. Is there a quick fix here?
#gkHeader {
background: transparent url(/images/header-images/rotate.php) 50% 0 no-repeat;
height: 585px;
width: auto;
-moz-box-sizing: border-box;
border-bottom: 0px solid #EEE;
margin-bottom: 0px;
}
I am NOT using the imageBg parameter, but I am using the following custom code to place a background image in the header section of Simplicity.
Problem is, the background image appears on EACH page, but I only want it to appear on the HOME page. Is there a quick fix here?
#gkHeader {
background: transparent url(/images/header-images/rotate.php) 50% 0 no-repeat;
height: 585px;
width: auto;
-moz-box-sizing: border-box;
border-bottom: 0px solid #EEE;
margin-bottom: 0px;
}
-
- Fresh Boarder
- GK User
- Mon Mar 24, 2014 8:37 am
- Reply with quote
- Report this post
You need to use template feature - Suffix for pages and assign some suffix ONLY for homepage. Then modify you code from #gkHeader to .suffix #gkHeader so it will affect only on this page where suffix is assigned. How suffix for pages is working you can find here → How to Disable Content on selected Joomla Pages ?
-
- Platinum Boarder
2 posts
• Page 1 of 1