2px border line of css on top and bottom of primary menu

Home Forums Support 2px border line of css on top and bottom of primary menu

Home Forums Support 2px border line of css on top and bottom of primary menu

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #209577
    Craig

    Your theme is fantastic and glad I purchased the Premium package.

    I can not figure out how to place a 2px colored border on the top and bottom of the primary header menu.

    Thanks!

    Craig

    #209628
    Tom
    Lead Developer
    Lead Developer

    Hi Craig,

    Glad you’re enjoying it!

    Try this CSS:

    .main-navigation {
        border-top: 2px solid #222222;
        border-bottom: 2px solid #222222;
    }

    Adding CSS: https://generatepress.com/knowledgebase/adding-css/

    #915016
    Jean-Claude

    I am trying to copy the design of a site using GP Premium plus Elementor Pro.
    Is it possibe to implement borders on the content and sidebar like you see here –
    http://www.centreculturelvedique.com/ch/

    #915225
    David
    Staff
    Customer Support

    Hi there,

    this CSS will get you started:

    .inside-article, .inside-right-sidebar {
        border: 1px solid #000 !important;
        border-radius: 3px;
    }
    #915420
    Jean-Claude

    It worked!!!
    Thank you so much David!
    Also, is it possible to add radius for smooth corners?

    #915493
    Leo
    Staff
    Customer Support

    Edited David’s CSS.

    Please open a new topic if you need further assistance.

    Thanks!

Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.