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?


  #1  
Old Mar 18, 2012, 11:24 PM
raymasa
 
8 posts · Nov 2011
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
 
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
  #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 06:20 PM.


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