Solved

Why is the sidebar wrapping on one page and not the other?

Posted on 2014-01-22
5
252 Views
Last Modified: 2014-01-24
http://wordpress.geospatial-associates.com/joe-paiva/ the sidebar is wrapping beneath the content area. it is using the exact same code base as http://wordpress.geospatial-associates.com/wendy-lathrop/ which is showing correctly.  please help me resolve?
0
Comment
Question by:GeoLearn
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
5 Comments
 
LVL 29

Expert Comment

by:chilternPC
ID: 39800573
sorry can't see the side bar on either one?
or do you mean useful links?  (both on the right of the about us text)
using IE9
0
 
LVL 8

Expert Comment

by:Adrian Crabtree
ID: 39800578
Hi GeoLearn,

It seems that when your site is at full width, the class .rt-grid-6 is getting a width of 600px. Both rt-alpha and rt-omega share this style. Now when you begin to shrink the page, your media queries come into effect. When this happens the size of .rt-grid-6 changes it's width to 480px.

You need to edit your media query in order to fix the issue, or you can change the initial width of .rt-grid-6 to 480px.
0
 

Author Comment

by:GeoLearn
ID: 39800584
usefull links in this case is being used as a side bar, but yes that is what I meant
0
 

Author Comment

by:GeoLearn
ID: 39800634
adrian, when I define grid 6@ 480 pixels, the page loads properly side by side, but the useful links are split equally with the content area. any ideas why it is not splitting 8,4?
0
 
LVL 8

Accepted Solution

by:
Adrian Crabtree earned 500 total points
ID: 39800676
Those are 2 separate classes. One is rt-grid-10 which has a width of 640px, and the other is rt-grid-2 which has a width of 240px.

What you need to do is delete the following CSS:

#rt-bottom .rt-container .rt-grid-10 { width:640px;}
#rt-bottom .rt-container .rt-grid-2 { width:240px;}

Open in new window


And then replace the rt-*-10 CSS with this CSS in the following media query:

@media only screen and (min-width: 768px) and (max-width: 959px) {
  .rt-grid-10 {width: 520px;}
  .rt-push-10 {left: 520px;}
  .rt-pull-10 {left: -520px;}
  .rt-prefix-10 {padding-left: 520px;}
}

Open in new window

0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Why do we like using grid based layouts in website design? Let's look at the live examples of websites and compare them to grid based WordPress themes.
This article describes how to create custom column layout styles for Bootstrap. The article uses 5 columns to illustrate the concept, but the principle can be extended to any number of columns.
HTML5 has deprecated a few of the older ways of showing media as well as offering up a new way to create games and animations. Audio, video, and canvas are just a few of the adjustments made between XHTML and HTML5. As we learned in our last micr…
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …

724 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question