Home › Forums › WoodMart support forum › Empty space above 1st row on mobile view
Empty space above 1st row on mobile view
- This topic has 10 replies, 2 voices, and was last updated 5 years, 2 months ago by Aizaz Imtiaz Awan.
-
AuthorPosts
-
September 16, 2019 at 5:17 pm #144356
saugatakoleyParticipantI am having this problem. Please check the screenshot. There’s an empty space above the first row of content.
Attachments:
You must be logged in to view attached files.September 16, 2019 at 8:35 pm #144383
saugatakoleyParticipantI think I fixed it.
I used the following code.
.main-page-wrapper { padding-top: 0px; }Using this code messed the single product page image carousel. The upper part of the carousel as well as the picture in it were getting hidden under the header. So, I used the following code to fix that as well.
.container-fluid {margin-top: 30px; }*Hope I used the right code and tag.
September 17, 2019 at 7:08 am #144463
Aizaz Imtiaz AwanKeymasterHello.
To remove the empty space above the first row edit your home page with Wp-Bakery page builder and then click on the pencil icon to edit the top row which contains your slider. Then go to the second tab “Design Options” and put the margin as “-3px“. This will fix your issue and the upper space will removed.
Screenshot: https://screenshot.net/glzmnug
Result: https://screenshot.net/glrovslBest Regards.
September 17, 2019 at 7:40 am #144474
saugatakoleyParticipantNo, it doesn’t work. I removed the previous codes that I used and put your codes in but it doesn’t do anything. Please check the screenshot.
Attachments:
You must be logged in to view attached files.September 17, 2019 at 11:01 am #144551
Aizaz Imtiaz AwanKeymasterHello,
You need to increase the margin to “-40px” and I said that you need to put the margin in the very first row but you edit the second row mistakenly.
Screenshot: https://screenshot.net/gyy8xhy
You can check in the below screenshot that when i used -40px top margin in the first row. The result is down below: https://screenshot.net/gmmlef7
Best Regards.
September 17, 2019 at 11:33 am #144569
saugatakoleyParticipantOkay, This time I did all that. But after applying the code the problem fixes for the mobile view but the slider in the top of pc view hides a small part of it under the header. Please check the screenshot.
Attachments:
You must be logged in to view attached files.September 17, 2019 at 1:50 pm #144641
Aizaz Imtiaz AwanKeymasterHello,
To fix the view for the desktop screen. You have to set the carousel image size as full then the images will show fine on the frontend. At this time you have set the custom size for the images that is why it is sowing cut on the frontend.
Please see the screenshot: http://prnt.sc/p7ahw7
Best Regards.
September 17, 2019 at 5:46 pm #144711
saugatakoleyParticipantI did use an image of my desired size and set the size to ‘full’. The problem is still there. screenshot1 is for the problem and the 2nd image is the one that I am using.
Attachments:
You must be logged in to view attached files.September 18, 2019 at 7:24 am #144817
Aizaz Imtiaz AwanKeymasterHello,
To fix this define your custom class in the Image Carousel element. Click on the pencil icon to edit the “Image Carousel” then add custom class in the “Extra class name” field as in the screenshot:
https://screenshot.net/614zxs7Then paste the below css in your page css by clicking on settings icon and then hit “Save Changes” button:
.customRow{ margin-top: 37px; }
I used the name of custom class as “customRow” you can use any other name for class.
Screenshot: https://jmp.sh/jJuvDAU
Result: https://jmp.sh/1VhJYgABest Regards.
September 18, 2019 at 5:38 pm #145035
saugatakoleyParticipantIt works. Thank you.
September 19, 2019 at 5:33 am #145085
Aizaz Imtiaz AwanKeymasterSound’s Really Great!..
Feel Free to write back if you need further assistance, I’ll be more than happy to help you out.
Have a Fantastic Day.
Topic Closed.
Best Regards. -
AuthorPosts
The topic ‘Empty space above 1st row on mobile view’ is closed to new replies.
- You must be logged in to create new topics. Login / Register