-
AuthorPosts
-
January 5, 2016 at 12:50 pm #559874January 5, 2016 at 4:33 pm #560002
Hey Viramedia!
Please turn on custom CSS field for ALB elements – http://kriesi.at/documentation/enfold/turn-on-custom-css-field-for-all-alb-elements/ and then give your sliders a custom CSS class and then add following code to Quick CSS in Enfold theme options under General Styling tab
.your-custom-class .slideshow_caption h2,.your-custom-class .slideshow_caption p { background: red!important; }
Best regards,
YigitJanuary 5, 2016 at 5:18 pm #560031Thanks for hgelping
Is there any way to do it withouth editing the functions.php?Thanks
January 5, 2016 at 5:21 pm #560033Hey!
Following line
add_theme_support('avia_template_builder_custom_css');
is actually added in functions.php file but commented out. You can simply remove // in front of the line at the bottom of the file to enable it. To target elements individually, this would be the best way :)
Best regards,
YigitJanuary 5, 2016 at 5:23 pm #560035is it in the wordpress functions.php or in the functions.enfold.php?
January 5, 2016 at 5:25 pm #560036Hi!
It is Functions.php file of Enfold, that you can edit in Appearance > Editor
Cheers!
YigitJanuary 5, 2016 at 5:38 pm #560039Thanks found it… Will it be deleted by the next update of Enfold? I have also seen the custom CSS field now…
I changed
.your-custom-class
with
.redblack
as a identifier
Than probably I should only type redblack in the Cusom CSS Class?
Thanks
UPDATE: Thanks it worked… great
- This reply was modified 8 years, 11 months ago by Viramedia.
January 5, 2016 at 5:44 pm #560048btw. is there any way to define a different style & font for captions than the standard ones? something like superbold and a bigger font for the main text? would be great.
ThanksJanuary 5, 2016 at 5:45 pm #560050Hi!
Yes, it will be overwritten. You can use a child theme to avoid that – http://kriesi.at/documentation/enfold/using-a-child-theme/
You are welcome, glad we could help :) Let us know if you have any other questions or issues
Best regards,
YigitJanuary 5, 2016 at 6:00 pm #560061If I would like to use ith for the accordion slider, probably I need another quickcss I suppose. How is the code for that?
Thanks
January 6, 2016 at 5:26 pm #560647Hey!
use this code:
.aviaccordion-title { background: red; }
Regards,
Andy -
AuthorPosts
- You must be logged in to reply to this topic.