Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1187006
    thatcreativeguy
    Participant

    Question: I want to place the top banner ad inside the white space on top of the navigational buttons (with good spacing of course). Is that possible? Here is the code:

    ?>

    <?php x_get_view( ‘global’, ‘_header’ ); ?>

    <?php x_get_view( ‘global’, ‘_slider-above’ ); ?>

    <header class=”<?php x_masthead_class(); ?>” role=”banner”>
    <?php x_get_view( ‘global’, ‘_topbar’ ); ?>
    <?php echo do_shortcode (‘[bsa_pro_ad_space id=4]’); ?>

    <?php x_get_view ( ‘global’, ‘_navbar’); ?>

    </header>

    <?php x_get_view( ‘global’, ‘_slider-below’ ); ?>
    <?php x_get_view( ‘renew’, ‘_landmark-header’ ); ?>

    Check out the web page to see what I am talking about – http://ffh.that-creativeguy.com

    #1187016
    thatcreativeguy
    Participant
    This reply has been marked as private.
    #1187023
    thatcreativeguy
    Participant
    This reply has been marked as private.
    #1187362
    Friech
    Moderator

    Hi There,

    Thanks for writing in and for the credentials, but it seems your code works?


    screenshot

    Would you mind to clarify the issue?

    #1187397
    thatcreativeguy
    Participant
    This reply has been marked as private.
    #1187506
    Paul R
    Moderator

    Hi,

    You have to add the code in global/_nav-primary instead of renew/wp-header.php

    I went ahead and move it to the correct file.

    We also recommend that you install and activate a child theme then move your customization to your child theme instead of directly editing the core file. It will get overwritten on theme update.

    https://community.theme.co/kb/how-to-setup-child-themes/
    https://community.theme.co/kb/customization-best-practices/

    Hope that helps.

    #1187806
    thatcreativeguy
    Participant
    This reply has been marked as private.
    #1187929
    Paul R
    Moderator

    Hi,

    You can add this under Custom > Edit Global CSS in the Customizer.

    
    @media (max-width: 979px) {
    .x-navbar .bsaProContainer {
          position:static;
        margin: 0 auto;
        max-width: 468px;
    }
    
    .x-navbar {
        text-align:center;
    }
    
    .x-brand { 
        float:none;
        margin-bottom:10px;
    }
    
    .masthead-inline .x-btn-navbar {
        display: inline-block;
        float: none;
        margin-bottom: 20px;
    }
    }
    

    with regards to your second query, I am not sure what code you are referring to. Do you mind providing us a little more clarification.

    Thanks

    #1188099
    thatcreativeguy
    Participant
    This reply has been marked as private.
    #1188154
    Joao
    Moderator

    Glad to hear it,

    Joao

  • <script> jQuery(function($){ $("#no-reply-1187006 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>