Add an URL to the background?

  • Unknown's avatar

    Here is one of the problems. When you narrow or widen your browser window, the background image disappears (try it). The image widget is staying “fixed” in relationship to the left side and top of the browser window. That means the clickable area, when someone has their browser window narrowed, comes over the top of the content. The content can certainly be set so that it will always be on top of the clickable area, but the clickable area cannot be fixed in relationship to the background image.

    The following will keep the main content above the image widget. It will not however solve the issue of the clickable area moving in relationship to background image. Add the following and then play around with your browser width.

    #main {
    position: relative;
    z-index: 1000;
    }
  • Unknown's avatar

    Thank you very much! It works!
    It’s great!

    I will think about that issue you mentioned. But now all my questions are solved :)

  • Unknown's avatar

    You could change the background position in #wrapper to left top and then the background and the widget would keep their positions relative to one another.

    background-position: left top;

  • Unknown's avatar

    You are welcome.

    And check in several browsers if you can to make sure things function in all of them. IE in particular can be finicky.

  • Unknown's avatar

    Just got one last question^^

    Now you can click on the posts, but you can not klick on the other widgets (like the serach button). I tried to arrange them also with the z-index; but this does not work

  • Unknown's avatar

    Hmmm, I can click on all the widgets and on the slider stuff with no problem. Let’s do the position relative and z-index to the following two selectors as well and see where that gets us.

    #sidebar {
    position: relative;
    z-index: 1000;
    }
    
    #header-wrap {
    position: relative;
    z-index: 1000;
    }
  • Unknown's avatar

    Works again. :-)

    Thank you for the great support.

  • Unknown's avatar
  • The topic ‘Add an URL to the background?’ is closed to new replies.