[Support request] How to create Blog Page Header image and display it in single posts and wc

Home Forums Support [Support request] How to create Blog Page Header image and display it in single posts and wc

Home Forums Support How to create Blog Page Header image and display it in single posts and wc

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #326110
    Simon

    Hi Tom,

    I have a question about Blog Page Header Image.

    Currently my header image says “BLOG”, but one problem with that is the SIZE of the font.

    How do I change the font size for that?

    Secondly, how do I show the same header on single posts?

    Lastly, can I create a specific Header Image for Woo Shop, Single Product, and Checkout Page?

    Cheers,
    Simon

    #326156
    Leo
    Staff
    Customer Support

    Hi there,

    1. I assume you entered the text blog in the page header content? If so you can wrap it in span and give it some styles:
    <span style="font-size: 20px">BLOG</span>

    2. This should help: https://docs.generatepress.com/article/blog-page-header/#displaying-the-blog-page-header-elsewhere

    You need the is_single selector for single posts: https://codex.wordpress.org/Conditional_Tags#A_Single_Post_Page

    3. I think currently you have to use GP hooks for that. Will ask Tom to confirm.

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