• Resolved mikeadamski26

    (@madamski)


    Ever since I recently updated to the latest version of this theme, my header ad (which I use as a banner) no longer appears. What’s odd is that I can see it in IE and Chrome, but not on Firefox. Others cannot see it anywhere.

    I have NO CLUE how to go about getting this to appear consistently.

    Here is a screenshot of it working in IE, but if you check the same site in Firefox, it doesn’t appear.
    https://screencast.com/t/8M8rCyhLABJ

    https://www.simsportsglobal.com

Viewing 15 replies - 1 through 15 (of 19 total)
  • Thread Starter mikeadamski26

    (@madamski)

    Anyone? This is still happening!

    Thread Starter mikeadamski26

    (@madamski)

    Please? Still searching for a solution.

    Thread Starter mikeadamski26

    (@madamski)

    Following up again. Great theme, but something is obviously going on that this is only visible in some browsers and not others.

    Can someone please help me out?

    Thread Starter mikeadamski26

    (@madamski)

    Yep…problem still exists.

    @madamski- We have tested your site both on firefox and chrome and there is no issue. Which version of firefox are you using?
    I have attached the screenshots of both the browsers. Have a look at them and can you distinguish which one is taken from firefox and from chrome?

    1. Screenshot 1
    2. Screenshot 2

    Let us know if you have any further queries.
    Regards!!

    I also see it on all browsers, operating properly, you will definitely clear your browser cache

    Thread Starter mikeadamski26

    (@madamski)

    Thanks guys. When I clear my cache in Firefox, I still cannot see it?

    dumb question but does firefox have adblock running currently

    My Website

    Thread Starter mikeadamski26

    (@madamski)

    That could be something–let me look into it. If that’s the issue, is there a way for me to edit this template so that it doesn’t appear as an ad to adblock? For instance, is it a case of changing any sort of “advertise” wording to something else like “banner”?

    Thank you!

    Thread Starter mikeadamski26

    (@madamski)

    Yep, that was it! Now I’d love to hear if anyone has any ideas as to how to get this to not be recognized as an ad.

    Thanks!

    Hello @madamski

    In you main theme’s folder you will find header.php file. In this file you will find below block of code:

    <div class="header-ads f-right">
        <?php echo $settings['header_ads']; ?>
    </div>

    In above block of code class=”header-ads f-right” part is responsible for letting adblock to know it as an ad.
    Now if you change the above line class=”header-ads f-right” to class=”header f-right” it works all fine.
    So I hope this made you little bit clear about the issue.
    Further if you don’t want adblock to recognize it as an ad you need to edit code as explained above in header.php file.
    Note: You need to create and customize the files in child theme so that your changes still appears on theme updates.Reference here for child theme.

    Best Regards!!

    Thread Starter mikeadamski26

    (@madamski)

    Thanks for this! This fixed the ad at the top (header), but which .php file would I need to edit to remove that middle one picture here?

    https://screencast.com/t/gBkwE8eOa7A

    I tried in a few spots, such as Front Page, Styles, Index.

    You can find it in “\front-page.php” line 422 <div class="mid-section-ads">

    Thread Starter mikeadamski26

    (@madamski)

    I edited that part to be as follows, but that one middle ad is still NOT showing up with the ad blocker turned on.

    <?php if( !empty( $profitmag_settings[‘mid_section_ads’] ) && $profitmag_settings[‘mid_section_ads’] != ” ): ?>
    <div class=”mid-section”>
    <?php echo $profitmag_settings[‘mid_section_ads’]; ?>
    </div>
    <?php else: ?>
    <div class=”mid-section”>
    <img src=”<?php echo get_template_directory_uri().’/images/demo/analog-camera-photography-rolleicord-3832.jpg’ ?>”/>
    </div>
    <?php endif; ?>

    Hello @madamski

    In your previous reply just above the latest one you said:

    Thanks for this! This fixed the ad at the top (header), but which .php file would I need to edit to remove that middle one picture here?

    And after that your reply was:

    I edited that part to be as follows, but that one middle ad is still NOT showing up with the ad blocker turned on.

    So, I am a bit confused by you issue. Do you want to display or hide that middle ad section. Please elaborate your issue in more details.

    Best Regards!!!

Viewing 15 replies - 1 through 15 (of 19 total)
  • The topic ‘Header Ad Not Visible in Some Browsers?’ is closed to new replies.