I want to use WP-pages to create my galleries and made a test gallery at http://www.viktorsundberg.se/blogg/test/
However, I want to remove the right column with the categories, links, archive, tag cloud etc. so that my galleries look clean, fill the whole width and do not look like a blog post.
How do I do this in a easy way? Or is there no easy way just to "turn off" that column?
olavxxx
Member
Posted 6 months ago #
Hi, you can register new stylesheets for those pages.
Look at this:
http://codex.wordpress.org/Function_Reference/wp_enqueue_style
You hook and register/enque the stylesheet.
Then in your new sheet you can define !important styles that override the others..
#sidebar {
display:none;
}
#content {
width: 100% !important;
}
You will need some logic to choose which pages to style, you can use regular template functions like: http://codex.wordpress.org/Function_Reference/is_single , etc.