Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #341459

    I have another Enfold client – an easy sell. Love the latest updates.

    I’ve set a left sidebar logo/nav and created a header image above main content with an image for the tagline. I can easily set this as a template for all pages, but realized I need it to show on all posts too. Can you please tell me the best way to add this to all content? You’ll see it’s where it says “…it’s all about the color.”

    One other question, I need to reduce the width of the left sidebar, which I did with this CSS:
    .html_header_sidebar #top #header {
    max-width: 250px !important;
    }
    .html_header_left #main {
    margin-left: 250px !important;
    }
    But that screws up the mobile layout.

    Thank you all again for your assistance!

    #341972

    Hey LAHWebDesigns!

    Thank you for using Enfold.

    Please switch your advance layout builder to debug mode. Edit function.php, find this code:

    if(isset($avia_config['use_child_theme_functions_only'])) return;
    

    Below, add this code:

    //set builder mode to debug
    add_action('avia_builder_mode', "builder_set_debug");
    function builder_set_debug()
    {
    return "debug";
    }

    You will see the actual shortcode below the editor. Copy it then use the do_shortcode function on all template files. Unfortunately, we won’t be able to help you with that.

    Please use this to fix the sidebar on mobile:

    @media only screen and (min-width: 989px) {
    .html_header_sidebar #top #header {
    max-width: 250px !important;
    }
    .html_header_left #main {
    margin-left: 250px !important;
    }
    }

    Best regards,
    Ismael

    #342849

    Ismael,

    Thank you very much for your assistance, totally understand you can’t provide more info. What you gave me was perfect! FYI, because I used a color section (full width) on the sample page, I can’t use it on posts so I figured a workaround to fit the header image in the content area with the help you gave me.

    Thank you as always for the support and best theme ever!

Viewing 3 posts - 1 through 3 (of 3 total)
  • The topic ‘Add main header with Left Sidebar Logo’ is closed to new replies.