Solved

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

Posted on 2014-01-22
5
246 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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

I annotated my article on ransomware somewhat extensively, but I keep adding new references and wanted to put a link to the reference library.  Despite all the reference tools I have on hand, it was not easy to find a way to do this easily. I finall…
Not sure what the best email signature size is? Are you worried about email signature image size? Follow this best practice guide.
The purpose of this video is to demonstrate how to update a WordPress Site’s version. WordPress releases new versions of its software frequently and it is important to update frequently in order to keep your site secure, and to get new WordPress…
The viewer will learn the benefit of using external CSS files and the relationship between class and ID selectors. Create your external css file by saving it as style.css then set up your style tags: (CODE) Reference the nav tag and set your prop…

705 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

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now