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 » Sidebars & Widgets »

[SOLVED] Enabling/disabling sidebar

Old Aug 2, 2010, 04:19 PM
12 posts · Jul 2010
[SOLVED] Enabling/disabling sidebar

Basically, I need an option for my users to disable the sidebar, while looking at the posts. I can do that now, but that would disable it for everyone, I'd like to offer that feature to only those who need it.

Because some people, with low 4:3 resolution, will see my images (that are 800px wide) in the sidebar.

I tried installing two Atahualpa themes and a theme switcher. Then I edited one theme's settings that it would not show a sidebar in posts, but when I switched back, I noticed that those settings "carried over," which means it either showed the sidebar for both or for neither of them.

Is there any way I could solve this problem?

Alternatively, could I change the sidebar, so it would be up or down instead? And possibly, so I could only change that in one theme, so people could use that Atahualpa theme, which has the sidebar on the side.
Old Aug 2, 2010, 04:24 PM
47 posts · Jun 2010
Runcorn, Cheshire, UK
Send a message via Skype™ to NeilC
Could you possibly use a gallery with thumbnails and have the images open as a lightbox-style. That way you could have a very narrow sidebar containing a 1 x any-number gallery and could accommodate users with low res screens.
Old Aug 2, 2010, 04:40 PM
12 posts · Jul 2010
I'm afraid not, full-sized images are kind-of needed for my blog, which is used for my "let's play."

Since there are screenshots from the visual novel from time to time, I feel like it would stop the flow, if people had to click to open the images or anything of that sorts.

It also has youtube videos. While I can make those smaller, some people don't like to use full-screen, so I'd rather use the proper resolution for that.

Last edited by Certis; Aug 2, 2010 at 04:42 PM.
Old Aug 2, 2010, 04:52 PM
47 posts · Jun 2010
Runcorn, Cheshire, UK
Send a message via Skype™ to NeilC
Thinking outside the box....

Create two style sheets, not two themes with switching. Similar to a Mobile option I guess.
Old Aug 2, 2010, 04:54 PM
12 posts · Jul 2010
How would I be able to create links for switching them?

And from what I saw from the css files, I didn't see the part where sidebars where handled.

That option, would be the best, to be honest, if it works on the fly (switching with AJAX?).
Old Aug 2, 2010, 05:06 PM
47 posts · Jun 2010
Runcorn, Cheshire, UK
Send a message via Skype™ to NeilC
Another way might be to create two "all-encompassing" classes and then replicate the CSS generation with different page widths/sidebar generation for each class.

Its a problem I have to overcome at a later date as I need to add mobile-css to my own site. Thankfully I do not have to deal with this task myself yet!

I was just thinking out loud and in general terms because I will have to think about it myself at a later date.

Good luck.


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Similar Threads
Thread Thread Starter Forum Replies Last Post
Disabling sidebar for specific post-page vi8084 Sidebars & Widgets 3 Mar 10, 2010 04:36 PM
disabling the favicon fr453r Header configuration & styling 0 Feb 10, 2010 06:46 AM
Disabling the LEFT BORDER for LINKS in the Sidebar ianuy Sidebars & Widgets 3 May 17, 2009 05:17 AM
Enabling sidebar for select pages guacamoly Sidebars & Widgets 1 May 4, 2009 02:17 AM
Enabling Comments MichaelZ Comments, trackbacks & pings 1 Apr 23, 2009 04:29 PM

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

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