Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • librandi Friend
    #1041123

    Hi,
    I try to change the background color at mod.825 and change the padding in mod. 452 and I write this code in css custom

    @media (min-width: 960px){ #Mod825{background-color: #e3000f!important;}}
    @media (min-width: 960px){ #Mod452{padding: 2px 0!important;!important;}}

    nothing change where I wrong?
    thank you very much for your help


    1. Cattura-4
    Pankaj Sharma Moderator
    #1041203

    Hi
    Use the code as showing below

    @media(min-width:960px) { #section-825 .section-primary {background-color: #e3000f!important;}}

    Regards

    librandi Friend
    #1041269

    Thank you,
    now it’s red on mobil and ipad bat remain blue on desktop, please check it,
    can you write me the esactly code for this:@media (min-width: 960px){ #Mod452{padding: 2px 0!important;!important;}}
    thank you

    Pankaj Sharma Moderator
    #1041299

    Hi
    You should remove the media screen query to apply the suggestion in all screen size devices

     { #section-825 .section-primary {background-color: #e3000f!important;}
    

    Regards

    librandi Friend
    #1041313

    no works

    Pankaj Sharma Moderator
    #1041417

    Hi
    Kindly check your custom.css file again correct the errors, You may have more open or close braces
    { }

    its must be equal, this is why code not working, you can put the code in the first line of custom.css and see it working.

    Regards

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

This topic contains 5 replies, has 2 voices, and was last updated by  Pankaj Sharma 7 years, 5 months ago.

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