Viewing 30 results - 1,591 through 1,620 (of 18,702 total)
  • Author
    Search Results
  • #1372473

    In reply to: Main Menu

    Hi,

    Thank you for the update.

    You can use this css code to adjust the vertical position of the phone number.

    #header_main .phone_number a {
        top: -10px;
        position: relative;
    }
    

    Also I edited the size but it is not reflecting. Did I do something wrong?

    Did you adjust the font-size value in this css rule?

    #header_main .phone_number a p {
        font-size: 64px;
    }
    

    Best regards,
    Ismael

    #1372383

    In reply to: Drucken

    Hey diefleischerei,
    Thanks for your question you can create a print button with this code in the page:
    <button class="print" onclick="window.print()">Print This</button>
    and this css:

    button.print {
        background-color: #0366d6;
        color: #ffffff;
        border-radius: 3px 3px 3px 3px;
        border: none;
        border-width: 1px 1px 1px 1px;
    }

    This would be the results:
    2022-11-12_012.png
    You will probably also want to use the print media query to set which elements print and which ones to avoid, for example:

    @media print { 
    	p {
    	font-size: 18px;
    	line-height: 1.1em;
    	}
            .sidebar {
    	display:none;
    	}
    	.single-post #content {
    	text-align: center;
    	top: unset;
    	left: unset;
    	transform: none;
    	position: relative;
    	background: none;
    	width: 100%;
    	padding: 0;
        }
    }

    Best regards,
    Mike

    #1372357

    In reply to: Main Menu

    Hey A,
    Thanks for your patience and the link to your site, to make your header transparent only on your homepage and make the menu items white when the header is transparent so you can see them I added this css:

    .html_header_top.html_header_sticky #header.av_header_transparency {
        background: transparent;
    }
    #top #header.av_header_transparency .av-main-nav > li > a {
        background-color: transparent;
    }
    #top #header.av_header_transparency .av-main-nav > li > a .avia-menu-text {
        color: #fff
    }
    #top #header.av_header_transparency .av-main-nav > li#menu-item-search > a {
    	color: #fff;
    }
    #top #header.av_header_transparency .av-main-nav li:hover .avia-menu-fx, 
    #top #header.av_header_transparency .current-menu-item > a > .avia-menu-fx, 
    #top #header.av_header_transparency .av-main-nav li:hover .current_page_item > a > .avia-menu-fx {
        background-color: #fff;
    }

    To remove the social icons I removed them at Enfold Theme Options ▸ Social Profiles, none of them had links so they would not do anything on click anyways.
    Then I added this css to make your phone number larger and move the menu over to make room:

    #header_main .phone_number a p {
    	font-size: 47px;
    }
    #header_main .avia-menu.av_menu_icon_beside {
        margin-right: 336px;
    }

    If you want the phone number smaller feel free to adjust
    please clear your browser cache and check.

    Best regards,
    Mike

    #1372352

    First : it depends on so much text on the backside. If you got less text – there will be less height.
    Maybe you decide not to show all text on mobile phone ( f.e. only the first p tag )

    @media only screen and (max-width: 391px) {
    	#team .avia-icongrid-flipback .avia-icongrid-text p:nth-of-type(n+2) {
    	  display: none;
    	}
    	#team .avia-icongrid-flipback ,
    	#team .avia-icongrid-flipback .avia-icongrid-inner {
    	  padding: 10px !important
    	}
    }

    less padding – see second rule.
    next – on the alb itself you can have a smaller font-size on small screens.

    #1372231

    Hi Tilman,

    Please add following code to Quick CSS field in Enfold theme options > General Styling tab

    
    /* No capitals */
    .avia-toc-style-elegant a {
      text-transform: none;
    }
    /* Font size for level 1 */
    .avia-toc-style-elegant .avia-toc-level-1 {
      font-size: 20px;
    }
    /* Font size for level 2 */
    .avia-toc-style-elegant .avia-toc-level-2 {
      font-size: 18px;
    }
    /* Style toggle button */
    .toc-toggle {
      background: transparent;
      border: none;
      font-size: 20px;
    }
    

    Then add following code to bottom of functions.php file of your child theme to add toggle button to TOC

    
    add_action('wp_head', 'toggle_toc');
    function toggle_toc(){
     ?>
     <script>
     jQuery(window).load(function(){
    	var $input = jQuery('<input class="toc-toggle" type="button" value="≡" />');
        $input.prependTo(jQuery(".avia_auto_toc"));
    	 
    	jQuery( ".toc-toggle" ).click(function() {
    	jQuery( ".avia-toc-container" ).toggle();
    });
    	 
    });
     </script>
    <?php 
    }
    

    Best regards,
    Yigit

    #1372171

    Hi,

    Thank you for the update.

    Have you tried adjusting the font size values in the Customize Typography Settings ? You can adjust the default font size and specify different values for small, medium and very small screens. You may need to add custom css media queries for other screen sizes that are not covered by the typography settings.

    Best regards,
    Ismael

    Jan Thiel
    Participant

    Hi guys,

    we currently maintain about 100 sites built upon Enfold and custom CSS using Quick CSS.

    After your recent introduction of “Responsive Styles” within the 5.1 release nearly all of these pages broke due to Custom CSS not working anymore which worked before. In particular the new responsive styles take precedence over custom css styles and classes.
    I am only writing now as we just updated our prod env to 5.1.2 and our dev sites to 5.2.1. The issues exist in both versions and only came to our attention within the live sites. Our dev env doesn’t use that much custom Quick CSS…

    For columns ( /config-templatebuilder/avia-shortcodes/columns/columns.php ) we were able to “fix” the issues using you newly introduced filter “avf_disable_columns_responsive_margin_padding”.
    For the Grid Row “cell” ( /config-templatebuilder/avia-shortcodes/grid_row/cell.php) this is not possible as you hardcoded the add_responsive_styles in there (line 603 in 5.2.1) without any possibility to disable that. Even worse it is set with the “!important” modifier rendering any attempt to change the values by custom css nearly impossible.
    We were only able to hotfix this within the Grid Row by using the “avf_el_styling_responsive_styles_skip” filter. Which leads to the sideeffect that the configured values for the Grid Row from the Enfold backend are now ignored and the default is always used. This is also breaking, but not as bad as before…

    In any way the way you added the Responsive styles seems to break backwards compat with custom CSS massively. I would kindly ask you to reconsider this feature and the way you implemented it. Custom CSS must remain to have a chance to overwrite the configured styles in the same way it did before Enfold 5.1. Alternatively we need a filter to permanently disable this feature globally(!). But that would only be the last resort in my oppinion.

    As a side info: We have the following filter configured as your post css generation didn’t work with our caching rules due to the location where the css was generated to: add_filter( 'avf_post_css_create_file', '__return_false', 10, 1 );
    So you might want to set this as well to have an identical environment.

    I will add a test case to reproduce into the private content. Just put the shortcodes into an empty page and switch to the advanced layout builder afterwards. Then open the page on the frontend. Then add the following custom css to Quick CSS save and reload the page on the frontend.
    Using the Browser DEV tools you will now see that the custom css cannot set the margin and padding anymore. That worked before and as there are many live sites out there relying on custom css this has to continue to work.
    If you then add the following filters, the custom css will work again (only fhe first filter is necessary for this example):

    
    add_filter( 'avf_disable_columns_responsive_margin_padding', '__return_true' );
    add_filter( 'avf_el_styling_responsive_styles_skip', '__return_true' );
    

    Quick CSS:

    
    .open-job-boxes .job-box{
        -webkit-box-shadow: 0 3px 6px 0px rgba(0,0,0,0.16);
        -moz-box-shadow: 0 3px 6px 0px rgba(0,0,0,0.16);
        box-shadow: 0 3px 6px 0px rgba(0,0,0,0.16);
        padding: 30px;
        background: #ffffff;
    }
    
    .open-job-boxes .job-box h3{
        font-size: 20px;
        color: #212121 !important;
        font-weight: 600;
        margin-top: 20px;
    }
    
    .open-job-boxes .job-box a {
        background-color: #b3041c;
        padding: 13px 20px 11px 20px;
        font-size: 16px;
        color: #fff;
        text-align: center;
        overflow: hidden;
        position: relative;
        display: block;
        margin: 40px auto -51px auto;
        transition: 0.4s;
        border-radius: 0;
        max-width: 250px;
        border-color: #b3041c !important;
    }
    
    .open-job-boxes .job-box a:hover{
        background-color: #cb001c !important;
    }
    
    .open-job-boxes .job-box:before{
        content: "";
        height: 52px;
        width: 52px;
        display: block;
        margin: -60px auto -5px auto;
        border-radius: 100px;
        border: 5px solid #fff;
        background: #b3041c;
        position: relative;
        z-index: 99;
        visibility: visible;
    }
    

    Thank you very much and best Regards,

    Jan

    • This topic was modified 3 years, 2 months ago by Jan Thiel. Reason: Layout fixes
    This reply has been marked as private.
    #1372038

    Hey Arobazinfo,

    Thank you for the inquiry.

    Which elements are you using? You can specify font sizes for different screen width in the Enfold > General Styling > Advanced Options: Customize Typography Settings section. You can also edit certain elements in the Enfold > Advanced Styling panel and use css media queries in the Enfold > General Styling > Quick CSS field to further adjust the style of certain elements. Please check the article below for more info about css media queries.

    // https://css-tricks.com/a-complete-guide-to-css-media-queries/

    Best regards,
    Ismael

    #1371984
    Arobazinfo
    Participant

    Hello to everyone !
    Please excuse me for my rusty english. I noticed that the size of my fonts does not adapt to different screens. Indeed with the basic settings, on a smartphone the size is perfect. On the other hand, it becomes too small on a 36 inch for example. Is there an adaptive function for different screens? Thank you in advance.

    Hi,

    You can upload screenshots to a service like Google Drive, Dropbox or similar, then link to it here.

    I doubt that the update caused this though, since the styling is coming from your child theme:

    .row_courses a {
        color: #003087;
        font-family: 'open_sansbold';
        font-size: 20px;
        display: block;
        position: absolute;
        left: 0;
        right: 0;
        bottom: 75px;
    }
    
    .row_courses a {
        font-size: 17px;
        bottom: 35px;
    }

    The row_courses class is not a theme class either, so it’s something that has been added by someone else.

    Best regards,
    Rikard

    #1371889

    I’ve tried different fonts and did not have this issue with others. If the font can’t display character properly it still shows it in black.
    This seems to be only “Cabin” font which for some reason shows everything properly but diacritics (only one) different colour.

    When I’ve tested this on https://www.1001fonts.com/cabin-font.html?text=%C5%A0%C4%8C%C5%BD%C5%A1%C4%8D%C5%BE&size=96
    It displays all the types properly. Is there some way to figure out what font exactly Enfold uses when H1 and Cabin is selected?

    #1371858

    Hey seo-systeme,

    Thank you for the inquiry.

    In the code below, we modified the parallax banner function a bit to include the category title and re-registers the template hooks. Please create a site backup, then add the code below in the functions.php file.

    
    
    function avia_woocommerce_big_cat_banner_mod()
    {
    	if(is_product_category())
    	{
    		global $wp_query, $avia_config;
    
    		if(isset($wp_query->query_vars['taxonomy']))
    		{
    			$term = get_term_by( 'slug', get_query_var($wp_query->query_vars['taxonomy']), $wp_query->query_vars['taxonomy']);
    			if( ! empty( $term->term_id ) )
    			{
    				$description 	= term_description() ;
    				$style		= avia_get_woocommerce_term_meta( $term->term_id, 'av_cat_styling' );
    				$attachment_id 	= avia_get_woocommerce_term_meta( $term->term_id, 'thumbnail_id' );
    
    				$overlay 	= avia_get_woocommerce_term_meta( $term->term_id, 'av-banner-overlay' );
    				$font 		= avia_get_woocommerce_term_meta( $term->term_id, 'av-banner-font' );
    				$opacity 	= avia_get_woocommerce_term_meta( $term->term_id, 'av-banner-overlay-opacity' );
    
    				if(!empty($style))
    				{
    					remove_action( 'woocommerce_before_shop_loop', 'woocommerce_taxonomy_archive_description', 11 );
    					echo avia_woocommerce_parallax_banner_mod($attachment_id, $overlay, $opacity, $description, $font);
    					$avia_config['woo-banner'] = true;
    				}
    			}
    		}
    	}
    }
    
    function avia_woocommerce_shop_banner_mod()
    {
    	global $avia_config;
    
    	if(is_shop() || (is_product_category() && avia_get_option('shop_banner_global') == 'shop_banner_global') && !isset($avia_config['woo-banner']))
    	{
    		$options = avia_get_option();
    
    		if( isset( $options['shop_banner'] )  && ( $options['shop_banner'] == 'av-active-shop-banner' ) )
    		{
    			$bg 		= $options['shop_banner_image'];
    			$overlay 	= $options['shop_banner_overlay_color'];
    			$opacity 	= $options['shop_banner_overlay_opacity'];
    			$description= wpautop( $options['shop_banner_message'] );
    			$font 		= $options['shop_banner_message_color'];
    
    			echo avia_woocommerce_parallax_banner_mod( $bg, $overlay, $opacity, $description, $font );
    		}
    	}
    }
    
    function avia_woocommerce_parallax_banner_mod( $bg, $overlay, $opacity, $description, $font )
    {
    	if( is_numeric( $bg ) )
    	{
    		$bg = wp_get_attachment_image_src($bg, 'extra_large');
    		$bg = ( is_array( $bg ) && $bg[0] != '' ) ? $bg[0] : '';
    	}
    
    	if( $font )
    	{
    		$font = "style='color:{$font};'";
    	}
    
    	if( $bg )
    	{
    		$bg = "background-image: url({$bg});";
    	}
    
    	$output  = '';
    	$output .= '<div id="av_product_description" class="avia-section main_color avia-section-large avia-no-border-styling avia-full-stretch av-parallax-section av-section-color-overlay-active avia-bg-style-parallax container_wrap fullsize" data-section-bg-repeat="stretch" ' . $font . '>';
    	$output .=		'<div class="av-parallax avia-full-stretch" data-avia-parallax-ratio="0.3">';
    	$output .=			'<div class="av-parallax-inner av-parallax-woo" style="' . $bg . ' main_color background-attachment: scroll; background-position: 50% 50%; background-repeat: no-repeat;">';
    	$output .=			'</div>';
    	$output .=		'</div>';
    
    	$output .=		'<div class="av-section-color-overlay-wrap">';
    
    	if( ! empty( $overlay ) )
    	{
    		$output .=		'<div class="av-section-color-overlay" style="opacity: '.$opacity.'; background-color: ' . $overlay . '; "></div>';
    	}
    
    	$output .=			'<div class="container">';
    	$output .=				'<main class="template-page content av-content-full alpha units">';
    
    	if( $description )
    	{
    		$title = get_the_archive_title();
    		$output .=				"<h1>{$title}</h1>";
    		$output .=				"<p>{$description}</p>";
    	}
    
    	$output .=				'</main>';
    	$output .=			'</div>';
    	$output .=		'</div>';
    	$output .= '</div>';
    
    	return $output;
    }
    
    add_action('after_setup_theme', function() {
        remove_action( 'ava_after_main_container', 'avia_woocommerce_shop_banner', 11 );
        remove_action( 'ava_after_main_container', 'avia_woocommerce_big_cat_banner', 11 );
        add_action( 'ava_after_main_container', 'avia_woocommerce_shop_banner_mod', 11 );
        add_action( 'ava_after_main_container', 'avia_woocommerce_big_cat_banner_mod', 11 );
    }, 999);
    

    Best regards,
    Ismael

    #1371816

    Hey gabrimore98,

    Please try the following in Quick CSS under Enfold->General Styling:

    .av-tab-section-container .avia-content-slider .slide-entry-title {
        font-size: 18px;
    }

    Best regards,
    Rikard

    #1371792
    tonytrabon
    Participant

    In the page editor, I am making changes to font sizes in the popup Advanced Layout Editor, but it will not override the default sizes in the theme settings. The color override works fine at the page level, but not the font size

    #1371705

    Hi,

    Please add following code to Quick CSS field in Enfold theme options > General Styling tab

    
    #top .av-logo-container .social_bookmarks li a {
      font-size: 20px;
    }
    

    Regards,
    Yigit

    #1371680

    Hi Yigit,
    yes, that’s of course an option, thx. I did it, but would like to modify these aspects then:

    – No capitals
    – bigger font size
    – option to collapse / minimize the TOC

    Would be great if there are some CSS adjustments or so in order to get this. Then I would be happy to delete the other plugin :-)

    thx agin & cheers, Tilman

    • This reply was modified 3 years, 2 months ago by oestersund.
    #1371484

    Hey AuroraArcus,
    Thanks for the link to your page, I see the text overlap began at 1350px and below 400px the padding was adding to the problem so I recommend this css:

    @media only screen and (max-width: 1350px) { 
    #top .av-catalogue-title-container {
        font-size: .8em;
        line-height: 1em;
    }
    }
    @media only screen and (max-width: 420px) { 
    .responsive #top #wrap_all #av-layout-grid-1 .flex_cell {
        padding: 40px 20px !important;
    }
    }

    After applying the css, please clear your browser cache and check.
    For tablet and below the font change seems appropriate:
    2022-11-05_006.png
    and for very small mobile devices the added padding change also helps:
    2022-11-05_005.png

    Best regards,
    Mike

    #1371298

    Hey schwabino,

    Thank you for the inquiry.

    You can use this css code to adjust the style of the social icons in the top header.

    #top #header_meta .social_bookmarks li a {
        width: 60px;
        line-height: 60px;
        min-height: 60px;
        height: 100%;
        font-size: 20px;
    }
    
    #header_meta .container {
        min-height: 60px;
    }

    Please make sure to toggle or temporarily disable the Enfold > Performance > File Compression settings after adding the css.

    Best regards,
    Ismael

    #1371260

    Please dont ever delete this post.

    What an excellent insight into self hosting fonts.

    I have always gone down the route of individual fonts at 400 (regular) woff2 rather than variable to reduce the number of font files that need to be downloaded. The browser interpretation of font weights is normally adequate for most sites.

    I also pre-load them manually to prevent the font swap jumping in.

    Font Squirrel can further optimise Woff and Woff2 bringing the file size of each custom font down significantly. A Woff2 font created using cloud convert is often about 30 to 60% larger than using Font Squirrels Optimised versions. A site with 3 fonts for example would save about 100kb of data which is huge.

    If you want an alternative to roboto, arial, helvetica, open sans etc. Try Google font Karla – Compressed it is only about 17kb as a Woff2. The lightest Google font available?

    #1371240
    Ad-Min747
    Participant

    Hi,
    I have 2 images galeries on my landing page. They both are perfect grid with no horizontal and vertical space in between square images equaly sized.
    When I check on the page, an horizontal white strip (space) appears in between the lines so I’m not black full background anymore.
    Any idea? I’d like no vertical and horizontal space in between images for both galeries. (This was initialy the case but appeared may be after the theme update or fex lines added in the custom CSS that I tried to delete but without effect)

    Best regards.
    JM

    PS: for info, you once gave me the following Quick CSS inclued in the theme options Quick CSS section. If useful

    #top.home #references figure.av-inner-masonry.main_color {
    border: 0px solid #333333!important;
    }
    #top.home #portfolio figure.av-inner-masonry.main_color{
    border:1px solid #808080!important;
    }
    #top .fullsize .template-blog .post-title {
    font-size: 20px;
    color: #003185;
    }

    #1371235

    Hi,

    The changes I make in Enfold theme options does not apply in the front end. fx. if I change font color or size it does not show on the site. it worked fine yesterday. Everything is updated to the latest version.

    Changes on the “pages” does apply as normal. What to do?

    #1371161

    Hi,

    Thank you for the update.

    You can upload a custom svg file to the uploads folder or use the Media > Library to upload a media file, then use the following css code to adjust the style of the video controls.

    .mejs-button>button {
        background: transparent url(mejs-controls.svg);
        border: 0;
        cursor: pointer;
        display: block;
        font-size: 0;
        height: 20px;
        line-height: 0;
        margin: 10px 6px;
        overflow: hidden;
        padding: 0;
        position: absolute;
        text-decoration: none;
        width: 20px;
    }

    Replace the value of the background property with the custom svg file.

    Best regards,
    Ismael

    #1371045

    Hey Mark,
    Thanks for your question, have you added this css in the Quick CSS:

    .pagination a,.pagination span {
        display: block;
        float: left;
        font-size: 11px;
        line-height: 13px;
        padding: 2px 9px 1px 9px;
        text-decoration: none;
        width: auto
    }

    If you have please remove it, if not please include admin login in the Private Content area so we can investigate.

    Best regards,
    Mike

    #1370965

    Hi Franz,

    Please try the following in Quick CSS under Enfold->General Styling:

    .av-sort-by-term {
        font-size: 22px;
    }
    
    .av-sort-by-term a {
        color: red;
        font-family: verdana; 
    }
    
    .av-sort-by-term a.active_sort {
        color: blue;
    }

    Best regards,
    Rikard

    Hi,

    Thanks for that. Please try the following in Quick CSS under Enfold->General Styling:

    #top .fullsize .template-blog .post-title {
        font-size: 20px;
        color: #003185;
    }

    Best regards,
    Rikard

    #1370922
    schweg33
    Participant

    Hello together
    How can I format the category text.
    Font
    Font color
    Font size
    format

    thanks in advance
    kind regards

    Franz

    #1370568
    MaxityDE
    Participant

    It looks like the Slider Widget is putting a Google Fonts Link Tag in the website code, although we have uploaded and configured local fonts everywhere in Enfold. Inserted tag looks like this:

    
    <div id='layer_slider_1'  class='avia-layerslider main_color avia-shadow  avia-builder-el-0  el_before_av_two_third  avia-builder-el-first  container_wrap fullsize'  style='height: 961px;'  >
    <link href="https://fonts.googleapis.com/css?family=Open+Sans:100,100i,200,200i,300,300i,400,400i,500,500i,600,600i,700,700i,800,800i,900,900i" rel="stylesheet">
    <div id="layerslider_2_lhtuev5yc8r3" class="ls-wp-container fitvidsignore" style="width:1920px;height:960px;margin:0 auto;margin-bottom: 0px;">....
    

    We have double checked all options inside Enfold and could not find any reference to online fonts, we are using just our locally uploaded fonts.
    This creates a significant issue with GDPR compliance here in Germany and is starting to get sued by laywers. We already received a dissuasion and a claim for one of our websites with Enfold.

    We already tried this solution:

    
    add_filter( 'avf_output_google_webfonts_script', 'avf_output_google_webfonts_script', 10, 1 );
    function avf_output_google_webfonts_script( $activate )
    {
    	return false;
    }
    

    Unfortunately, this is not working, the link tag mentioned above is still inserted into the website.

    Please advice on how to get rid of Google fonts link tags inside Enfold. Thanks a lot! :)

    • This topic was modified 3 years, 3 months ago by MaxityDE.
    • This topic was modified 3 years, 3 months ago by MaxityDE.
    #1370460

    Hey Eleina,
    Thanks for the link to your example, try adding this code to your Enfold Theme Options ▸ Header ▸ Extra Elements ▸ Phone Number or small info text

    <ul class="topbar-contact"><li class="map"><span class="inline"><a href="#">[av_font_icon icon='ue842' font='entypo-fontello' size='20px'][/av_font_icon]Pet Street 123 - New York</a></span></li>  <li class="phone"><span class="inline"><a href="tel://1-555-555-5555">[av_font_icon icon='ue854' font='entypo-fontello' size='20px'][/av_font_icon]555-555-5555</a></span></li>  <li class="mail"><span class="inline"><a href="mailto: (Email address hidden if logged out) ">[av_font_icon icon='ue805' font='entypo-fontello' size='20px'][/av_font_icon] (Email address hidden if logged out) </a></span></li></ul>

    and add this css to your Enfold Theme Options ▸ General Styling ▸ Quick CSS field

    #header_meta .inline {display: inline-block;}
    #header_meta .topbar-contact ul {list-style: none; list-style-type: none;}
    #header_meta ul.topbar-contact li {display: inline;}
    #header_meta ul.topbar-contact li a {vertical-align: middle;}
    #header_meta ul.topbar-contact {margin-bottom: 0;}

    this is the expected results:
    2022-10-27_002.png

    Best regards,
    Mike

    #1370328
    satucker
    Participant

    I’m having a problem with the text boxes on fbclancaster.com. When I update them, sometimes they get really small on chrome browsers only (not affected on safari). Changing font size does nothing.

    See the homepage “Oct. 30 Family Worship” text box to see an example. It was also doing it on the I’m New page.

    Any ideas on how to fix this behavior?

    See sample pics of large and small here: https://www.dropbox.com/s/9ycbuwd3mnuwozi/Archive.zip?dl=0

Viewing 30 results - 1,591 through 1,620 (of 18,702 total)