Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #1184110

    Hello!

    Is it possible to set 2 color at Farb-Sektion. First 50% White and after #21333d?

    Thanks for your answer!
    Elias

    #1184321

    Hey topnetat,

    Could you please attach a mockup of what you’re trying to achieve?

    You will need to add two containers in the color section. Or maybe use css gradient.

    Best regards,
    Victoria

    #1184430

    Hey Victoria! Thanks for your Answerl Here is an image of that effect – in background should be the color section an the text blocks are above two different backgrounds.

    Thanks for your help!
    Topnetat

    #1185116

    Hi topnetat,

    To have a two background color using a Color Section, just go to the Styling (tab) > Background, set this to Background Gradient.
    Then set Background Gradient Color 1 and Background Gradient Color 2, then set Background Gradient Direction.
    Hope this helps.

    Best regards,
    Nikko

    #1185137

    Hi Nikko! Thanks for your answer.

    Right, thats possible, but i dont want to achieve a gradient. I would like to see one color in the top and the other direct under this first color till the end of the element.

    With no gradient? Is that possible? It needs a hard cut?

    Kind regards
    topnetat

    #1185256

    Hi topnetat,

    It’s possible but you’ll need to make use of Custom CSS Classes.
    Edit your Color Section, go to Advanced (tab) then in the Developer Settings > Custom CSS Class, put my-section.
    Go to Enfold > General Styling > Quick CSS, then add this CSS code:

    .my-section {
      background: #ffffff;
      background: -moz-linear-gradient(top,  #ffffff 0%, #ffffff 50%, #21333d 50%, #21333d 100%);
      background: -webkit-linear-gradient(top,  #ffffff 0%,#ffffff 50%,#21333d 50%,#21333d 100%);
      background: linear-gradient(to bottom,  #ffffff 0%,#ffffff 50%,#21333d 50%,#21333d 100%);
      filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#21333d',GradientType=0 );
    }

    Hope this helps.

    Best regards,
    Nikko

    #1185283

    It`s working fine – Thank you!

    #1185308

    Hi topnetat,

    We’re glad that we could help :)
    Thanks for using Enfold and have a great day!

    Best regards,
    Nikko

Viewing 8 posts - 1 through 8 (of 8 total)
  • The topic ‘Two colored Background’ is closed to new replies.