Home › Forums › WoodMart support forum › layout error
layout error
- This topic has 15 replies, 3 voices, and was last updated 2 years, 1 month ago by Elise Noromit.
-
AuthorPosts
-
September 28, 2022 at 10:52 pm #409105
NicosaParticipantGood evening,
There are surprising things on the visuals, I indicate a margin at -40 px, on inspection I see a padding top at 199 px?
Where is the error? I see a lot of things like that, it’s annoying because you can’t move forward without going back on small details.
Thanks in advance,
Attachments:
You must be logged in to view attached files.September 29, 2022 at 2:30 am #409125
Elise NoromitMemberHello,
Please insert the site admin access into the Private content below the message area. We will take a closer look at the case.
Best Regards
September 29, 2022 at 9:45 am #409175
NicosaParticipantHello,
Indeed, how do you explain this? I never indicated a padding-top: 199 px;
So you will have to tell me the solution, so that I can interact on the other pages.
October 1, 2022 at 3:46 am #409635
Elise NoromitMemberHello,
Please check the site on a real device or reload the page if you check in the browser: https://gyazo.com/2f36bf348b1e58389675dba5a042cfd4
Let us know if the problem remains on a real device.
Best Regards
October 3, 2022 at 11:34 pm #410127
NicosaParticipantGood evening,
I have to put a margin at -140 to raise the element, but after a few days a padding-top of 199px appears out of nowhere why? I do not know …
It’s annoying, it’s been 3 times that I come back to the same thing, I screened so that you realize in the event of a new return, if I don’t touch the margins, it must remain as it is, right?
Attachments:
You must be logged in to view attached files.October 4, 2022 at 10:09 am #410243
Bogdan DonovanKeymasterHi,
Your desktop header height is 199px – https://prnt.sc/Ak3HVNGgo_M1
Your mobile header height is 99px – https://prnt.sc/6MuYU4vneBBeBy default, in our theme header height is recalculated on page reload which is not visible on real mobile devices, but when you change devices screen width in Elementor editor – header height is not recalculating, and you can see desktop header spacing with mobile header before page is reloaded. To fix your issue, just ignore header spacing in Elementor editor and leave
margin-top: -40px
both for desktop, tablet and mobile.Kind Regards
October 4, 2022 at 10:18 am #410246
NicosaParticipantHello,
What we build on elementor is not real, you have your own line of code on that, elementor creates another one, so if I indicate a -140 px to make up the difference it won’t work!
You must therefore indicate marigin-top: -40 px; I do it on which selector so that of elementor, or in a selector of the theme. If I indicate -40 px of top margin on elementor , I still have the same problem so should indicate this in a class but which one?
Thanks for your feedback, I understood that your line of code overwrites changes with elementor,
October 4, 2022 at 10:28 am #410250
NicosaParticipantHello,
With a margin top -40 there is always a shift, what is needed is the exact selector to be able to interact on it, it wastes time guys, give me a selector that solves the problem once and for all, sorry but I’m not going to put -40 px; I have an offset, -140 px, this creates conflicts, there is indeed a selector which definitely acts on this problem and hop on to something else
Attachments:
You must be logged in to view attached files.October 4, 2022 at 4:12 pm #410538
Bogdan DonovanKeymasterHi,
1. You don’t need to set -40px three times for different device’s resolution. You can set it only for desktop, and it will work the same on other smaller devices.
2. As we said in previous reply header spacing will change only after page reloading. So if you test your site on desktop, you need to reload your webpage after switching between mobile/desktop resolution like is shown on video (https://gyazo.com/de36db7c4cceb7701d9343da265b3543). The following behavior only applies to mobile testing on a desktop computer.We have checked your site on different devices and everywhere the header spacing looks completely normal, please see the following screenshots:
Desktop – https://prnt.sc/Xls-UrdzkNr-
Tablet – https://prnt.sc/Z4Fe_9kSjvxH
Mobile – https://prnt.sc/U4ToTHbwzWdlKind Regards
October 5, 2022 at 9:47 am #410811
NicosaParticipantHello,
It does not work,
If I put -40 px; it goes way back
You have to put a selector that works: wait there is a way to act effectively, you have made the theme you know exactly what is needed:
We start with a padding-top of 99 px and 199 px in desktop ok,If I put margin-top: 0px; it doesn’t work it goes back too high…
margin-top: – 40px; we can’t see anything ;*
I was given the padding-top selector 0! important ; it doesn’t work either, in short I empty the caches, but there is always a gap;
Give me the right selector and to go up to align with the top, it’s not complicated, is it?
October 5, 2022 at 1:58 pm #410915
NicosaParticipantHello,
As seen, I indicated a margin-top only for the pc at -40 px;
your sticky header at 199 px, , does not allow me to modify as I wish, it makes deviations each time, in short, I need a solution to put all this back together, you tell me that it is done by itself, on d’ other tablet devices, and computer there is a lag, so I am waiting as I say for a solution to no longer have this lag.
Attachments:
You must be logged in to view attached files.October 6, 2022 at 9:22 am #411174
Bogdan DonovanKeymasterHi,
As was said on previous reply https://xtemos.com/forums/topic/layout-error/#post-410243 spacing between content and header can be changed by modifying first Elementor row
martin-top
value. After you done that spacing between header and content was removed and looks normal as was tested in following reply https://xtemos.com/forums/topic/layout-error/#post-410538.If you want to permanently remove header
margin bottom
from all your pages via CSS, you need to:1. Remove all your previous custom code related to header.
2. Add the following custom code to Global custom CSS area field in theme settings:body .whb-header { margin-bottom: 0px; }
But in the following case, header space can be missing on pages like single product or my account, and it will require additional changes.
Kind Regards
October 6, 2022 at 1:21 pm #411263
NicosaParticipantHello ,
Thanks for your feedback,
Understand that I make the modifications with elementor , if a margin-top on elementor of -40 px, and I don’t touch anything else , it will work with the sticky effect raised from the header .. Ok I do that, then I’ll see if it bugs or not…
October 6, 2022 at 6:16 pm #411427
Elise NoromitMemberHello,
Let us know if you have any issues.
If you have any questions please feel free to contact us.
Best Regards
October 12, 2022 at 4:06 pm #413229
NicosaParticipantThanks for your feedback,
I will let you know of my difficulties if I encounter any.
October 13, 2022 at 4:22 am #413341
Elise NoromitMemberYou are welcome! We are here to help.
Wish you a wonderful day!
-
AuthorPosts
The topic ‘layout error’ is closed to new replies.
- You must be logged in to create new topics. Login / Register