Viewing 30 results - 1,591 through 1,620 (of 18,718 total)
  • Author
    Search Results
  • #1373741
    visurnet
    Participant

    I highlighted two menu items. One orange and the other green. I wish they looked like buttons. But the height is too high. I would like to lower the height.

    The website can be seen here.

    https://www.successionetelematica.com/

    I used this code

    .highlighted {
    background color: #ff7514;
    border-radius: 5px;
    }
    .highlight at, .highlight at:hover, .highlight at:focus {
    color: #ffffff !important;
    font-weight: bold;
    }
    .menu_main_nav>li>a {
    padding: 6px 5px 6px;
    font-size: 0.929em;
    font weight: 500;
    line height: 1.28em;
    }
    .highlighted2 {
    background color: #008f39;
    border-radius: 5px;
    }
    .highlight2 a, .highlight2 a:hover, .highlight2 a:focus {
    color: #ffffff !important;
    font-weight: bold;
    }
    .menu_main_nav>li>a {
    padding: 6px 5px 6px;
    font-size: 0.929em;
    font weight: 500;
    line height: 1.28em;
    }

    How can I lower the height?

    Thank you

    #1373678

    In reply to: font size navi widget

    Hey rixi,

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

    #menu-menuric li a {
      font-size: 18px; 
      color: red;
    }

    Best regards,
    Rikard

    #1373668

    Topic: font size navi widget

    in forum Enfold
    rixi
    Participant

    Hi,
    would be great if anybody can give me a code for quick css for the font size and colr for the navigatione in the sidebar.
    In the moment is is to small.

    Thanks a lot
    rixi

    #1373296

    In reply to: Fonts keep on changing

    Hi Mike,

    I just put in the code, but it didnt change the font to black unfortunately.

    I completely removed Smush, but the problem still occured. I found an easy workaround. I copied each of the elements and deleted the original after I had pasted them all again. Then no problem occured.

    Im looking to use a plugin to reduce the image sizes. Both Smush and Optimole are wrecking my site. Have you heard of a plugin that can do the trick without “hopefully” doing any damage:)?

    Thanks for the help again

    #1373224

    Hi,

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

    .sub_menu_socket .avia-menu-text {
      font-size: 16px !important;
    }

    You can change the copyright text under Enfold->Footer.

    Best regards,
    Rikard

    #1373203
    robertbl1
    Participant

    Hi. I want to change the socket right side font size because the g letter is cutoff. But want to let the left side the same size where it says copyright. How do i do it?
    Thank you.

    • This topic was modified 3 years, 3 months ago by robertbl1.
    #1373098

    Hey daineax,

    You can add an ID or class to the button in the element options, under Advanced->Developer settings. You can then target your custom button like this:

    .your-button class .avia-button {
      color: red; 
      font-size: 24px; 
      background-color: green; 
    }

    Best regards,
    Rikard

    #1373047

    Hi,

    Thank you for the update.

    Decreasing the size of the text should prevent the issue.

    span.av-rotator-text-single {
        font-size: 0.6em;
        font-family: "Arial", serif;
    }

    You can also use the css code above to adjust the font-family of the rotating text.

    Best regards,
    Ismael

    #1373038
    daineax
    Participant

    Hi there!

    Firstly, thank you very much for your help.

    I would like to create a second type of button on the front page of my website (link included below).

    I have successfully created and customized my buttons in 1 default style.

    However, I would like to have a second type/class of button with different font and different size of font, on the same page as the first button.

    I tried hard to read the instructions here: https://kriesi.at/documentation/enfold/button/ but am sort of confused with regards to what direction I should take – add custom CSS? But am not sure where to put it.

    Thank you!

    #1372866

    Hey Monika,

    Thank you for the inquiry.

    Have you tried using a larger or wider column, or decreasing the size of the rotator text? The text wraps to the next line because the line can no longer contain the characters. Decreasing the text size or using a wider column should ensure that the whole sentence can be contained in the same line. You can adjust the position of the rotator element in the Styling > Font Sizes toggle.

    To adjust the style of the rotator text, please try this css code.

    .av-rotator-text {
        font-family: inherit;
        font-weight: 300;
    }
    

    Let us know if there’s anything else we can help you with.

    Best regards,
    Ismael

    #1372861

    Hey diefleischerei,

    Thank for the question.

    You can try this css code to adjust the style of the comments including the font size.

    #top .comment_text {
        clear: both;
        font-size: 1.3em;
        padding: 0 0 15px 0;
        border: none;
    }

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

    Best regards,
    Ismael

    Thanks, Rikard, I tried.

    “Website Layout” Full Width
    Maximum Width Container: 100%

    I have the idea some Quick CSS can be contradicting.
    I am not fully into it.
    Here is the complete Quick CSS:

    }
    #footer .widgettitle {
    font-weight:bold;
    }
    .container_wrap {
    border: none;
    }

    @media only screen and (max-width: 767px){
    .responsive #top #wrap_all #project-hero-section > .container {
    width: 100%;
    max-width: 100%;
    }
    }
    .single-post .avia_textblock { max-width: 400px; }

    .avia_desktop .av-masonry-entry:hover .av-masonry-image-container {
    -webkit-transform: none;
    transform: none;
    }

    .avia_desktop.avia_transform3d .av-masonry-entry.av-masonry-item-loaded .av-inner-masonry {
    -webkit-animation: none !important;
    animation: none !important;
    }
    .av-masonry-entry-title, .av-masonry-entry-content {
    text-align:center;
    }
    @media screen and (min-width: 767px) {
    #top .container .av-masonry.av-large-gap {
    left: -35px;
    }
    #footer .widgettitle {
    font-size: 15px;
    font-weight: bold;
    color: white!important;
    }
    .page-id-2123 .main_menu {
    display: none;
    }
    #main .content, #main .sidebar {
    padding-top: 10px;
    }

    .page-id-2175 .main_menu {
    display: none;
    }
    #main .content, #main .sidebar {
    padding-top: 10px;
    }

    @media only screen and (max-width: 767px) {
    #top #wrap_all .av-inherit-size .av-special-heading-tag {
    padding-top: 50px!important;
    }}
    #concordia .container {
    width: 100%;
    padding: 0;
    }
    {
    @media only screen and (max-width: 767px) {
    #concordia .container {
    width: 100%;
    max-width: 100%;
    }
    }
    .container {
    max-width: 100%;
    }

    #1372604

    Hey cuccarini,

    Thank you for the inquiry.

    1.) This is possible but you have to display 4 items for each row on desktop view, then use this css code to adjust the width of the items on smaller screens.

    @media only screen and (max-width: 767px) {
      .responsive #top #wrap_all #main .avia-content-slider .slide-entry-wrap {
        display: flex;
        flex-direction: row;
        justify-content: space-around;
        flex-wrap: wrap;
      }
    }
    

    Again, you have to display the items in 4 columns instead of 3 in order for this modification to work correctly.

    2.) This is possible but it will require modification that is beyond the scope of support. You may need to edit the single.php or the includes > loop-index.php template in order to achieve the same layout shown in your screenshot. For starters, you can use this css code to split the featured image and the content into separate columns.

    
    @media only screen and (max-width: 767px) {
      .responsive #top #wrap_all #main .avia-content-slider .slide-entry {
        width: 100% !important;
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
      }
    
      .responsive #top #wrap_all #main .avia-content-slider .slide-entry .slide-content {
        flex-grow: 1;
        width: 60%;
        flex-shrink: 0;
        margin-left: 4%;
      }
    
      h3.slide-entry-title.entry-title {
        text-align: left;
        font-size: 20px !important;
      }
    }
    

    Best regards,
    Ismael

    #1372570

    In reply to: Main Menu

    Hi,
    Your css to change the font size to 64px had a space between 64 & px, so that it would not work, I removed the space.
    64 seems very large to me, please clear your browser cache and check and adjust to suit.

    Best regards,
    Mike

    #1372557
    cuccarini
    Participant

    Hello,

    here I am again … to bother you. :-D
    I have two problems with mobile view:

  • on this page https://www.fishesinvasion.com/prints/ I would like to have posts on 2 columns on mobile instead of 3 on desktop
  • on this page https://www.fishesinvasion.com/articles/ I would like to have the posts in the same way as the following example https://drive.google.com/drive/folders/1MWFJoXIjHbPJwPlg1HyI0UZKpxna5w7S?usp=share_link

    Finally to change the total in the cart I used the following incorrect way to get the result, it works fine, but I know there is a better way to do it.
    /* total back and bold */
    #after_section_1 > div > div > div > div > section > div > div > div.cart-collaterals > div > table > tbody > tr.order-total > td > strong > span {
    color: black;
    font-size: 14px;
    font-weight: bold;
    }

    As usual thanks in advance for you help
    Andrew

#1372544

In reply to: Main Menu

yes, the CSS before was 47:: Original
#header_main .phone_number a p {
font-size: 47px;

Changed to 64. I also changed the
#header_main .phone_number a {
top: -10px;
position: relative;
}
to
#header_main .phone_number a {
top: 10px;
position: relative;
}

and no change reflecting.

#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, 3 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

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