Wordpress Themes - WP Forum at BFA

Wordpress Themes - WP Forum at BFA (http://forum.bytesforall.com/index.php)
-   Atahualpa 3 Wordpress theme (http://forum.bytesforall.com/forumdisplay.php?f=2)
-   -   Creating different page templates without sidebars - (possible permalinks issue) (http://forum.bytesforall.com/showthread.php?t=17211)

xonline Apr 4, 2012 02:18 PM

Creating different page templates without sidebars - (possible permalinks issue)
 
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

juggledad Apr 4, 2012 03:42 PM

What version of Atahualpa and WP?
what is the actual URL for a page you are talking about?

xonline Apr 5, 2012 03:42 AM

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.

xonline Apr 5, 2012 11:26 AM

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

juggledad Apr 5, 2012 11:50 AM

Go to the gold forums tutorials and read the thread HOWTO: create a 'no sidebar' template (or 1, 2, 3 or 4 sidebar template)


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

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