WordPress.org

Ready to get started?Download WordPress

Forums

Yahoo Weather positioning (8 posts)

  1. mrcycling
    Member
    Posted 4 years ago #

    Have been trying get Yahoo Weather to work on a page, but it won't stay where I put it :-(

    I try to put the yahooweather shortcode at the bottom of the page but when the page displays the information, the weather details are at the top of the page, just under the title.

  2. Kim09
    Member
    Posted 4 years ago #

    Hey mrcycling,

    Did you try putting the code in "text" widget and grab-drop it in your sidebar?

  3. mrcycling
    Member
    Posted 4 years ago #

    The sidebar approach doesn't really work for our usage, as we want the weather info to match the city that is written up on each page. And since they all share the same template/sidebar, we need to place it within the page copy and hopefully in a place that is consistent with the flow of the copy on the page. But thanks for your suggestion.

  4. Kim09
    Member
    Posted 4 years ago #

    You might want to post your website link, so that others can help easier :)
    Good luck

  5. mrcycling
    Member
    Posted 4 years ago #

    Unfortunately it is an employee only website, that we prefer to keep off the spiders radar.

  6. Rev. Voodoo
    Volunteer Moderator
    Posted 4 years ago #

    did you wrap the shortcode in a div and style in css? Gives good control over positioning

    <div id="weather">your code</div>

    #weather {
         margin: whatev;
         }

    guess I forgot to ask....you are doing this in a template...or directly in a page from the editor?

  7. mrcycling
    Member
    Posted 4 years ago #

    It is being done in the page through the editor. Each page needs different cities, so it can't be part of the sidebar or template.

  8. mrcycling
    Member
    Posted 4 years ago #

    The latest update seems to have eliminated the issue. Thank you Magnus.

Topic Closed

This topic has been closed to new replies.

About this Topic