Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #1108883

    Hello Dear Support!
    The specific webpage referenced in the Private Content window is the portfolio item that I have changed so that the mobile appearance is better. Basically, I am hiding some of the elements in the left column (back to Work, Related Projects and the associated white separators) on mobile so that the mobile user can get right to the project description after seeing the images in Easy Slider. There is the unfortunate white space after the Color Section on mobile – that is what I would like to remove. Everything looks fine on desktop.

    I am viewing the mobile on an iPhone if that makes any difference.

    Thanks in advance for your help.

    Cheers, Leslie

    #1108951

    Hey Leslie,

    I’m not easily seeing the issue. Can you screenshot the problem?

    Best regards,
    Jordan Shannon

    #1109225

    Yes, thank you for your help. Here is the image: https://barrettstudio.com/wp-content/uploads/2019/06/Image-1.jpg

    The Color Section is the red bar, and below there is a lot of white space.

    #1109364

    Hi,

    Thanks for the clarification. Please try the following in Quick CSS under Enfold->General Styling:

    @media only screen and (max-width: 767px) {
    .postid-6727 .template-page {
      padding-top:0;
    }
    }

    Best regards,
    Rikard

    #1109544

    Thanks, that worked beautifully. Is it possible to keep a little white space after? I tried checking “Custom top and bottom margin” and adding some to the bottom margin, but that didn’t work. Can I add something to the CSS?

    Also, the portfolio item that I showed you was my test portfolio item. I do want this CSS applied to all the portfolio items.

    Best,
    Leslie

    • This reply was modified 4 years, 11 months ago by barrett5.
    #1109720

    Hi Leslie,

    Please try this CSS instead:

    @media only screen and (max-width: 767px) {
    .portfolio-template-default .template-page {
      padding-top:0;
      padding-bottom:20px;
    }
    }

    Best regards,
    Rikard

    #1110134

    Hi Rikard,
    I tried out that CSS, but it only makes the color bar taller. It doesn’t add white space below the color bar.

    Any other thoughts?

    Leslie

    #1110223

    Hi Leslie,

    Please try this instead:

    @media only screen and (max-width: 767px) {
    .portfolio-template-default .template-page {
      padding-top:0;
      margin-bottom:20px;
    }
    }

    Best regards,
    Rikard

    #1111468

    Hi Rikard,

    I used this last CSS, which didn’t add white space by itself. But when I got into the actual Portfolio item, and edited the Color Section, I was able to click the “Custom top and bottom margin” box and add the margin there. The combination of your CSS and the Color Section change made it appear as I wanted – customizable white space on the mobile version. Looks great now, thanks so much for your help.

    Leslie

    #1111527

    Hi,

    I’m glad this was resolved. If you need additional help, please let us know here in the forums.

    Best regards,
    Jordan Shannon

Viewing 10 posts - 1 through 10 (of 10 total)
  • The topic ‘White space below Color Sections, on Mobile devices’ is closed to new replies.