-
AuthorPosts
-
February 10, 2018 at 2:19 pm #910520
HI
Using Enfold for a couple of years now – I’m loving it!Issue:
In the avia layout builder, depending on what size is needed for a special title (H1-H6), there is the possibility to add a subheading.
I need to offer the possibility to my customers of changing the subheading up to 70px. Actually the sizes are from 10px to 40px in the dropdown.Question: Where can I add sizes for the dropdown? Couldn’t find any topics considering this issue.
Could you please help me out?
Many thanx!
SchmiddyFebruary 10, 2018 at 5:00 pm #910560Hi Schmiddy,
Try turning on Custom Css Class for all ALB elements: https://kriesi.at/documentation/enfold/turn-on-custom-css-field-for-all-alb-elements/ in the special heading’s Custom Css Class, add this: myheading save it and go to Enfold > General Styling > Quick CSS and add this css code:
.myheading .av-subheading { font-size: 70px !important; }
Let us know if this helps :)
Best regards,
NikkoFebruary 10, 2018 at 6:21 pm #910595Hi Nikko
Thank you for your kind feedback and input, but I’m afraid that it doesn’t help… The way you’re proposing will change all my subheadings to 70px.
Maybe I wasn’t clear enough in my last post, sorry! What I really need, is to be able to choose the font size in avia layout builder via dropdown. What I expect is to have more sizes to choose from the actual preset of 10 – 40 px. That means sizes between 10px and 70px (in steps of 5px).
I hope this is a bit clearer for your understanding? I guess, it must be added somewhere in the functions.php… (not in the stylesheet!)Thanx Nikko!
Regards, Schmiddy- This reply was modified 6 years, 10 months ago by Schmiddy.
February 12, 2018 at 9:20 am #910957Hi,
I see, can you try to use a child theme: https://kriesi.at/documentation/enfold/using-a-child-theme/ then go to the shortcodes folder, create
a file called: heading.php and paste this inside it https://pastebin.com/PHxXTMaV
Hope this helps :)Best regards,
NikkoFebruary 12, 2018 at 11:25 am #911024This reply has been marked as private.February 12, 2018 at 1:30 pm #911094Hi,
You’re welcome :) I have tried both the admin access and ftp access, however it doesn’t work on my end, please check.
WP-admin access Error:
ERROR : The username or password you entered is incorrect.
FTP Error (using filezilla):
Error: Authentication failed. Error: Critical error: Could not connect to server
Best regards,
NikkoFebruary 12, 2018 at 6:50 pm #911266Oh… Sorry!
I changed it.
I hope it’s working now! Sorry for inconvenience ;-)Best,
SchmiddyFebruary 13, 2018 at 5:12 am #911507Hi,
Thanks, I can now login to your WP Dashboard, however I still couldn’t connect via ftp. I have checked in WP Editor and try adding this php code in functions.php:
/** * Add filter to add or replace Enfold ALB shortcodes with new folder contents * * Note that the shortcodes must be in the same format as those in * enfold/config-templatebuilder/avia-shortcodes * * @link http://kriesi.at/documentation/enfold/add-new-or-replace-advanced-layout-builder-elements-from-child-theme/ */ add_filter('avia_load_shortcodes', 'avia_include_shortcode_template', 15, 1); function avia_include_shortcode_template($paths) { $template_url = get_stylesheet_directory(); array_unshift($paths, $template_url.'/shortcodes/'); return $paths; }
paste it below this code:
/* * Add your own functions here. You can also copy some of the theme functions into this file. * WordPress will use those functions instead of the original functions then. */
then create a folder and name it shortcodes and paste heading.php inside it. :)
Best regards,
NikkoFebruary 13, 2018 at 2:06 pm #911692Hi Nikko
PERFECT!!!!
Exactly what I needed, works like a charm!
Thank you so much for your helping hand in this issue! I give you 6* for your support! ;-)Have a great day – you made mine! =)
SchmiddyFebruary 14, 2018 at 2:52 am #912047Hi,
Awesome! -Glad we could help!
Please take a moment to review our theme and show your support https://themeforest.net/downloads
To know more about enfold features please check – http://kriesi.at/documentation/enfold/
Thank you for using Enfold :)Best regards,
Ismael -
AuthorPosts
- The topic ‘I need bigger sizes for the subheading-dropdown in the avia layout builder’ is closed to new replies.