Widget Within Post/Page Content

Community Forums Forums Design Tips and Tricks Widget Within Post/Page Content

This topic is: not resolved

Tagged: 

This topic contains 2 replies, has 2 voices, and was last updated by  Frank 1 year, 7 months ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #22920

    Frank
    Participant
    Post count: 14

    Hi there,

    I added a widget area to the content section of a post/page. Is floating to the right, but instead of just being a box with the text flowing around it, it’s behaving as a column.

    I added the following CSS to the stylesheet:

    /* Adsense Box in Post
    ———————————————————— */

    .adsense-within-post {
    float: right;
    width: 310px;
    height: 310px;
    margin: 0px 0px 0px 10px;
    }

    This is the site: http://www.digitaluselessness.com/

    Your help will be much appreciated.

    #23507

    cdils
    Participant
    Post count: 421

    Try adding display:inline to your .entry-content area like this:

    .entry-content {

    overflow: hidden; //This is already in your stylesheet and is fine to leave
    display: inline; // This should let your text wrap

    }


    Have you been helped in this forum? Pay it forward and answer someone else’s question. I bet you’ll know the answer to at least one question. :)

    I host a weekly Genesis-focused podcast called Genesis Office Hours. I tweet @cdils.

    #23532

    Frank
    Participant
    Post count: 14

    OMG it worked!

    You are an angel…a CSS angel :D

    Thank you so much!

    Frank

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.