Hi folks,
Have customised a theme for my fitness businesses site www.fullforcefitness.com.au
i worked from the bluemarine theme, i added background images to h2 and also h1
i have 2 nodes promoted to the front page.
basically what has happened - when i promoted the pages to front page their headings become h2 which is fine, but because i have an image added for the background of h1 which is usually default for the heading of the front page the background image is displayed twice, once for h1 (which has no text but is displaying on the front page?!) for the h2 heading of the promoted front pages
check out my site if you need to see the prob and if it helps i can post my code
any help would be greatly appreicated, and also some feedback -I'm new and relatively amateur to web design but have been doing it as a hobby and also for my fitness business.
thanks in advance guys =)
Comments
Gidday cobber
Gidday cobber, sorry but I can't make head nor tail of what you're describing.
If you want to get rid of that image on the H2 just use something like...
.node h2.title {background: none;}
Need help with IE?
Learn basic XHTML and CSS first.
Get smart with web specs.
Pimp your Drupal 8 Toolbar - make it badass.
Adaptivetheme - theming system for people who don't code.
Same problem
Fullforce, nice site! But you have solved it now...
I was just dealing with the same problem.
In my (custom) theme, I added an image as background to h1.title
Showed well in every inner page, but in front page it shows - empty!
What I see from the page source is that an empty h1 tag was added, followed by an h2 tag with the title.
I changed the code in page.tpl.php and now the h1 doesn't show anymore,
but I wanted to get rid of the h2 title too.
So I changed node.tpl.php and commented out the line
Presto!