-
AuthorPosts
-
July 15, 2014 at 5:04 pm #291696
Is there a way to add a transparent white text box to specific Special Heading texts? Or is that only possible with the text block, and if so, how do I?
July 15, 2014 at 8:35 pm #291808Hey!
Can you post a screenshot/mockup of what would you want to achieve?
Best regards,
JosueJuly 15, 2014 at 10:10 pm #291847This reply has been marked as private.July 15, 2014 at 11:27 pm #291870July 16, 2014 at 7:02 pm #292175This reply has been marked as private.July 16, 2014 at 7:12 pm #292182Hi!
Try doing something like this:
Regards,
JosueJuly 16, 2014 at 7:16 pm #292187This reply has been marked as private.July 16, 2014 at 7:21 pm #292192Do you have a link to the page where you are trying this?
Regards,
JosueJuly 16, 2014 at 7:48 pm #292206This reply has been marked as private.July 16, 2014 at 7:49 pm #292207This reply has been marked as private.July 16, 2014 at 10:49 pm #292263Hey!
Try adding this code to the Quick CSS:
.avia-section .flex_column { background: rgba(255, 255, 255, 0.5); }
Cheers!
JosueJuly 17, 2014 at 3:30 pm #292509That works to an extent.. Except it creates boxes also behind every icon, accordion, and separator I have too…
July 17, 2014 at 5:30 pm #292574Set a custom ID to those colors section and change the code accordingly:
#transparent-section .flex_column { background: rgba(255, 255, 255, 0.5); }
Cheers!
JosueJuly 18, 2014 at 4:24 pm #293027That didn’t seem to add anything for me.. However when I added:
h1.av-special-heading-tag { background: rgba(255,255,255,0.75); padding: 10px; }
With the custom tag, it gave me the box, but only behind the actual heading and not the sub-heading. Anyway to get that too?
July 18, 2014 at 4:36 pm #293038nevermind, I got it with your code. Thanks!
July 18, 2014 at 4:43 pm #293045Guess I spoke too soon… All the columns that are just “spacers” so I can move the text to the right or left side of the picture, are showing little white lines with that code.
July 19, 2014 at 3:20 am #293211Hey!
Alright. Please remove this code:
#transparent-section .flex_column { background: rgba(255, 255, 255, 0.5); }
Add a unique selector for each Avia Elements. Edit functions.php, find this code:
if(isset($avia_config['use_child_theme_functions_only'])) return;
Below, add this code:
add_theme_support('avia_template_builder_custom_css');
Edit the elements where you want to add a transparent background then Aadd a unique css selector on “Custom Css Class” field. For example, add “transparent-block”.
You can add something like this on your custom.css or Quick CSS:
.transparent-block { background: rgba(255, 255, 255, 0.5); }
In your case, edit the special heading element. Refer to this link for more info: http://kriesi.at/documentation/enfold/turn-on-custom-css-field-for-all-alb-elements/`
Cheers!
IsmaelJuly 22, 2014 at 3:58 pm #294409Perfect! Thank you!
-
AuthorPosts
- The topic ‘Transparent Text Boxes’ is closed to new replies.