Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #1068455

    Hello I am trying to figure out how to put a colored diagonal background behind some text using Avia builder. I am using white text so I need a colored diagonal background to appear behind the text for easier reading. How can I duplicate this effect using Enfold theme and Avia builder?

    Thank you.

    Please see screenshot.

    https://ibb.co/NC07pTM

    • This topic was modified 5 years, 9 months ago by Webguy1234.
    #1068614

    Hello,

    I am trying to add the custom css class to duplicate the colored bar but it is not working when adding the custom id “skewed” to the “color section custom id field”

    .skewed {
    left: 18%;
    transform: skew(17deg);
    opacity: 0.8;
    background-color: #f53232;
    }

    How do I get skewed css to show up in the “color section” and display a diagonal bar over the background image?

    • This reply was modified 5 years, 9 months ago by Webguy1234.
    #1068810

    Hi,

    If you gave the section an ID then you are targeting it wrong, please try this instead:

    #skewed {
    left: 18%;
    transform: skew(17deg);
    opacity: 0.8;
    background-color: #f53232;
    }

    Best regards,
    Rikard

    #1069048

    Ok thank you when I add this to the section ID it transforms the background image and text with colored background in the column. I only want to transform the colored background behind the text in the column only like in the screenshot. How would I only target the colored background in the column when there is no way to set column id?

    https://ibb.co/5KkZznm

    • This reply was modified 5 years, 9 months ago by Webguy1234.
    #1069335

    Hi,

    Could you link to where we can see the element in question? Otherwise we can’t give you accurate CSS.

    Best regards,
    Rikard

    #1069342

    by the way, a container can have more than one background-image. See here a little tutorial how to make it.
    Each attribut can be styled separatly : https://webers-testseite.de/multiple-background-images/

    2nd: skew back the container with the fonts.

    #1069677

    Ok here is the link. to the page I am trying to recreate the original ss. Also thank you for the info G.

    • This reply was modified 5 years, 9 months ago by Webguy1234.
    #1071352

    Hi Webguy1234,

    The page is not loading on my end. Did you have it moved?

    Best regards,
    Victoria

    #1072401

    Hello it is updated now with correct url. Thank you.

    #1073390

    Hi Webguy1234,

    Thank you. Looks like there need to be different containers, the text has to be in the adjacent div not to be the child element.

    Best regards,
    Victoria

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