Wordpress Themes - WP Forum at BFA
Click here to register or to donate.
Auto self-registration is not available here - far too many spammers. This forum has many, many backlinks and because of that there is an intense desire among spammers to drop their links here.

Wordpress Themes - WP Forum at BFA » WordPress Themes » Atahualpa 3 Wordpress theme »

Creating different page templates without sidebars - (possible permalinks issue)


  #1  
Old Apr 4, 2012, 02:18 PM
xonline
 
13 posts · Sep 2010
Hi,

I am trying to create pages with options for a full with centre column, or simply one column.

I found a post that explains you can do this by
Plan A) creating a copy of the index.php file with a different choice of column options (but the detail was out of date in one forum post and referred to the gold section in another forum post)

or

Plan B) using APO>CSS inserts

So when I try to use the APO>addCSS inserts, something like...

body.page-id-27 #header {display: none;}
body.page-id-27 #footer {display: none;}

...I came unstuck because my pages are not "permalinked" as page=27 but as
http://www.website.com/blog/blog-tit...-between-words.

So I can't refer to page 27 but have to use page names. However this (For the page "About" looks like this and has no effect.

body.page-id-about #header {display: none;}
body.page-id-about #footer {display: none;}

(Yes I know this is to remove the header and footer but that does not work either)

Is it actually possible to create pages that are full width with a full width centre column, and eliminate side columns?

Can the centre column on alternative template pages be a different width to the one defined in the main index.php?

Am I missing a trick here - and if so - what is it?

Many thanks
  #2  
Old Apr 4, 2012, 03:42 PM
juggledad's Avatar
juggledad
 
23,667 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
What version of Atahualpa and WP?
what is the actual URL for a page you are talking about?
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #3  
Old Apr 5, 2012, 03:42 AM
xonline
 
13 posts · Sep 2010
I am on Wordpress 3.3.1

Atahualpa 3.7.1 (I have quite a few customisations so plan an upgrade to 3.7.3 in near future)

Main homepage for the blog is http://www.excitant.co.uk/blog/

A typical page I want to remove columns for is http://www.excitant.co.uk/blog/about
(though my intention is to create many more pages in this blog.
  #4  
Old Apr 5, 2012, 11:26 AM
xonline
 
13 posts · Sep 2010
Ok, Jugglehead

Part 1 solved:
Being a fairly resourceful soul, I have worked out that part of the solution to the problem above, is to find the actual page Id and use that

so, as "about" is actually page 2, I use....

body.page-id-2 #footer {display: none;}
body.page-id-2 #header {display: none;}

to get rid of the header and footer. And that works.
Part 2 solved
I can take off the side bars of any particular page by using the ATO> configure sidebar options and using the same number to specify which pages do not need the side bar. This works page by page.
Part not solved
How to do this for a template page?
Thanks
  #5  
Old Apr 5, 2012, 11:50 AM
juggledad's Avatar
juggledad
 
23,667 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
Go to the gold forums tutorials and read the thread HOWTO: create a 'no sidebar' template (or 1, 2, 3 or 4 sidebar template)
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Creating new page templates for static pages Englishbydesign9 Atahualpa 3 Wordpress theme 1 Nov 1, 2010 06:32 PM
Category Templates multiple sidebars ranch2 Sidebars & Widgets 3 May 25, 2009 06:40 PM
Major problem! Help with templates issue paulae New Versions, & Updating 1 Apr 4, 2009 04:30 PM


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


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