ThemeShaper Forums » Thematic


Why is adding a DIV or CLASS in a post pushing down my Menu in the Sidebar?

(1 post)
  • Started 5 years ago by lsnoei
  • This topic is resolved
  1. lsnoei

    Hi, I suspect it only takes a simple CSS addition, but I just don't know which one.
    This is my playground-testingsite:
    And this is where the problem happens:

    Because I want to add mouse-over images and tooltips I inserted this in a post:

    Text before
    <div class="imageswitch">
    text after

    And this in my CSS:

    #main .imageswitch
    {width: 210px;
    height: 210px;
    background-image: url('');}

    #main .imageswitch:hover
    { background-image: url(; }

    #main .imageswitch a
    {width: 210px;
    height: 210px;
    display: block;}

    Problem: this "imageswitch" causes my menu in the sidebar to be pushed down. It should be at the top, like in the other pages.

    Does anyone know how I can solve this?
    Many thanks!

    Posted 5 years ago #

RSS feed for this topic

Topic Closed

This topic has been closed to new replies.