Wordpress Themes - WP Forum at BFA
Click Here To DONATE! Support the theme development, get more attention and additional benefits based on your donation level. Your forum name will be highlighted.

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

[SOLVED] Enabling/disabling sidebar


Build custom WP THEMES, without
coding.
Click here for THEMEFRAME

From the author of Atahualpa, the #1 most
downloaded (700,000+) theme @ wordpress.org
  #1  
Old Aug 2, 2010, 05:19 PM
Certis
 
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.
  #2  
Old Aug 2, 2010, 05:24 PM
NeilC
 
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.
  #3  
Old Aug 2, 2010, 05:40 PM
Certis
 
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 05:42 PM.
  #4  
Old Aug 2, 2010, 05:52 PM
NeilC
 
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.
  #5  
Old Aug 2, 2010, 05:54 PM
Certis
 
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?).
  #6  
Old Aug 2, 2010, 06:06 PM
NeilC
 
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.

Bookmarks

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 05:36 PM
disabling the favicon fr453r Header configuration & styling 0 Feb 10, 2010 07:46 AM
Disabling the LEFT BORDER for LINKS in the Sidebar ianuy Sidebars & Widgets 3 May 17, 2009 06:17 AM
Enabling sidebar for select pages guacamoly Sidebars & Widgets 1 May 4, 2009 03:17 AM
Enabling Comments MichaelZ Comments, trackbacks & pings 1 Apr 23, 2009 05:29 PM


All times are GMT -6. The time now is 01:08 PM.


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