Page suffix

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
Tue Feb 19, 2013 3:35 pm
Reply with quote
Report this post
I would like to show different backgrounds on certain pages and I gave these pages a suffix. And I added these lines to template.css:
Code: Select all
body .hout {
   background: url('../images/bg1.jpg') repeat-y;
}
body .agrarisch {
   background: url('../images/bg2.jpg') repeat-y;
}
body .industrie {
   background: url('../images/bg3.jpg') repeat-y;
}


But the backgrounds are shown in the wrong place, as you can see in the attachment.
What can I do about this?
User avatar
Gold Boarder

Konrad M
Tue Feb 19, 2013 3:39 pm
Reply with quote
Report this post
Hi,
please try change your code to this one:
Code: Select all
body.hout {
   background: url('../images/bg1.jpg') repeat-y;
}
body.agrarisch {
   background: url('../images/bg2.jpg') repeat-y;
}
body.industrie {
   background: url('../images/bg3.jpg') repeat-y;
}
User avatar

GK User
Wed Feb 20, 2013 9:29 am
Reply with quote
Report this post
Unfortunatly then the background isn't shown at all.
User avatar
Gold Boarder

Konrad M
Wed Feb 20, 2013 9:39 am
Reply with quote
Report this post
Please give me url to your website.
User avatar

GK User
Wed Feb 20, 2013 9:45 am
Reply with quote
Report this post
http://intellipack.hisslink.nl
The frontpage has a gray background, but I would like to show different backgrounds for the "branches". So "hout" has a different background and "agrarisch" etc.
User avatar
Gold Boarder

Konrad M
Wed Feb 20, 2013 9:48 am
Reply with quote
Report this post
Did you add suffix to page using our 'Suffix for pages' option in template settings. Because I don't see suffix in source code.
User avatar

GK User
Thu Feb 21, 2013 3:00 pm
Reply with quote
Report this post
No I didn't. I thought I needed to use "page suffix" in the menu manager.
But this works! Thank you!
User avatar
Gold Boarder


cron