Viewing 14 posts - 1 through 14 (of 14 total)
  • Author
    Posts
  • #1233197

    Hallo,
    i have added the breadcrum as short code in a colored layout element to have the whole line in color. All works fine except the bottom height. The breadcrumb line should be 30px height but it seems that the layout element can not be adjusted in height .. do you have any idea?

    #1233285

    Hey Sebastian,

    Please add this CSS code in Quick CSS, located in Enfold > General Styling:

    #breadcrumbrow {
        min-height: 50px !important;
    }

    You can change the minimum height to lower value but since I noticed you have top and bottom padding of 10px, the overall height should be atleast 50px.

    Best regards,
    Nikko

    #1233326

    Cool, thx, that works fine

    #1233367

    Hi xeovision,

    Glad we could help :)

    If you need further assistance please let us know.
    Best regards,
    Victoria

    #1233990

    One more issue appears with the breadcrumb.. it works fine but when i click on the single post the breadcrumb shortcode dissapear. It seems that singe post page is generated ..how can i add the breadcrum below the image like in the overview page?

    #1234332

    Hi xeovision,

    I can’t find a single post on your site (could not find from the main menu) but I think the reason the shortcode is not appearing is if it isn’t added in the single post, it doesn’t take the overview page’s style by default :(

    Best regards,
    Nikko

    #1234337

    Hi .. yes, now, i have added some news.
    Is it possible to add the breadcrum in the function.php where the large header image is placed?
    I mean add some additional code ?

    #1234625

    Hi xeovision,

    It’s possible to add the breadcrumbs but not in functions.php instead in single.php (this will affect all single posts and custom post types) or single-post.php file.

    Best regards,
    Nikko

    #1234768

    Ok, understand but what to add? I think i need the php line right?
    ..and in which line?

    #1235117

    Hi xeovision,

    I have checked your site again and noticed that the large header image in your single post page that is wrapped in a div with a class of single-header-image is custom made and not part of the Enfold theme. I think you can just put the shortcode below it or if it’s in a php format then you can use do_shortcode() to run it.

    To get the shortcode for that entire breadcrumb row you have, you can enable ALB Debugger https://kriesi.at/documentation/enfold/intro-to-layout-builder/#debug-mode then a textarea will appear below your content (in the backend) which contains the shortcodes used to render that breadcrumb section.

    I hope this helps, if you need further assistance please let us know.

    Best regards,
    Nikko

    #1235255

    With the debug modus i cann see the shortcodes of the page but that does not help ..
    This is the function code for the image .. can i add here the beadcrum function like this?
    But it should be something that generate the breadcrumb

    function add_custom_header_image() {
    if ( is_single() || is_archive() ) { ?>
    <div class=”single-header-image”>/wp-content/uploads/2020/07/area.jpg”></div>
    <div>[av_breadcrumbs]</div>
    <?php }
    }
    add_action( ‘ava_after_main_title’, ‘add_custom_header_image’, 10 );

    #1235281

    Hi xeovision,

    Thanks for sharing the code.
    Please do it like this in the breadcrumbs part:

    <div><?php echo do_shortcode('[av_breadcrumbs]'); ?></div>

    However I suggest you include the section as well in the shortcode.

    Best regards,
    Nikko

    • This reply was modified 4 years, 3 months ago by Nikko. Reason: code correction
    #1235358

    Got it.. thanks .. works as expected.
    Line working with closing “)” :)

    #1235459

    Hi xeovision,

    Thanks for that, I have corrected the code above :)
    We’re glad to hear that it’s working now.
    Thanks for using Enfold and have a great day!

    Best regards,
    Nikko

Viewing 14 posts - 1 through 14 (of 14 total)
  • The topic ‘Height of Breadcrumb in Element’ is closed to new replies.