-
AuthorPosts
-
July 31, 2022 at 5:41 pm #1360011
hello together
I have taken the widget for the menu here.have formatted this see below
now I want that the dash above and below is not displayed
how can i add the css
thanks in advance
kind regards
FranzJuly 31, 2022 at 8:56 pm #1360022Hey schweg33,
To remove the line above and below the widget you linked to please try this css:#top .content .flex_column .widget_nav_menu li:first-child { border-style: none; }
if this doesn’t work for all pages that are intended, please explain further and link to them so we can help adjust.
Best regards,
MikeJuly 31, 2022 at 10:26 pm #1360030hello Mike
Thank you for your quick replyWorks unfortunately only at the 1st menu item
With the further menu points the frame remains.
thank you and
kind regards
FranzJuly 31, 2022 at 11:01 pm #1360031Hi,
Thanks for the feedback, please try this css:#top .content .flex_column .widget_nav_menu li { border-style: none; }
After applying the css, please clear your browser cache and check.
Best regards,
MikeAugust 1, 2022 at 7:47 am #1360064Thank you Mike
Fits actually almost
but the top frame remains.
see link belowThen I would like that the frames are not displayed only on the desktop.
Mobile I want the frames visibleThank you and
kind regards
FranzAugust 1, 2022 at 12:00 pm #1360084Hi Franz,
Please try to tweak Mike’s code so it only applies to desktop and not mobile:
@media only screen and (min-width:768px) { #top .content .flex_column .widget_nav_menu li { border-style: none !important; } }
Hope this helps.
Best regards,
NikkoAugust 1, 2022 at 4:55 pm #1360131So it fits great Mike
Thanksis it possible to adjust the spacing top and bottom on all devices without desktop
example link belowThanks in advance
kind regards
FranzAugust 2, 2022 at 12:51 am #1360218Hi Franz,
Please try adding this CSS code as well:
@media only screen and (max-width:767px) { #top #wrap_all .flex_column.avia-builder-el-last { margin-bottom: 0; } }
Best regards,
NikkoAugust 2, 2022 at 7:17 am #1360248Hello Nikko
thank you for your quick reply.but nothing changes in the distance above and below
mobile widget menuThanks in advance
kind regards
FranzAugust 3, 2022 at 5:09 am #1360398Hi Franz,
I have added the code and it’s showing equal space on top and bottom (30px on both sides).
Please review your site.Best regards,
NikkoAugust 3, 2022 at 7:13 am #1360415Hello Nikko
unfortunately I can’t find the code on my page.Where can I change this.
for example to 10 PxThanks and
kind regards
FranzAugust 3, 2022 at 7:30 am #1360421Hi Franz,
Since the CSS code on your site is not added via CSS but via Theme Customizer, I added it there.
Go to Appearance > Customize > Additional CSS.Best regards,
NikkoAugust 3, 2022 at 7:42 am #1360425Sorry
have also looked there
unfortunately I can not find anything with 30 px
(30px on both sides)
Can you cut me the code belowThanks and
kind regards
FranzAugust 3, 2022 at 10:53 am #1360456Hi Franz,
I apologize for causing confusion, and the numbers I gave were incorrect.
On the top area, there’s a paragraph above the widget with a default bottom margin of 0.85em which is 14.5px, and the column above it is 20px so the total space on the top area is 34.5px.
On the bottom area of the widget, there’s the nav menu wrapper which is 24px in bottom padding plus the overall wrapper which is 20px bottom padding, total bottom space is 44px.
If you want to increase the space top and below then just replace:@media only screen and (max-width:767px) { #top #wrap_all .flex_column.avia-builder-el-last { margin-bottom: 0px; } }
with (adjust the padding values as you see fit):
@media only screen and (max-width:767px) { #top #wrap_all .flex_column.avia-builder-el-last { margin-bottom: 0px; padding-top: 20px; padding-bottom: 20px; } }
If you would like to reduce the space then please add a CSS class name for the Color Section (apply this on all sections that uses a sidebar with nav menu widget) for example you’ll add the class mysection, then add this in Quick CSS to remove the space (just adjust the value as you see fit):
@media only screen and (max-width:767px) { /* Remove top space */ #top #wrap_all .mysection .flex_column.first { margin-bottom: 0; } #top #wrap_all .mysection .flex_column.first p:last-child { margin-bottom: 0; } /* Remove bottom space */ #top #wrap_all .mysection .widget:last-child { padding-bottom: 0; } #top #wrap_all .mysection .av-content-full { padding-bottom: 0 !important; } }
Best regards,
NikkoAugust 14, 2022 at 4:58 pm #1361647Hello Nikko
Thank you very much now it fits perfectly
You can close this request
Many thanks and
with kind regards
FranzAugust 14, 2022 at 5:36 pm #1361649Hi,
Glad Nikko was able to help, if you have any further questions please create a new thread and we will gladly try to help you. Thank you for using Enfold.Best regards,
Mike -
AuthorPosts
- The topic ‘Remove gray frames top and bottom’ is closed to new replies.