Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
First of all Thanks for great Job
I design a simple page (http://www.naughtynailsandsalon.com/node), and I put some blocks on sidebar first, is there any way to make this sidebar stable and not shrink to bottom whenever the browser size got reduced?
I know that this is part of this theme functionality but is there any way to make the sidebar fixed on top even on smaller resolutions(Phone and iPad)
I hope this isn't duplicate, I searched a lot but didn't find any answer.
Comments
Comment #1
Jeff Burnz CreditAttribution: Jeff Burnz commentedI assume you are actually using 7.x-2.3 or close to that.
Can you clarify something - I assume you mean you want the layout to stay the same no matter what device is used - right?
Comment #2
Narek CreditAttribution: Narek commentedYes, I don't want the sidebar to go down on self-phone devices, but what ever I tried it didn't work out, because first sidebar is getting printed after content, so floating left or right wouldn't make any difference and I didn't find any way to keep it up on self-phone devices.
With fix sidebar, I don't mean position fix, sorry if it makes confusion, I just mean to don't move on different resolutions and devices.
Q2. Does Adaptive theme have any sub-theme which does this automatically?
Thank You for your fast respond, Appreciate it.
Comment #3
Narek CreditAttribution: Narek commentedPlease let me know, if my questions aren't clear, Do you think you will respond to these questions?
Comment #4
marcoka CreditAttribution: marcoka commentedDo you mean a layout like these only with the sidebar staying on the left right?
http://www.root.artwaves.de/screensnapr/1343225150-LTEBOO.jpg
Comment #5
Jeff Burnz CreditAttribution: Jeff Burnz commentedI will answer this, I've just been short of time - there are several ways to do this and I wanted to suggest the best way, but I need some time to test it out for you, that is all.
Comment #6
Narek CreditAttribution: Narek commentedYes, In some cases (websites) I don't want to differentiate between Desktop and Phone device design, so I don't want the left or right sidebar to move down on iPhone and iPad devices.
Thanks Jeff Burnz.
Comment #7
Rustan CreditAttribution: Rustan commentedDid you solve this?
Comment #8
Narek CreditAttribution: Narek commentedI edit page.tpl.php, and I moved the Sidebar first above the main content, since if you leave it below the main content no matter what you do it will shrink down. Than I add fix width and float left, to the sidebar. Hope it will help .