-
AuthorPosts
-
librandi Friend
librandi
- Join date:
- February 2012
- Posts:
- 587
- Downloads:
- 89
- Uploads:
- 163
- Thanks:
- 123
- Thanked:
- 2 times in 2 posts
June 11, 2017 at 8:27 am #1041123Hi,
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
Pankaj Sharma ModeratorPankaj Sharma
- Join date:
- February 2015
- Posts:
- 24589
- Downloads:
- 144
- Uploads:
- 202
- Thanks:
- 127
- Thanked:
- 4196 times in 4019 posts
June 12, 2017 at 12:16 am #1041203Hi
Use the code as showing below@media(min-width:960px) { #section-825 .section-primary {background-color: #e3000f!important;}}
Regards
librandi Friendlibrandi
- Join date:
- February 2012
- Posts:
- 587
- Downloads:
- 89
- Uploads:
- 163
- Thanks:
- 123
- Thanked:
- 2 times in 2 posts
June 12, 2017 at 6:32 am #1041269Thank 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 youPankaj Sharma ModeratorPankaj Sharma
- Join date:
- February 2015
- Posts:
- 24589
- Downloads:
- 144
- Uploads:
- 202
- Thanks:
- 127
- Thanked:
- 4196 times in 4019 posts
June 12, 2017 at 8:17 am #1041299Hi
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 Friendlibrandi
- Join date:
- February 2012
- Posts:
- 587
- Downloads:
- 89
- Uploads:
- 163
- Thanks:
- 123
- Thanked:
- 2 times in 2 posts
June 12, 2017 at 8:44 am #1041313no works
Pankaj Sharma ModeratorPankaj Sharma
- Join date:
- February 2015
- Posts:
- 24589
- Downloads:
- 144
- Uploads:
- 202
- Thanks:
- 127
- Thanked:
- 4196 times in 4019 posts
June 13, 2017 at 1:48 am #1041417Hi
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
1 user says Thank You to Pankaj Sharma for this useful post
AuthorPostsViewing 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, 6 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum
css custom
Viewing 6 posts - 1 through 6 (of 6 total)