Tagged: margin, ruler, white space
-
AuthorPosts
-
January 20, 2016 at 1:39 pm #568596
hello, can i change the white space above and below the rulers?
in the code block there is: [av_hr class='full' height='50' position='center']
ive changed this to:
[av_hr class='full' height='30' position='center']
( http://jeelsites.nl/wptest/finoven/ )but that doesnt seem to have any effect.
screenshot: http://www.jeelsites.nl/testen/ct-menu-item-1/ct-menu-item-5
January 20, 2016 at 3:19 pm #568665Hi jelle!
when editing Seperator/Whitespace element choose “Custom”as “Horizontal Ruler Styling”. Then adjust top- and bottom-margin values as needed.
Cheers!
AndyJanuary 20, 2016 at 3:26 pm #568669hi andy
if i choose custom, the ruler is too shorti have tried to adapt this, but it aint working:
[av_hr class='custom' height='30' width='800' position='center']January 20, 2016 at 3:34 pm #568678Hey!
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 edit your column and give it a custom CSS class and then add following code to Quick CSS in Enfold theme options under General Styling tab
.your-custom-class { padding-top: 0 !important; padding-bottom: 0 !important; }
Best regards,
YigitJanuary 20, 2016 at 9:39 pm #568886ok ive found this file: enfold:functions-enfold.php
i recogn this is what you meant.
ive added these lines (bold). i hope this is oke like this?<?php
/*
* The function within this file are theme specific:
* they are used only by this theme and not by the Avia Framework in general
*/
/* for making classes */
add_theme_support(‘avia_template_builder_custom_css’);/* wrap embeds into a proportion containing div */
if(!function_exists(‘avia_preload_screen’))
{
function avia_preload_screen()
{
$class = avia_get_option(‘preloader_transitions’) != “disabled” ? ‘av-transition-enabled’ : “”;
$label = __(‘Loading’,’avia_framework’);January 20, 2016 at 11:16 pm #568942Hi!
Please move the code from functions-enfold.php file to functions.php file and please do not forget to edit your column and to give it a custom class before adding the code. Custom class in example is “your-custom-class”
Cheers!
YigitJanuary 21, 2016 at 10:46 am #569287hmm, sorry, cant find it…in the list i only see the functions-enfold.php file…
where is the functions.php?January 22, 2016 at 6:28 am #569774Hi,
It should be in the same folder as the functions-enfold.php file, are you using a child theme? If not them please consider doing so: http://kriesi.at/documentation/enfold/portfolio-item/create-a-child-theme/
Best regards,
RikardJanuary 22, 2016 at 8:28 am #569800found it, its called: Themafuncties
(functions.php) Thema selecteren om te bewerkenJanuary 25, 2016 at 4:26 am #571018 -
AuthorPosts
- You must be logged in to reply to this topic.