Closed (fixed)
Project:
Zen
Version:
7.x-5.5
Component:
Miscellaneous
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
13 Mar 2015 at 08:21 UTC
Updated:
12 Oct 2015 at 22:04 UTC
Jump to comment: Most recent
Comments
Comment #1
computerbarry commentedI don't use this theme myself, though I'd start by looking at your elements and changing your css using firebug.
Your navigation is between your two main containers, this can be fixed by reordering of your elements/blocks via Drupal admin and with a few small changes to your css.
Starting with (can you see what's wrong here):
Change this to 60% and change your sidebar to 30% with a 10% left margin.
Have a play around until you get a design you're happy with. Ultimately, a CSS problem.
This is what you have:
And what it should be
Barry
Comment #2
glowkeeper commentedThanks Barry. I use the Context module rather than Drupal blocks. My sitewide context uses a reaction that defines a navigation area, but not the content. Perhaps I need to change that - I'll report back once I've had a go...
With regard to the percentages - I haven't changed those at all - they're the default that comes with the zen theme. It works nicely for my desktop too and I'm loathe to change them. I need to understand them better methinks, and _responsive.scss in general. As I said - any pointers very welcome...
Comment #3
computerbarry commentedI think so. Navigation should always come before your main content, sort of a written rule regarding semantics.
Maybe thats the problem. You can't always guarantee that themes/frameworks will work exactly how you want straight out of the box. I use Bootstrap at the moment and need to change lots of stuff to customise how I want things. Maybe you should change to Bootstrap? Or download and see if you prefer this instead of Zend, you can always revert back if you don't like it. https://www.drupal.org/project/bootstrap
From what I can see: styles.css is the main style sheet with all you main styles. I suggest making you overrides inside styles.css or styles.scss if you have sass running.
Anyhow, let us know how you get on and if you need further assistance.
Barry
Comment #4
glowkeeper commentedActually, I've looked a little deeper. The navigation id is absolutely positioned, so it is irrelevant whether it comes before or after the content id. Besides, that is correctly placed. It is my right sidebar that is not, and then only on ipads.
styles.css is built from a number of different style sheets using sass and compass and which you define from within zen using _init.scss or some such like....
I'm still no closer to solving why the right sidebar is way off screen on an ipad. I would appreciate an explanation from someone with Zen experience, if at all possible...
Comment #5
computerbarry commentedThe reason it looks ok on desktop is because the styles attached to that breakpoint work. The problem is when the media query switches for iPad and loads a set of new values for your containers.
@media (max-width: 959px) and (min-width: 480px)
#content
.sidebars
.sidebars section
Locate where these styles/breakpoints are being set and change them for that breakpoint. I've just fixed this in my browser, slowly reduce the size of the browser window and you'll see. You have a lot of widths and margins with values of 300%, 200% etc. The maximum value is 100%, just incase you have forgot.
Hope this helps.
Barry
Comment #6
johnalbinThanks, computerbarry!