Jump to content
Sign in to follow this  
tlafortune24

Primary Sidebar Moves Down

Recommended Posts

tlafortune24

Hello, In the Custom Code area I have .home #sidebar-wrap{margin-right:-105px;} .home #sidebar-wrap{margin-top:-845px;} The purpose of the above code is to indent and move the primary sidebar (which has a custom menu widget) up underneath the search field in the navigation menu. The code works fine until the browser windows are closed, as soon as you open a new instance of the browser, the menu moves too far up and is hidden behind the search field. Logging into the admin panel and saving the custom code fixes the problem, but it will happen again as soon as the browser windows are closed. I have tried checking the "make dynamic css inline" but it has had no effect. Can anyone help make the menu position permanent?

Share this post


Link to post
Share on other sites
tlafortune24

Unfortunately the wordpress instance is on an internal server and I do not have the permission from my company to release it. Is there any way I can provide code or something for assistance with this issue? I am sorry for any inconvenience not being able to provide a link causes. Thanks, Tim

Share this post


Link to post
Share on other sites
Kate

Once you close the window and re-open it, does your custom CSS disappear too?

Share this post


Link to post
Share on other sites
tlafortune24

No, All other custom CSS works as expected, #feature-area, .feature-wrap, #feature_slider .fmedia, #feature_slider .fcontent, #feature_slider .text-bottom .fmedia .dcol-pad, #feature_slider .text-bottom .feature-pad, #feature_slider .text-none .fmedia .dcol-pad { height: 300px; width: 700px; } #feature_slider{width:700px;} #morefoot, .widget-title{border-bottom-width:0px;} #sidebar-wrap{margin-right:-105px;} #sidebar-wrap{margin-top:-845px;}

Share this post


Link to post
Share on other sites
tlafortune24

I should also mention the page in question is using the default feature template, and it is the only page on the site set to show the primary side bar, all other pages hide it.

Share this post


Link to post
Share on other sites
cmunns

Did you run a W3 validation to check for HTML markup errors that might be causing it?

Share this post


Link to post
Share on other sites
tlafortune24

I uploaded the page source to the W3 validation tool, and it didn't pick anything up that stood out. just "& did not start as a character refrence" and it didn't like a youtube video embed code (I've embedded a youtube video in to a box) Any more ideas? I've tried everything, I just don't understand how it doesn't look right, then you log into the admin, refresh the page and it's perfect. but exit the browser and try again and it's broken.

Share this post


Link to post
Share on other sites
cmunns

Is your browser accidentally zoomed in/out?

Share this post


Link to post
Share on other sites
tlafortune24

Hello, Sorry for the late reply. I have setup the following site in the test area: http://test.pagelines.com/tlafortune24/ If you go to the site you will notice the menu is pushed up behind the search area, however if you log into the site, and refresh the page, it will push back down. The idea is to have the menu title alligned with the top of the feature slider. Thanks, Tim

Share this post


Link to post
Share on other sites
cmunns

This is because you have entered this: ` #sidebar-wrap { margin-top: -580px; } ` That's too much reverse margin.

Share this post


Link to post
Share on other sites
tlafortune24

What is another method I can use to place the quick links menu in line with the top of the feature slider?

Share this post


Link to post
Share on other sites
kastelic

You could try absolute positioning:

	#sidebar-wrap{
	position:absolute;
	left:1180px;
	top:130px;
	}

Share this post


Link to post
Share on other sites
tlafortune24

@Jimmy! Thank you, I was trying to figure that one out for a while now. Thanks for your help everyone, this has been a great support experience. Keep up the great work.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this  

×