Viewing 16 posts - 1 through 16 (of 16 total)
  • Author
    Posts
  • #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
    Franz

    #1360022

    Hey 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,
    Mike

    #1360030

    hello Mike
    Thank you for your quick reply

    Works unfortunately only at the 1st menu item

    With the further menu points the frame remains.

    thank you and
    kind regards
    Franz

    #1360031

    Hi,
    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,
    Mike

    #1360064

    Thank you Mike

    Fits actually almost
    but the top frame remains.
    see link below

    Then I would like that the frames are not displayed only on the desktop.
    Mobile I want the frames visible

    Thank you and
    kind regards
    Franz

    #1360084

    Hi 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,
    Nikko

    #1360131

    So it fits great Mike
    Thanks

    is it possible to adjust the spacing top and bottom on all devices without desktop
    example link below

    Thanks in advance

    kind regards
    Franz

    #1360218

    Hi 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,
    Nikko

    #1360248

    Hello Nikko
    thank you for your quick reply.

    but nothing changes in the distance above and below
    mobile widget menu

    Thanks in advance

    kind regards
    Franz

    #1360398

    Hi 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,
    Nikko

    #1360415

    Hello Nikko
    unfortunately I can’t find the code on my page.

    Where can I change this.
    for example to 10 Px

    Thanks and
    kind regards
    Franz

    #1360421

    Hi 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,
    Nikko

    #1360425

    Sorry
    have also looked there
    unfortunately I can not find anything with 30 px
    (30px on both sides)
    Can you cut me the code below

    Thanks and
    kind regards
    Franz

    #1360456

    Hi 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,
    Nikko

    #1361647

    Hello Nikko

    Thank you very much now it fits perfectly

    You can close this request

    Many thanks and
    with kind regards
    Franz

    #1361649

    Hi,
    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

Viewing 16 posts - 1 through 16 (of 16 total)
  • The topic ‘Remove gray frames top and bottom’ is closed to new replies.