Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1077576
    clumi
    Participant

    Thanks, but it didn’t works 🙁

    1. I pasted the php file and the css as you recommended me, but nothing happened. Is another setting I have to do to appear social icons on navbar, near search button?

    2. Disabling the filterable index as you recommended me, changes blog page, not home page. I tried it, and Homepage remained blank.
    What I have to do for appearing latest posts / any posts on my Homepage?

    http://www.luminitaciobanu.ro, credentials are in a private message on post #1071922.

    #1077729
    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:

    – FTP Host
    – FTP Username
    – FTP Password

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

    #1082721
    clumi
    Participant
    This reply has been marked as private.
    #1083023
    Christopher
    Moderator

    Hi there,

    #1 Please update your code in _nav-primary.php file to :

    <?php
    
    // =============================================================================
    // VIEWS/GLOBAL/_NAV-PRIMARY.PHP
    // -----------------------------------------------------------------------------
    // Outputs the primary nav.
    // =============================================================================
    	
    if( function_exists( 'ubermenu' ) && $config_id = ubermenu_get_menu_instance_by_theme_location( 'primary' ) ):
    	ubermenu( $config_id, array( 'theme_location' => 'primary') ); 
     else: ?>
     
    <a href="#" class="x-btn-navbar collapsed" data-toggle="collapse" data-target=".x-nav-wrap.mobile">
      <i class="x-icon-bars" data-x-icon=""></i>
      <span class="visually-hidden"><?php _e( 'Navigation', '__x__' ); ?></span>
    </a>
    
    <nav class="x-nav-wrap desktop" role="navigation">
      <?php x_output_primary_navigation(); ?>
    <!-- The social icon here -->
    	<?php x_social_global(); ?>
    </nav>
    
    <div class="x-nav-wrap mobile collapse">
      <?php x_output_primary_navigation(); ?>
    </div>
    <div class="cs-hide-lg"><?php x_social_global(); ?></div>
    
    <?php endif; ?>

    #2 Home page is not blog page, so it won’t display posts. If you want home page to be your blog page, please select Your latest posts under Settings -> Reading.

    hope it helps.

    #1102204
    clumi
    Participant

    Hi!
    1. I copied the code in the _nav-primary.php (in child-theme) as you recommended me. Also I copied the custom Css as I saw in the #203922 post. And now I have 2 sets of social icons instead of one 🙁 I don’t understand why.

    2. I set latest post for Frontpage but why do I have 2 sliders on Homepage?

    wwww.luminitaciobanu.ro Credentials for my website are in private messages (FTP #1082721, WP-ADMIN #1071922)

    Thank you for your help!

    #1102889
    Friech
    Moderator

    Hi There,

    I did go ahead and resolve the duplicate social icons and post slider issue.

    Do you need the social icons as part of the menu? Then add the icon as as Custom Link. You can follow this post: https://community.theme.co/forums/topic/using-font-awesome-icons-in-the-navigation-menu/ on how to do that. You should get a menu that is something like this:


    screenshot

    Thanks.

    #1103779
    clumi
    Participant

    Thank you for your help.
    Yes, I need social icons as part of the menu (like the above example you give me, in the right part of menu, near search button) I tried to do that topic recommendation, but it’s not very clear for me where I have to put that code <i class=”x-icon x-icon-heart” data-x-icon=”” ></i>
    I tried to add it in x-child/functions.php but it gives me a huge error 🙁

    wwww.luminitaciobanu.ro Credentials for my website are in private messages (FTP #1082721, WP-ADMIN #1071922)

    #1104242
    Friech
    Moderator

    Hi There,

    No, you don’t need a custom function for that. Please navigate to Appearance > Menus, then add a custom links to your menu where the Link Text is the line of code provided.


    screenshot

    I did go ahead and added the facebook icon for your reference. Just update the URL to your actual facebook page URL.

    for twitter:
    <i class="x-icon" data-x-icon="&#xf081;" ></i>

    for google+:
    <i class="x-icon" data-x-icon="&#xf0d4;" ></i>

    Add this custom CSS on Customizer to adjust the icon size.

    #menu-item-1280 a {
    	    font-size: 1.2em;
    }

    Hope it helps, Cheers!

    #1105383
    clumi
    Participant

    Thank you! You helped me a lot!
    Now my blog looks well and I can add content 🙂
    I will come back here with another topics, because I want to learn more about what this theme can do.
    Thank you for all your support!

    #1105452
    Joao
    Moderator

    Hi There.

    Glad to hear it,

    Let us know if you have any questions,

    Joao

    #1105778
    clumi
    Participant

    One more little question, please:
    I don’t know how can I change css settings to have the space between paragraphs (normal paragraphs / bullets paragraphs / number list paragraphs) as short as the space between the lines. Now, the space between paragraphs are larger than the space between lines.
    Thanks
    wwww.luminitaciobanu.ro Credentials for my website are in private messages (FTP #1082721, WP-ADMIN #1071922)

    #1105808
    Joao
    Moderator

    Hi There,

    Would mind clarifying and if possible provide a screenshot of the issue?

    Thanks

    Joao

    #1107557
    clumi
    Participant

    You can see on this article http://luminitaciobanu.ro/puterea-introvertitilor-intr-o-lume-asurzitoare/ that space before paragraphs are higher than space before line.
    I’ve attached 2 snapshots.
    How to modify on css this space?
    Thanks

    wwww.luminitaciobanu.ro Credentials for my website are in private messages (FTP #1082721, WP-ADMIN #1071922)

    #1108038
    Lely
    Moderator

    Hi There,

    Unfortunately, I can’t find the text on your second screenshot. The space between paragraphs are 2.15em by default. Please try adding this custom CSS on Appearance > Customize > Custom > Edit Global CSS if you want it to adjust:

    .single-post .entry-content p {
        margin-bottom: .5em; /*Adjust this accordingly*/ 
    }

    Hope this helps.

    #1112395
    clumi
    Participant

    Thanks, it works!

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