Skip to content
WJunction - Webmaster Forum

How to hide this css in responsive layout?

Status
Not open for further replies.

Divvy

Experienced Member
806
2009
18
Hello guys,

Can someone teach me how can I disable the following code to not appear in my responsive layout?

Code:
<div id="supportAd"><strong><u>NEWS</u>:</strong> Testing....</div>

Code:
#supportAd {
    background: #222;
    border: solid 1px #a0a0a0;
    width: 933px;
    margin: 0 0 12px 10px;
    line-height: 20px;
    height: 39px;
    text-align: center;
    font-size: 14px;
    color: #ccc
}
#supportAd a {
    color: #ff0000;
}

Thanks :)
 

1 comment

Code:
@media screen and (max-width: 600px) {
   #supportAd
   {
     display: none;
   }
}

Just change the width to the one you want. Is this what you were asking for?
 
Status
Not open for further replies.

About the author

D
Experienced Member · Joined
806
Messages
18
Reactions
18
Points
Grow your business

Advertise on WJunction

Connect with an established international community of webmasters, hosting providers, developers and online entrepreneurs.

  • Premium & Premium+ Sticky
  • Dedicated section banners
  • Site-wide banner advertising
Explore advertising options
Back
Top Bottom