[Resolved] Page Hero Image and Text

Home Forums Support [Resolved] Page Hero Image and Text

Home Forums Support Page Hero Image and Text

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #1447320
    Lee

    Hello there,

    I’ve created a page hero using the following code

    <h1>CARDIFF GUITAR LESSONS</h1>
    <h2>Professional Guitar Lessons in Cardiff</h2>

    Is there a way to make the space in between the h1 text and h2 text (as displayed on the website) smaller?

    Also, I’m using as an image set in the Featured Image on the page editor, but the whole image isn’t showing? Only a cropped version (cropped from the bottom it seems). Could you please help me display the image in full.

    Many thanks,

    Lee.

    #1447324
    Leo
    Staff
    Customer Support

    Hi there,

    Any chance you can link us to the site in question?

    You can use the private information field.

    Let me know πŸ™‚

    #1447327
    Lee

    Of Course

    #1447371
    Leo
    Staff
    Customer Support

    For the <h1> spacing, try reducing the margin-bottom for in Customizer > Typography > Headings > H1.

    As for the image size, when it’s used as the background image, the size is controlled by the top and bottom paddings:
    https://docs.generatepress.com/article/how-to-create-a-page-hero/#step-4-set-the-height

    I would recommend re-sizing the image which is currently at 6000 by 4200 which is too big.

    Something with the width of 2000px should do.

    Let me know if this helps πŸ™‚

    #1447422
    Lee

    Thanks Leo.

    Could I resize the image within the theme? Or would I need to do it in photoshop, and re-upload etc?

    #1447473
    Leo
    Staff
    Customer Support

    The media library is handled by WordPress so you can try editing it that way:
    https://wordpress.org/support/article/edit-media/

    Personally I always try to edit with Photoshop whenever I can πŸ™‚

    #1448263
    Lee

    Thank you.

    #1448907
    Leo
    Staff
    Customer Support

    No problem πŸ™‚

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