[resolved] [twenty eleven] Problem Using Divs In Content With WordPress Twentyeleven Theme (3 posts)

  1. bwelford
    Posted 4 years ago #

    I am baffled by a problem I have where divs are not being applied in my WordPress blog, which uses a Child theme of the twentyeleven theme (the new default).

    The posts I am concerned about should have a small div floated to the right at the top of the content showing Hot News Items.

    I am using a child theme and I have included in the style.css the following:

    [CSS code moderated - a link to your site is sufficient to access the stylesheet]

    This used to work well in a theme I used before, but seems to be not taken into account using the twentyeleven theme.

    You can see an example in the following post:

    If you check the source, you will see that the divs with appropriate classes all appear there.

  2. Michael
    Forum Moderator
    Posted 4 years ago #

    in style.css, this style is not closed properly with the curly bracket } therefore breaking the application of all styles following after it:

    #access	{
    	margin: -10px auto 6px;
  3. bwelford
    Posted 4 years ago #

    It always takes a second pair of eyes to be sure you haven't missed anything. Thanks indeed, alchymyth, that worked like a charm.

Topic Closed

This topic has been closed to new replies.

About this Topic