Wordpress Themes - WP Forum at BFA
Click Here To DONATE! Support the theme development, get more attention and additional benefits based on your donation level. Your forum name will be highlighted.

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

[SOLVED] Center title for just one page?


Build custom WP THEMES, without
coding.
Click here for THEMEFRAME

From the author of Atahualpa, the #1 most
downloaded (700,000+) theme @ wordpress.org
  #1  
Old Apr 16, 2012, 01:27 PM
sPa
 
2 posts · Apr 2012
[SOLVED] Center title for just one page?

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.)
  #2  
Old Apr 16, 2012, 02:47 PM
juggledad's Avatar
juggledad
 
22,176 posts · Mar 2009
OSX 10.8.5 WP 3.8.x Atahualpa 3.7.x Safari 6.x Firefox 25 XP
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.
__________________
Give a person a solution, you fix one issue, teach a person how to solve their problem you enable them forever.
Juggledad | Forum Moderator/Support
  #3  
Old Apr 17, 2012, 01:28 AM
sPa
 
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

Bookmarks

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 10:19 PM.


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