theme background image does not show on pages with url alias

kgeusens's picture
kgeusens
Sat, 01/24/2015 - 09:58
#1
theme background image does not show on pages with url alias

conditions:
* set background image in theme settings
* set theme to boxed or boxed-frame
* create a page and assign a "URL alias" (e.g. home)

problem:
* the background image is not displayed

reason:
* the inline css created by the theme will assigne the background to class .page-home (the URL alias name), BUT
* the generated body does NOT have a class assigned with the alias name, only with the page-node-xx name.
* so the css does not map to the body

result:
* if you use an alias name, the background does not show
* if you do not use an alias, the background shows

I frequently use aliases, but do not have enough drupal coding experience to find where the classes are set.
Can you help?

thanks,
Koen

cindy's picture
cindy
Tue, 01/27/2015 - 03:38

Hi,

Please check your email

Log in or register to post comments
Have More Idea?

We are here to build your website!

No Universal solution fits all special business requirements. Our experienced team is ready with ideas and state-of-the-art technical solutions to consult the best solution within your budget.