-
AuthorPosts
-
May 30, 2023 at 11:50 pm #1409068
Hi,
Can you help me with this website please?
There’s so much unnecessary padding in the mobile view and I can’t get rid of it? I’ve deleted all padding but it still shows..
Thanks!
Harvinder
May 31, 2023 at 11:32 am #1409125Hi – it’s the same with the desktop view. I’ve reduced the padding and eliminated it in some cases but it doesn’t seem to make a difference?
May 31, 2023 at 1:13 pm #1409140Hi,
Please try the following in Quick CSS under Enfold->General Styling:
@media only screen and (max-width: 767px) { .home #after_grid_row_1 { display: none; } }
Best regards,
RikardMay 31, 2023 at 4:01 pm #1409154Hi – that doesn’t appear to have done much..
Can you see the unnecessary white spacing here?
On the desktop view too..
May 31, 2023 at 7:49 pm #1409179Hi,
What exactly are you looking to remove in the screenshot you posted last?
Best regards,
RikardJune 1, 2023 at 5:18 pm #1409287Hi Rikard,
Here’s a link which should make what I’m after a bit clearer..
I want to get rid of the spacing that I’ve boxed in with the red rectangles.
It appears to be the spacing above and after the code snippet.
Thanks,
Harvinder
June 2, 2023 at 9:08 am #1409364Hi,
Thanks for that. Please try this CSS as well:
.home #after_section_4 { display: none; } .home #after_grid_row_1 .container { padding: 0; }
Best regards,
RikardJune 2, 2023 at 12:36 pm #1409388Hi,
It made the desktop version look a bit better but there’s still a lot of unnecessary white space above:
On the mobile view, it actually deleted the embed sign up code block.
Before:
After:
June 3, 2023 at 12:12 pm #1409468Hi,
Please try this CSS as well:
.home #after_grid_row_1 .content { padding-top: 0; }
I don’t understand the last two screenshots, what exactly is deleted there?
Best regards,
RikardJune 5, 2023 at 11:46 am #1409610That works much better thanks,
What the images show is that on a mobile view, using your CSS deleted the embed 10% signup box.
It works fine on desktop. But on the mobile view the embed signup box is gone..
June 5, 2023 at 4:31 pm #1409636Hi,
Thanks for the clarification. Please remove the CSS which has removed unwanted elements, then please try to clarify what should be removed again.
Best regards,
RikardJune 5, 2023 at 6:20 pm #1409652Let’s start again.
Here is the desktop version. I’ve boxed out the white space that I want delete.
Here is the mobile version. I’ve boxed out the white space that I want delete.
The CSS you gave me worked perfectly except for mobile view. When you switch to mobile view it deleted the embed email sign up code bar.
June 6, 2023 at 2:36 am #1409703Hi,
Thank you for the inquiry.
To adjust the space around the subscription box, you can try using the following CSS code. This code will apply the changes to both desktop and mobile views:
.home div#after_grid_row_1 .template-page.content, .home div#after_section_4 .template-page.content { padding-top: 10px; padding-bottom: 10px; }
Please do not forget to toggle or temporarily disable the Enfold > Performance > File Compression settings, and purge the cache to make sure that the changes take effect.
Best regards,
IsmaelJune 6, 2023 at 1:38 pm #1409762That has fixed the issue.. Thank you!
June 7, 2023 at 4:32 am #1409821 -
AuthorPosts
- The topic ‘Get rid of unnecessary whitespacing on mobile view..’ is closed to new replies.