-
AuthorPosts
-
February 18, 2019 at 4:44 pm #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.
- This topic was modified 5 years, 10 months ago by Webguy1234.
February 18, 2019 at 10:14 pm #1068614Hello,
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, 10 months ago by Webguy1234.
February 19, 2019 at 8:25 am #1068810Hi,
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,
RikardFebruary 19, 2019 at 5:56 pm #1069048Ok 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?
- This reply was modified 5 years, 10 months ago by Webguy1234.
February 20, 2019 at 9:39 am #1069335Hi,
Could you link to where we can see the element in question? Otherwise we can’t give you accurate CSS.
Best regards,
RikardFebruary 20, 2019 at 9:47 am #1069342by 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.
February 20, 2019 at 8:21 pm #1069677Ok 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, 10 months ago by Webguy1234.
February 25, 2019 at 5:08 pm #1071352Hi Webguy1234,
The page is not loading on my end. Did you have it moved?
Best regards,
VictoriaFebruary 27, 2019 at 9:39 pm #1072401Hello it is updated now with correct url. Thank you.
March 1, 2019 at 9:10 pm #1073390Hi 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 -
AuthorPosts
- You must be logged in to reply to this topic.