• Resolved Martonno

    (@martonno)


    When AdBlock (Chrome plug-in) with Anti-Social filtering is enabled, it sets the social-block to “display:none” which causes the copyright notice being shown on the left instead of being centered while min-width > 768px.

    Right now, i set the social-block to be not shown and set a margin to .span4.credits as a dirty workaround while im not using the social icons yet:

    .span4.social-block.pull-left{
    display: none;
    }
    
    @media (min-width: 768px){
    .span4.credits {
      margin-left: 31.91489362% !important; /* default width of .span4.social-block.pull-left set as margin to center credits */
    }
    }

    Is there a better solution to fix the problem? Maybe renaming the social-block to something that is not filtered (how?), or applying a different layout approach that doesn’t rely on the social-block being shown?

Viewing 3 replies - 1 through 3 (of 3 total)
  • The adblock hides the .social-block ?
    If it hides the social block why do you use this:

    .span4.social-block.pull-left{
    display: none;
    }

    ?
    Isn’t hidden by the plugin?

    So you can show it anyway, instead, this way:

    .span4.social-block.pull-left {
      display: block !important;
    }

    this will display the block (with its width) while the socials will be still hidden

    Thread Starter Martonno

    (@martonno)

    Thanks d4z_c0nf

    .span4.social-block.pull-left {
      display: block !important;
    }

    works perfectly.

    BTW AdBlock hides the back-to-top link as well, so i added “display: block !important” to it as well.

    a.back-to-top {
      display: block !important;
    }
    @media (min-width: 768px){
    .span4.social-block.pull-left {
      display: block !important;
    }
    }

    Everything fine now with AdBlock dis/enabled.

    I was hiding it for all users to make sure that adblock doesn’t mess up the layout. Like i said: dirty workaround.

    Ah I understand,
    well weird it hides back-to-top link.. mah

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘AdBlock issue’ is closed to new replies.