Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #1042352

    I need to place css parameters order. i use JPG image so css linear-gradient must be BEFORE background-image.
    screen

    Please answer where I can find this css constructor

    Tnank you

    • This topic was modified 6 years, 5 months ago by spb-vladimir.
    #1042587

    Could someone help me? Please.

    #1042654

    Hi,

    I’m not sure I understand what you mean by that, but if you are looking to add your own CSS then you can simply override the default CSS by adding it to Quick CSS for instance.

    Best regards,
    Rikard

    #1043184

    No, I need to add background to Color Section and place linear gradient BEFORE background.

    These parameters
    https://i.imgur.com/kH66yLi.jpg

    Generates this CSS code
    background-image: url(about_us_.jpg), linear-gradient(to bottom right,#5a72fc,#fb4d4d);

    But I need this CSS code
    background-image: linear-gradient(to bottom right,#5a72fc,#fb4d4d), url(about_us_.jpg);

    Hope you understand.

    #1044587

    Hi spb-vladimir,

    We would love to help you out with it, however it’s a bit complicated to modify the core files that generates those css codes, a workaround to do that would be to add an ID or class to the color section and have that css code in Quick CSS. Hope this helps.

    Best regards,
    Nikko

    #1044608

    I can modify the code by my self. Could you please tell me which file to change?

    #1044650

    Hi spb-vladimir,

    You can find it in enfold > config-templatebuilder > avia-shortcodes > section.php (begins in line 762):

    if ($atts['background'] == 'bg_gradient'){

    you should find other codes at the bottom.
    Hope this helps.

    Best regards,
    Nikko

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