-
AuthorPosts
-
March 29, 2019 at 7:02 pm #1084716April 1, 2019 at 6:21 am #1085279
Hey restube,
Try adding this css code in Quick CSS, located in Enfold > General Styling):
@media only screen and (max-width:767px) { #top.page-id-337 #av-layout-grid-1 .av_one_third.avia-builder-el-10 .av-special-heading.av-special-heading-h2 { margin-top: 0 !important; } }
Best regards,
NikkoApril 1, 2019 at 2:00 pm #1085512Hey Nikko,
thanks for your help. The css did not completely remove the space between the tow elemets. The gap ist still there.
Further on this pages are two more copies of the same element only with different content. Your code only affects only 1 of the 3 elements. On our Website are a total of 8 pages with 3 of the elements with the “gap” making it 24 in total. How can I apply the code for all of them at once ?
Cheers
DennisApril 1, 2019 at 2:24 pm #1085531Hi Dennis,
Try using this css code in Quick CSS, located in Enfold > General Styling:
@media only screen and (max-width:767px) { #top.page-id-337 #av-layout-grid-1 .av_one_third.avia-builder-el-6 { padding-bottom: 0 !important; } #top.page-id-337 #av-layout-grid-1 .av_one_third.avia-builder-el-10 { padding-top: 0 !important; } #top.page-id-337 #av-layout-grid-1 .av_one_third.avia-builder-el-10 .av-special-heading.av-special-heading-h2 { margin-top: 0 !important; } }
Best regards,
NikkoApril 1, 2019 at 3:02 pm #1085546Hey Nikko,
thanks for your quick reply.
The first gap is completely gone. However, the remaining two on this site are still unchanged.
Can we maybe use custom css classes to tackle the issue on the remaining 8 pages?
Cheers
April 2, 2019 at 1:22 am #1085771Hi restube,
Yes, please do add a custom class for them so it’s easier to group them and we could use that to target them specifically.
Best regards,
NikkoApril 3, 2019 at 7:04 pm #1086652Hey Nikko,
I have created a custom css class for all of them (target-group). Can you pls show me the css that i need to add?
Cheers!
April 4, 2019 at 5:16 am #1086740Hi restube,
I tried to check your site but it seems to be messed up (screenshot in private content).
This should be the code you can use, just replace the className:@media only screen and (max-width:767px) { #top #main .className .av_one_third.avia-builder-el-first { padding-bottom: 0 !important; } #top #main .className .av_one_third.avia-builder-el-last { padding-top: 0 !important; } #top #main .className .av_one_third.avia-builder-el-last .av-special-heading.av-special-heading-h2 { margin-top: 0 !important; } }
Best regards,
NikkoApril 9, 2019 at 10:06 am #1088603Hey Nikko,
the website should be fixed now.
I`ve tried your code but im not sure I implemented it correctly.
Can you tell which elements I have to give a custom class?
Is it the Grid row or the elements within or something else?That would be very helpful.
Thanks!
April 9, 2019 at 3:41 pm #1088683Hi restube,
Glad to hear that :)
Give a Custom Class Css to the Grid Row.Best regards,
Nikko -
AuthorPosts
- You must be logged in to reply to this topic.