Problem with Position Widget, Plz HELP!
-
Hi all,
Im currently developing a website using wordpress. I had a hard time try to position Widget, as you can see in the website (except home page). Different page different sidebar(widget) position (For eg: http://www.rahmamosque.com/news/. http://www.rahmamosque.com/countries/
I tried to use <div style=”position:relative”><div style=”position:absolute”></div></div> method to position it, which always works for me b4 I get into widget, now its not accurate for some reason, I think its something to do with using widget, I am clueless right now.
Does anyone have the same problem or how you guys position widget, please help!
Thanks ahead,
Lucas
-
bump, plz some1 share some idea
Any1 plz help
What are you trying to do with the widget? Where should it be floating? Just about 20px higher than it is at the moment?
Also keeping in mind, continually bumping is frowned upon.
<div style="position:relative"><div style="position:absolute"></div></div>This is improper, use one div and one position and close a div properly before calling another position.
Swanson, thank you for the reply
about <div style=”position:relative”><div style=”position:absolute”></div></div>, this is the method to properly position without leave a white space behind, read on http://jasonseale.hubpages.com/hub/Relative-Positioning-Leave-Blank-White-Space-on-Webpage
Harmck, thank you for the reply
im trying to position it on the right side of the page, close to the slideshow, just like http://www.rahmamosque.com/gallery/ . The problem am having is the widget is not stable, it seems moving up and down due to different page and different content for some reason. Before I use widget, I will just hard code those sidebars in content-page.php and it stable, wont move a bit.
Do you have a better way to position widget/sidebar so that it wont move?
Thx guys for the reply, its fixed, just need to add float:left to the content and the slideshow section. Man I always forget those things.
The topic ‘Problem with Position Widget, Plz HELP!’ is closed to new replies.