test
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • guffas Friend
    #202558

    Hi all

    I have custom.css in templates/purity_III/css

    As you can see from the below picture, I try to remove the padding and border around the corporate slideshow module position, but it does not work. See Firebug in the low right hand corner, there you see my custom.css code modification show up, but no changes happen in the module position, and the custom code is stroked out.

    I suspect I have forgotten something, but what is it?


    1. custom
    pavit Moderator
    #554636

    Hi

    Add !important; to your custom.css declarations

    .corporate.slideshow {
    background:#f7f7f7!important;
    }

    guffas Friend
    #554637

    Fantastic, thank you thank you 🙂

    jooservices Friend
    #554638

    Hi there,
    I know this topic is resolved but just for adding information.
    You can use css priority into your custom.css instead force with !important.

    https://developer.tizen.org/dev-guide/2.2.1/org.tizen.web.appprogramming/html/guide/w3c_guide/dom_guide/html_priorities_css.htm


    http://monc.se/kitchen/38/cascading-order-and-inheritance-in-css

    It would help your code much more clean

    http://stackoverflow.com/questions/13743671/is-important-bad-for-performance

    Thank you,
    Viet Vu

Viewing 4 posts - 1 through 4 (of 4 total)

This topic contains 4 replies, has 3 voices, and was last updated by  jooservices 10 years, 1 month ago.

We moved to new unified forum. Please post all new support queries in our New Forum