Solved

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

Posted on 2014-01-22
5
249 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
  • 2
  • 2
5 Comments
 
LVL 28

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

Active Directory Webinar

We all know we need to protect and secure our privileges, but where to start? Join Experts Exchange and ManageEngine on Tuesday, April 11, 2017 10:00 AM PDT to learn how to track and secure privileged users in Active Directory.

Question has a verified solution.

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

CSS is a visual language used to classify objects and define rules about how they should be displayed. CSS skills aren’t restricted to developers anymore, there is a big benefit to having a basic understanding of the language, regardless of your occ…
This article explains how to prepare an HTML email signature template file containing dynamic placeholders for users' Azure AD data. Furthermore, it explains how to use this file to remotely set up a department-wide email signature policy in Office …
The purpose of this video is to demonstrate how to set up basic WordPress SEO. This will be demonstrated using a Windows 8 PC. The plugin used will be WordPress SEO by Yoast. Go to your WordPress login page. This will look like the following: myw…
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…

832 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