Wordpress Themes - WP Forum at BFA
Click here to register or to donate.
Auto self-registration is not available here - far too many spammers. This forum has many, many backlinks and because of that there is an intense desire among spammers to drop their links here.

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

[SOLVED] Center title for just one page?

Old Apr 16, 2012, 01:27 PM
2 posts · Apr 2012
Hi there!

I'd really appreciate some help with this: I'm trying to get the headline title centered for just one page, not for the rest of the posts and pages on my site. I'm trying to add some variant of

text-align: center

to the HEADLINE Box: Text and HEADLINE Box: Links areas in the theme options, but I can't figure out how to limit the change to just one page. (I used to do this with a whole category of posts via div., but I'm drawing a blank on singling out one page.)
Old Apr 16, 2012, 02:47 PM
juggledad's Avatar
23,682 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
When trying to apply css to just one page, you have to code your css selector so it specifies the page involved. You can use the 'body' element and the unique class for the page involves as the prefix to the rest of the css selector to make it apply just to one page.

So look at the page with a code examiner (firebug for firefox is one) and find the element names names and classes you will need to create the selector, then use the css rule 'text-align: center' and you should be set.
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
Old Apr 17, 2012, 01:28 AM
2 posts · Apr 2012
Thank you very much for that!

I'm sure that would work. For anyone whose limited css knowledge is challenged by that solution, as is mine, I have since found a simpler workaround for this specific problem:

- in ATO:Configure SEO, turn on Post/Page Options
- now you can disable the page title for one page altogether
- ...and add it again in the page text itself, styled as you like it


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Display page title at top of center column jbrown13 Center area post/pages 2 Feb 10, 2011 05:43 AM
[SOLVED] Home Page Center Style vs other Page Center Styles sleenie Center area post/pages 6 Oct 10, 2010 01:17 PM
delete page title/name from top of center section wppg Center area post/pages 6 Aug 11, 2010 02:04 PM
Is there a way to Center the Blog Title on the page? frankie1ny Header configuration & styling 1 Apr 2, 2010 11:51 AM

All times are GMT -6. The time now is 03:09 AM.

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