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

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

Old Mar 19, 2012, 12:24 AM
8 posts · Nov 2011

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,765 posts · Mar 2009
OSX 10.11.5 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 11:40 PM.

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