Tagged: 

Viewing 20 posts - 1 through 20 (of 20 total)
  • Author
    Posts
  • #638614

    Hey guys,

    is it possible to add 2 colored horizontal “design lines” on top of each other right below the menu/logo area of the enfold theme ?

    Best regards,
    t.

    #638979

    Hey tobee_hh,

    Thanks for getting in touch with us!

    Would you mind posting us a screenshot/mockup of what you would like to achieve? You can upload the screenshot to imgur.com or dropbox and share the link here :)

    Also provide a link to your site in the private data section.

    Best regards,
    Jordan

    #639189

    Hello, i can only share a mockup

    #639649

    Hi,

    Yes, that’s possible with css. You can apply the first line in the header container:

    #header {
        border-bottom: 20px solid red;
    }

    .. And the second line above the main title container:

    .title_container {
        border-top: 20px solid blue !important;
        margin-top: 19px;
    }

    This might not work if you don’t have the title container enabled. Once the site goes live, let us know so that we provide a better solution.

    Best regards,
    Ismael

    #641392

    Thank you for the code!

    The first, red line is working. However, no second line shows up. Is it possible to vary the line in thickness?

    I added the code in quick CSS

    Edit: Now i see what you did there. I don’t want to use any titlebar however. Is it possible to add a second line to the header container right below the first one?

    • This reply was modified 8 years, 6 months ago by tobee_hh.
    #642363

    Hi,

    We need to inspect the page in order to provide the correct css code. Let us know once the site is live.

    Best regards,
    Ismael

    #651688

    Here is the site: i need to add a line right below the existing red one :)

    #652711

    Hi,

    try this code inside of Quick CSS field:

    .container.av-logo-container {
    border-bottom: 1px solid red;
    top: 9px;
    }
    

    and adjust as needed.

    Best regards,
    Andy

    #652763

    Hey Andy,

    thx for the advice! Sadly it doesn’t work The line is centered, however it does not reach the end of the window left and right.

    #652937

    Hey Andy,

    i looked at it again and must say that this doesn’t work. Isn’t it possible to add the line right within the header section. This way the line doesn’t seperate from the other line when scrolling.

    #652945

    Hey Andy,

    from Ismael’s approach i tried

    #header {
    border-bottom: 20px solid red;
    }

    #header {
    border-bottom: 10px solid grey;
    }

    However only the last one is shown :(

    #652952

    you want under active and hovered main menu points a double line?

    #top #avia-menu li a:active, #top #avia-menu li a:hover {
        border-bottom: 2px solid red;
        margin-bottom: 0 !important;
    }
    
    .avia-menu-fx {
        bottom: 4px;
        height: 2px;
    }

    • This reply was modified 8 years, 5 months ago by Guenni007.
    #652953

    Hey Guenni007,

    no, my intent is to have two horizontal lines with different sizes and colours on top of each other full-width in the bottom border area of the menu section.

    #652963

    those two lines should stay static on that place , and what do you like to do with those lines in the menu?

    i would try to do it via #header and #header_main

     #header {
        border-bottom: 20px solid red !important;
    }
    
    #header_main {
        border-bottom: 10px solid grey !important;
    }

    well i do not know if on all enfold header options the #header and #header_main are the same size or if there are some paddings – but on my test installation this works.

    • This reply was modified 8 years, 5 months ago by Guenni007.
    #652969

    and if you like to have a little distance between those lines setup a margin on the bottom of #header_main

    #header_main {
        border-bottom: 10px solid grey;
        margin-bottom: 2px;
    }
    #652985

    Guenni, you are the man!

    Thanks and cheers!

    :)

    #652989

    One remaining question:

    How to change the color to specific hex colors instead of solid red

    #653063

    Hi,

    just use hex color code instead:

    #header_main {
        border-bottom: 10px solid #d22323;
    }
    

    Best regards,
    Andy

    #653527

    yes – sorry – i used your selection above.
    you can use every colordefinition you like – even rgb or rgba values.

    #653663

    Hi,

    Thanks for helping out @Guenni007, much appreciated :-)

    Regards,
    Rikard

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