Site logo

[Resolved] Reduce spacing on mobile view

Home Forums Support [Resolved] Reduce spacing on mobile view

Home Forums Support Reduce spacing on mobile view

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #2458897
    Damon

    Hello.

    I would really appreciate if someone could help me.
    I want to reduce spacing on mobile view on my custom header between .inside-page-hero h1 and .site-content
    I’d also want to see the dogs in the background image on mobile view.

    Kind regards
    Damon

    #2459181
    David
    Staff
    Customer Support

    Hi there,

    if you edit the Header Element in Appearance > Element, on the Page Hero Tab you can change the Bottom padding value, there is an option to change it specifically for mobile by clicking its icon:

    https://docs.generatepress.com/article/header-element-overview/#page-hero

    For the background image, that is has been set in Customizer > Backgrounds > Body.
    You can change the image positioning and by adding these properties:

    
    background-position: center top;
    background-repeat: no-repeat;
    background-size: cover;
    #2459428
    Damon

    Thank you David.
    I had never noticed the mobile icon on Elements – Good to know.
    Kind regards
    Damon

    #2459467
    David
    Staff
    Customer Support

    You’re welcome

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