Widget Within Post/Page Content

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

This topic is: not resolved


This topic contains 2 replies, has 2 voices, and was last updated by  Frank 2 years, 8 months ago.

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


    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.



    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 WordPress-focused podcast called Office Hours. I tweet @cdils.



    OMG it worked!

    You are an angel…a CSS angel :D

    Thank you so much!


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

You must be logged in to reply to this topic.