• Resolved belyvolk

    (@belyvolk)


    Hello! I really like this theme. I use the plugin Yoast Seo. And I would like to use Breadcrumb from Yoast Seo. Please add support for breadcrumbs from Yoast Seo in theme. Or tell me how to do it.
    And one more question. When the menu is large, it is transferred to the next row. But the black background is not increased. And the second row is not visible. How can I fix it? How to make a black background on all the great menu?

    Thank you very much, I hope for your help
    Sorry if that is not clear, my English is very bad.

Viewing 14 replies - 1 through 14 (of 14 total)
  • Theme Author Shaped Pixels

    (@shaped-pixels)

    Thank you for your comment about my theme. Regarding the yoast breadcrumbs, it’s best to follow their documentation, but the this theme does have a breadcrumbs sidebar position so that if your breadcrumbs has a shortcode available, you can put that into a text widget and publish it to the breadcrumbs sidebar position.

    Regarding the menu question. This theme wasn’t really created for large menus, but do you have a link to your site and I will take a look. Perhaps I might be able to give you a quick solution.

    Thread Starter belyvolk

    (@belyvolk)

    In the documentation Yoast is written that need to copy the following code into theme.

    <?php
    if ( function_exists('yoast_breadcrumb') ) {
    yoast_breadcrumb('
    <p id="breadcrumbs">','</p>
    ');
    }
    ?>

    I tried to insert code in the text widget. It did not help and did not work. Maybe this code may be inserted into the theme file?

    The site is now being developed. I’m moving a site on WordPress. Here’s the address https://shainurau.com/new/
    Two menu items do not fit When reducing the window

    Theme Author Shaped Pixels

    (@shaped-pixels)

    That is actually a bad way to do it as it requires you to modify a theme file directly. To modify a theme file, it means you will need to create a child theme and then edit the header.php file in the child theme.

    What I would recommend that you post a request in their support to find out if there’s a shortcode method you can use instead. That way you can do the method I mentioned.

    NavXT breadcrumbs plugin can be used as they have a shortcode, the code, and also a widget for their breadcrumbs. 3 choices.

    Thread Starter belyvolk

    (@belyvolk)

    Good idea, thank you, I will try to contact the plugin support. If it does not I will use NavXT breadcrumbs.

    And the second question, the menu. You can me something to advise?

    Theme Author Shaped Pixels

    (@shaped-pixels)

    You are very welcome.

    The menu? You create that from the Admin screen in the WordPress admin area.
    https://codex.www.ads-software.com/WordPress_Menu_User_Guide

    Thread Starter belyvolk

    (@belyvolk)

    The menu is not placed in a row if decrease the browser window. The picture shows:
    menu
    It’s not scary, just wanted to make better

    Theme Author Shaped Pixels

    (@shaped-pixels)

    Thanks for the screenshot…now I see what you mean. this is a result of the header having a fixed height, but long menus like that will do what you are showing. This is the theme code that is doing that:

    @media (min-width: 66em) {
    #site-branding, #site-navigation, #social-navigation, #header-sidebar {
        height: 75px;
        padding: 0 3%;
    }
    }

    What you can probably do, although not sure if you will like how it looks, but you can add this code to the Additional CSS tab in the customizer:

    
    @media (min-width: 66em) {
    #site-branding, #site-navigation, #social-navigation, #header-sidebar {
        height: auto;
    }
    }

    By the way, I did a search to see if I can see your site and the menu problem but I am guessing you have your site on another location for development. Anyway, I found your artwork…it’s amazing art!

    Thread Starter belyvolk

    (@belyvolk)

    Many thanks! Your code does work. It helped so much better.
    You’re right, my site on another location for development https://shainurau.com/new/
    Many, many thanks! Thank you for such nice words about my artwork. I am very pleased.

    One more question. If a blog do not show Round Post Date is empty space displayed. What code I can use to fix it?

    Theme Author Shaped Pixels

    (@shaped-pixels)

    Glad you showed me that screenshot. When you disable the round style date, it should collapse that space. I will need to fix that and upload an update.

    If you want to change that right now, you can do this custom CSS

    .single .entry-header {
        padding-left: 0;
    }
    Thread Starter belyvolk

    (@belyvolk)

    Excellent, I’ll wait for the update

    Theme Author Shaped Pixels

    (@shaped-pixels)

    I’ve just uploaded version 1.0.7 which fixes that empty space when no round style date is disabled. I also found that the pro version also did the same issue, so thank you for letting me know about that. Give an hour or so, for the WordPress site to update the theme version. You will get update notification in your admin.

    Thread Starter belyvolk

    (@belyvolk)

    Many thanks! I updated theme.

    Last question. Sidebar Positions (content top, content bottom) no, when is open the blog post. That is how it should be?
    Thanks again

    Theme Author Shaped Pixels

    (@shaped-pixels)

    Not quite sure what you are asking….my guess is that the top and bottom content sidebars don’t show on the full post? If so, correct, I designed it that way.

    You can create a child theme and add them if you need them. If so, copy the single.php file into your child theme then right after this:

    <div id="primary" class="content-area container">

    …add this:

    <?php get_sidebar( 'content-top' ); ?>

    Then, before the last </div> at the bottom of the file:

    </div>
    <?php
    get_footer();

    …add this:

    <?php get_sidebar( 'content-bottom' ); ?>

    Thread Starter belyvolk

    (@belyvolk)

    That’s what I was asking. Thanks for the answer.

Viewing 14 replies - 1 through 14 (of 14 total)
  • The topic ‘Breadcrumb from Yoast Seo and menu’ is closed to new replies.