Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1328917
    thefloridaseo
    Participant

    Hello!

    I’m looking to add a bit of text to my top bar; after multiple attempts I’ve failed miserably. I cant quite get the font size or color to change.
    white text – with it as large as possible without it seeming out of place. My url is
    http://thefloridaseo.com

    I would reuqire it to align on the right side of the topbar instead of the social icons and preferably as follows:
    (Phone Icon) 222 222 2222

    #1329142
    Nabeel A
    Moderator

    Hi there,

    Thanks for writing in! Upon checking your Topbar content I see pretty quotes in your classes, please remove it or replace your code with this code:

    <span class="alignleft">Email:</span>
    <span class="alignright">[email protected]</span>

    For the Phone number add the following code in your Topbar:

    <span class="right number"><i class="fa fa-phone"></i>222 222 2222</span>

    Then add the following code in your Child Theme’s style.css file:

    .x-topbar .x-social-global {
        display: none !important;
    }
    .x-topbar .p-info {
        color: #fff !important;
        width: 100% !important;
    }
    .fa-phone {
        display: inline-block;
        font: normal normal normal 14px/1 FontAwesome;
        font-size: inherit;
        text-rendering: auto;
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
    }
    .fa-phone:before {
        content: "\f095";
        margin-right: 5px;
    }

    Let us know how this goes!

    #1329491
    thefloridaseo
    Participant

    Thank you!

    How do I change the font color and size for the email on the top bar? I would like to change it to white and have it as close to the size of my main menu text(Home,About,COntact Us..etc)

    #1329492
    thefloridaseo
    Participant

    Also, it appears that added a large gap in between Email and my actual email address

    #1329648
    Christopher
    Moderator

    Hi there,

    Please enable topbar so we can help you with customization.

    Thanks.

    #1332885
    thefloridaseo
    Participant

    Hello!
    I’ve just enabled the topbar, however upon doing so I’ve noticed ScreamingFrog keeps throwing a duplicate h1 notification. It appears as though the navbar is an h1 “The Florida SEO” is reading.
    Is there any possible way to receive help? I haven’t the slightest clue about PHP or HTML, and Upworkers want way too much money to do simple fixes such as this. After running a test with a page where I removed the navbar, I realized that the navbar was the reason for this error.

    I understand these are 2 separate issues, however, I’d be willing to lose the possibility of having my topbar how I want it in exchange for the h1 tag being disassociated with my navbar.

    Any help would be sososoo appreciated as 2 of my very low competition keywords got dropped off of google, and I presume this is the reason.

    Thanks in advance, you guys truly have the best customer support/web dev support around.

    #1333228
    Paul R
    Moderator

    Hi,

    To remove h1, please install and activate a child theme

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

    Then create file _brand.php in wp-content/themes/x-child/framework/views/global using ftp
    and copy the code below into that file

    
    <?php
    
    // =============================================================================
    // VIEWS/GLOBAL/_BRAND.PHP
    // -----------------------------------------------------------------------------
    // Outputs the brand.
    // =============================================================================
    
    $site_name        = get_bloginfo( 'name' );
    $site_description = get_bloginfo( 'description' );
    $logo             = x_make_protocol_relative( x_get_option( 'x_logo' ) );
    $site_logo        = '<img alt="My Logo" src="' . $logo . '" alt="' . $site_description . '">';
    
    ?>
    
    <?php echo '<h2 class="visually-hidden">' . $site_name . '</h2>'; ?>
    
    <a href="<?php echo home_url( '/' ); ?>" class="<?php x_brand_class(); ?>" title="<?php echo $site_description; ?>">
      <?php echo ( $logo == '' ) ? $site_name : $site_logo; ?>
    </a>
    

    Hope that helps.

    #1334274
    thefloridaseo
    Participant
    This reply has been marked as private.
    #1334603
    Paul R
    Moderator

    Hi,

    Would you mind providing us with login credentials so we can take a closer look? To do this, you can make a post with the following info:

    – Link to your site
    – WordPress Admin username / password
    – FTP credentials

    Don’t forget to select Set as private reply. This ensures your information is only visible to our staff.

    #1335316
    thefloridaseo
    Participant
    This reply has been marked as private.
    #1335668
    Friech
    Moderator

    Hi There,

    Thank you, I did go ahead and upload the child theme and added the file suggested by Paul’s above.

    Now you just need to activate that child theme.

    Hope it helps, Cheers!

    #1335699
    thefloridaseo
    Participant

    Thank you very much!

    Quick question, Will that delete/change any of the pre-existing data on my website?

    #1335837
    Jade
    Moderator

    Hi there,

    Activating the child theme should leave the settings of the parent theme as is.

    But kindly create a full backup before you change anything to make sure.

    Hope this helps.

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