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 » Header configuration & styling »

[SOLVED] How to select page width for a custom page template?


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 Mar 18, 2012, 11:24 PM
raymasa
 
8 posts · Nov 2011
[SOLVED] How to select page width for a custom page template?

Hello

I have a custom page template for just one page (the rest of the pages use the default page template). The only thing different for this page is the width size. I was able to create a page template, by copying index.php and calling is page_custom.php, that worked.

But I can't figure out how to make the width of the page different for this custom page, if I change the setting in ATO (Layout MIN and MAX width), it will effect the default template as well.

Thanks for your help

Ray
  #2  
Old Mar 19, 2012, 04:55 AM
juggledad's Avatar
juggledad
 
21,979 posts · Mar 2009
OSX 10.8.5 WP 3.8.x Atahualpa 3.7.x Safari 6.x Firefox 25 XP
You don't need a custom template for that, you can do it with a css insert. add teh following to the CSS Inserts
HTML Code:
body.page-id-nn #wrapper {width: 70%;}
change the 70 to the percent width you want.

if you have a fixed width page use
HTML Code:
body.page-id-nn #wrapper {width: 200px;}
changing the '200' to the width you want
__________________
If you like my help, please consider donating. I am happy to provide greater detail on this and other topics if you hire me. Please send detailed support requests to me as a private message, thank you.
Juggledad | Forum Moderator/Support
  #3  
Old Mar 19, 2012, 08:23 AM
raymasa
 
8 posts · Nov 2011
Thanks juggledad, that worked.

Ray

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Custom Page Template Alters Page Order In Menu Bar RichardG Page & Category Menu Bars 1 Sep 8, 2011 04:31 AM
How to have next/prev Page links in custom page template? bongo Center area post/pages 1 Oct 1, 2010 05:28 AM
Using Page Template - where to select? Charlotte Excerpts, Read more, Pagination 1 Feb 28, 2009 01:49 PM


All times are GMT -6. The time now is 11:01 PM.


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