[Resolved] Header image and margin in moble version

Home Forums Support [Resolved] Header image and margin in moble version

Home Forums Support Header image and margin in moble version

  • This topic has 16 replies, 2 voices, and was last updated 4 years ago by rafel jesus.
Viewing 15 posts - 1 through 15 (of 17 total)
  • Author
    Posts
  • #1219162
    rafel jesus

    Hi there.
    I have sought to support how to have a margin (with Elements) in the blog in the mobile version and how not to show the picture in the mobile version as well.
    Thanks
    https://www.screencast.com/t/CFdy67gOAoT

    #1219774
    Leo
    Staff
    Customer Support

    Hi there,

    Can you guide me to the page in question?

    The home page seems alright.

    #1219789
    rafel jesus
    #1219900
    Leo
    Staff
    Customer Support

    Any chance you can disable the caching plugin so I can take a closer look of the source?

    Please make sure to do this every time a topic is opened.

    Thanks 🙂

    #1219955
    rafel jesus

    Hi
    Do it.
    Thanks

    #1219966
    Leo
    Staff
    Customer Support

    Looks like you are using the contained option in the page builder container metabox which removes the default padding the customizer:
    https://docs.generatepress.com/article/page-builder-container/

    If you use the Default option, then the content padding set in the customizer should apply:
    https://docs.generatepress.com/article/content-padding/

    #1220463
    rafel jesus

    Hi Leo.
    I resolved the margin text in mobile version, thanks a lot for your help, but now I would like to resolve that in the mobile version, that you don’t see the image, and I would have a little margin at the top and bottom. Can I do it with Elements?

    Thanks

    #1221075
    Leo
    Staff
    Customer Support

    Sorry which element are you referring to?

    I do see the image in mobile as well?
    https://www.screencast.com/t/BdRN1obB

    #1221093
    rafel jesus

    Hi Leo.
    My question is, how not to show the image in mobile version?
    Thanks

    #1221348
    Leo
    Staff
    Customer Support

    Do you want to hide the entire header element on mobile or want to remove the background image?

    #1221364
    rafel jesus

    Hi.
    Only The background I would the menu header.
    Thanks

    #1221407
    Leo
    Staff
    Customer Support

    Try this CSS:

    @media (max-width: 768px) {
        .blog .page-hero {
            background-image: none;
        }
        .blog .page-hero h1 {
            color: #000000;
        }
    }
    #1221692
    rafel jesus

    Hi Leo.
    Perfect, that is in the general blog but in the post, Thanks

    #1222471
    Leo
    Staff
    Customer Support

    Not sure if I fully understand.

    So we are all good now?

    #1222548
    rafel jesus

    Hi leo.

    Now with the CSS code doesn’t show the picture in the blog page, but for not show the picture in the single post, how can I do?

    Thanks

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