#1
  1. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Apr 2013
    Posts
    2
    Rep Power
    0

    How to get rid of this advertising "div" from my website with the CSS code?


    <div id="ad-wrapper" align="center" style="padding: 0px; margin: 0px; display: block; position: absolute; left: 0px; visibility: visible; width: 100%; height: 100%; background-color: rgb(33, 33, 33); z-index: 1000;">

    <div style="display: block; height: 30px; background: #f0f0f0; width: 100%; padding-top: 5px; color: #555;">
    <span style="position: relative; margin: 0px auto;">


    <div id="dropin" style="padding: 10px; margin: 0px auto; visibility: visible; position: relative; top: 110px; display: block;">

    <div style="width: 300px; background: #000; padding:0; margin:0;">

    </div>
    </div> <!-- ad-wrapper -->

    </div>

    Help me, please!

    - Kahvin
  2. #2
  3. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Apr 2013
    Posts
    1
    Rep Power
    0

    here is the solution


    here you are Kahvin there is more than one way to hide this this advertising blocks


    on <div id="ad-wrapper" align="center" style="padding: 0px; margin: 0px; display: block; position: absolute; left: 0px; visibility: visible; width: 100%; height: 100%; background-color: rgb(33, 33, 33); z-index: 1000;">

    change visibility: visible; to visibility: hidden; & display: block; to display: none; or you can open the main website css file and type this code #ad-wrapper{display:none !important; visibility: hidden !important;}

    with this all of the divs inside the id="ad-wrapper" will be hidden from your site


    Enjoy

    follow me on google plus plus.google.com/u/0/108531369686128566739/
  4. #3
  5. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Apr 2013
    Posts
    2
    Rep Power
    0

    The another problem


    Thanks!

    I think it helped! =)

    I have another problem.

    Hot to get rid of this advertising "div"?

    The problem is this "div":

    <div style="width: 100%; text-align: center; margin: 5px 0 5px 0;">
    <a href="" target="_blank"><img src="" /></a>
    </div><div id="hallinta"><a rel="nofollow" href="/wp-admin/"></a></div>
    <div id="page">

    and my solution css code is:

    div[style="width: 100%; text-align: center; margin: 5px 0 5px 0;"] {
    display:none;
    }

    This code works in Opera, Crome, Firefox, but did not in IE??

    Is there another way to get rid of this advertising div??

    Thanks for your helping!

    - Kahvin

IMN logo majestic logo threadwatch logo seochat tools logo