Forums

[resolved] Problem with Position Widget, Plz HELP! (8 posts)

  1. lucasliu1118
    Member
    Posted 6 months ago #

    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

  2. lucasliu1118
    Member
    Posted 6 months ago #

    bump, plz some1 share some idea

  3. lucasliu1118
    Member
    Posted 6 months ago #

    Any1 plz help

  4. Harry
    Member
    Posted 6 months ago #

    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.

  5. SwansonPhotos
    Member
    Posted 6 months ago #

    <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.

  6. lucasliu1118
    Member
    Posted 6 months ago #

    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

  7. lucasliu1118
    Member
    Posted 6 months ago #

    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?

  8. lucasliu1118
    Member
    Posted 6 months ago #

    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.

Reply

You must log in to post.

About this Topic