Skip to:
Content
Pages
Categories
Search
Top
Bottom

Use Div style from front-page on another page without editing the style.css

  • @null

    Member

    Hi,

    The front-page has some div styling for the hottags div. This div is only used on the front-page so they set up the template that this styling only is used on the front-page:

    #front-page #hottags {
    position: absolute;
    top: 0;
    left: 0;
    width: 150px;
    overflow: hidden;
    }

    Now I want to use the hottag div on another page, but the styling is messed up then. This can be fixed to adept the stylesheet and add an extra (copied) div style. My question is if it is also possible to not add a new copied div style but use the front-page one. And if this is possible, how to do that?

    Thanks

Viewing 1 replies (of 1 total)
  • @dragunoff

    Member

    Hi :)

    Well, it would be as simple as changing the existing CSS-rule. Just remove the #front-page parent declaration so that the rule applies to all pages containg the #hottags div

    #hottags {
    position: absolute;
    top: 0;
    left: 0;
    width: 150px;
    overflow: hidden;
    }

Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.
Skip to toolbar