Wordpress Themes - WP Forum at BFA
There will be no more development for Atahualpa (or any other theme), and no support. Also no new registrations. I turned off the donation system. I may turn the forum to read only if it gets abused for spam. Unfortunately I have no time for the forum or the themes. Thanks a lot to the people who helped in all these years, especially Larry and of course: Paul. Take care and stay healthy -- Flynn, Atahualpa developer, Sep 2021

Wordpress Themes - WP Forum at BFA » WordPress Themes » Atahualpa 3 Wordpress theme » Center area post/pages »

Conditional h6 tag on home page???

Old Apr 24, 2013, 05:54 PM
18 posts · Feb 2013
Hello everyone,

I've added:

td#middle h6 {
margin-left: 0px;
margin-right: 0px;
margin-top: 0px;
margin-bottom: 0px;

to the css.php file and it works great. Does exactly what I was expecting. I was wondering if there was a way to make it only apply to the home page and do something like this:

td#middle h6 {
margin-left: 30px;
margin-right: 30px;

on all other pages/posts.

Any ideas?

Old Apr 25, 2013, 05:25 AM
juggledad's Avatar
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
add 'body.home' to the selector


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Similar Threads
Thread Thread Starter Forum Replies Last Post
Conditional Tag For Home page ONLY sober Header configuration & styling 1 Jan 14, 2013 02:07 PM
Conditional category styling = PHP bender57 Center area post/pages 1 Dec 17, 2010 07:09 PM
Conditional div background by Page Parent jaxon Atahualpa 3 Wordpress theme 9 May 6, 2010 10:19 AM
Conditional PHP issue MyJourneytoMillions Center area post/pages 6 Feb 10, 2010 03:11 PM

All times are GMT -6. The time now is 10:13 AM.

Powered by vBulletin® Copyright ©2000 - 2023, Jelsoft Enterprises Ltd.