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
Click here for THEMEFRAME

From the author of Atahualpa, the #1 most
downloaded (700,000+) theme @ wordpress.org
Old Mar 19, 2012, 12:24 AM
8 posts · Nov 2011
[SOLVED] How to select page width for a custom page template?


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

Old Mar 19, 2012, 05:55 AM
juggledad's Avatar
23,026 posts · Mar 2009
OSX 10.10.1 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
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
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
Old Mar 19, 2012, 09:23 AM
8 posts · Nov 2011
Thanks juggledad, that worked.



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 05:31 AM
How to have next/prev Page links in custom page template? bongo Center area post/pages 1 Oct 1, 2010 06:28 AM
Using Page Template - where to select? Charlotte Excerpts, Read more, Pagination 1 Feb 28, 2009 02:49 PM

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

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