Grow your CSS skills. Land your dream job.

override external css one place

  • # May 29, 2010 at 12:11 pm

    I’m working in a e-commerce system and working on the product menu.
    I’ve made a general external stylesheet for the menu background, but 4 places I need to override the external css.
    Because I’m working inside a e-commerce system I’m limited in where I can edit or add code

    I wan’t to override my "a.Deactiv_Productmenu" style to create a custom background image.
    Is that possible in any why?

    Here are the code

    Code:


    Segment Header





    Test 1


    Test 2

    # May 30, 2010 at 3:32 am

    You should be able to place and !important on it and it’ll override whatever the default is.

    Code:
    a.Deactiv_Productmenu {
    background-image: url(‘/design/bg.gif’)!important;
    color: #343E4C!important;
    }
Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.

*May or may not contain any actual "CSS" or "Tricks".