Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #1316569

    Is there a way to have a default first block for all blog posts with transparent header.

    #1316824

    Hey marladesign,
    Thank you for your patience, there is not a default setting for setting the header for all blog posts, you will need to set each one as you create the post with the Header visibility and transparency option.
    2021-08-15_006.jpg

    Best regards,
    Mike

    #1316926

    Thats a bit of a nightmare to be honest, 300 odd posts. is there a hook I can use to add a code block to the start of the post or is editing the theme files the best approach.

    #1316942

    Hi,
    Why would you want to add a code block to the start of each post, this would not change the header to transparency.
    Perhaps I’m not fully understanding, please try to fully explain what you are trying to do with examples, links and screenshots.

    Best regards,
    Mike

    #1316986

    I want to use a transparent header like the page in the link in the private content.

    Is there a way to apply this to all archive pages etc. with a fallback image / section that the menu sits on top of?

    #1316993

    The last one may not have cleared it up for you, the theme is being applied to an existing site that has 70 odd case studies and 230 blog posts.

    I want to apply a transparent header to all of these pages with an image like the one in that link without having to go in and update the 300 pages manually.

    Most other teams I work with that give you the option of a transparent header, do so in the theme page where you set a default background image, which can usually be overridden on individual pages.

    #1317266

    Hi,

    Thank you for the update.

    The avf_header_setting_filter filter should help if you want to enable the transparent header option for posts without editing them manually. Usage example can be found in the following threads.

    // https://kriesi.at/support/topic/transparent-header-on-woocommerce-product-page/#post-1224884
    // https://kriesi.at/support/topic/change-theme-options-on-a-per-page-basis/#post-1286821
    // https://kriesi.at/support/topic/header-visibility-and-transparency/#post-1227925

    You have to adjust the header_transparency and the header_class parameters.

    $header['header_transparency'] = 'header_transparency';
    $header['header_class'] .= " av_header_transparency";
    

    But if you want to add new sections or elements under the header, then you would have to modify the template files directly, or use hooks such as ava_after_main_container or ava_after_main_title.

    Best regards,
    Ismael

Viewing 7 posts - 1 through 7 (of 7 total)
  • You must be logged in to reply to this topic.