Viewing 30 results - 421 through 450 (of 18,738 total)
  • Author
    Search Results
  • Hi @mike,
    I added the code to function.php but it doesnt seem to work, also, this doesn’t provide me with an answer/solution for the design question.
    >add a transparant overlay
    >center the title
    >configure the font size of the title

    (see above questions). you have the login to my site:)

    best regards, Peter

    Der Dev / Mods : I read about this filter in the link at Typography : avf_el_styling_responsive_font_size_skip

    so i can skip the responsive settings for some ALB Elements : like headings:

    
    function custom_responsive_font_size_skip( $skip, array $atts, \aviaShortcodeTemplate $sc_context, $font_id, $selector_container ){
    	if( $sc_context instanceof avia_sc_heading ){
    		return true;
    	}
    	return $skip;
    }
    add_filter( 'avf_el_styling_responsive_font_size_skip', 'custom_responsive_font_size_skip', 10, 5 );

    looking which elements do have this i read about another filter : avf_responsive_media_sizes
    is it possible to redefine those settings?

    apply_filters( 'avf_responsive_media_sizes', array(
    		'av-desktop'		=> array( 990, 0 ),
    		'av-medium'		=> array( 768, 989 ),
    		'av-small'		=> array( 480, 767 ),
    		'av-mini'		=> array( 0, 479 )
    ) );

    Wegen etwas höherer Browser Kompatibilität (so war es jedenfalls mal bei Safari und clamp) nutze ich für fluide font-size Definitionen die min/max Methode.
    Siehe Link in Enfold Typography Sektion: https://spencermortensen.com/articles/typographic-scale/ wählte ich die musikalische Skala – und zwar einmal mit Faktor 2 und dann 3 ergeben sich folgende font-size Größen:
    40-60, 36-50, 32-42, 28-34, 25-29, 22-24
    was zu folgenden fluid Werten führt (ausgehend von einem viewport von 320px bis 1500px (Fluid-Font Calculator)
    ____
    Due to slightly higher browser compatibility, I use the min/max method for fluid font-size definitions.
    See link in Enfold Typography section: https://spencermortensen.com/articles/typographic-scale/ I chose the musical scale – once with factor 2 and then 3 the following font-size sizes result:
    40-60, 36-50, 32-42, 28-34, 25-29, 22-24
    which leads to the following fluid values (based on a viewport of 320px to 1500px (Fluid-Font Calculator)

    da Enfold selbst mit CSS Variablen arbeitet:
    as Enfold itself works with CSS variables:

    :root {
      --enfold-font-size-theme-content: 13px;
      --enfold-font-size-theme-h1: 34px;
      --enfold-font-size-theme-h2: 28px;
      --enfold-font-size-theme-h3: 20px;
      --enfold-font-size-theme-h4: 18px;
      --enfold-font-size-theme-h5: 16px;
      --enfold-font-size-theme-h6: 14px;
    }

    könnte man die mittels Filter überschreiben:
    you could overwrite them using a filter:

    function my_avf_dynamic_css_after_vars( $output = '' ){
      $output .= "\n";
      $output .= ":root {\n";
      $output .=    "--enfold-font-size-theme-h1: min(max(40px, calc(2.5rem + (60 - 40) * ((100vw - 320px) / (1500 - 320)))), 60px);\n";
      $output .=    "--enfold-font-size-theme-h2: min(max(36px, calc(2.25rem + (50 - 36) * ((100vw - 320px) / (1500 - 320)))), 50px);\n";
      $output .=    "--enfold-font-size-theme-h3: min(max(32px, calc(2rem + (42 - 32) * ((100vw - 320px) / (1500 - 320)))), 42px);\n";
      $output .=    "--enfold-font-size-theme-h4: min(max(28px, calc(1.75rem + (34 - 28) * ((100vw - 320px) / (1500 - 320)))), 34px);\n";
      $output .=    "--enfold-font-size-theme-h5: min(max(25px, calc(1.5625rem + (29 - 25) * ((100vw - 320px) / (1500 - 320)))), 29px);\n";
      $output .=    "--enfold-font-size-theme-h6: min(max(22px, calc(1.375rem + (24 - 22) * ((100vw - 320px) / (1500 - 320)))), 24px);\n";
      $output .=    "--enfold-font-size-theme-content: min(max(16px, calc(1rem + (20 - 16) * ((100vw - 320px) / (1500 - 320)))), 20px);\n";  // p-tags  
      $output .= "}\n";
    
      return $output;
    }
    add_filter( 'avf_dynamic_css_after_vars', 'my_avf_dynamic_css_after_vars', 10, 1 );

    ich behielt mal die long-hand Version der min-max schreibweise – so wird deutlich wie die font-sizes berechnet werden.
    I kept the long-hand version of the min-max notation – this makes it clear how the font sizes are calculated.

    um es dann global durchzusetzen dies in die quick css:
    to then globally enforce this here in the quick css:

    
    body {font-size: var(--enfold-font-size-theme-content);}
    #top h1 {font-size: var(--enfold-font-size-theme-h1);  }
    #top h2 {font-size: var(--enfold-font-size-theme-h2); }
    #top h3 {font-size: var(--enfold-font-size-theme-h3);  }
    #top h4 {font-size: var(--enfold-font-size-theme-h4); }
    #top h5 {font-size: var(--enfold-font-size-theme-h5);  }
    #top h6 {font-size: var(--enfold-font-size-theme-h6);  }
    

    btw: on Layout Builder – Typography Input Fields – you can activate that switch to have:
    “Activate to replace predefined selectboxes with font sizes with text fields to use custom units. Only recommended for experienced users who know, what they are doing. This is in active beta (since 5.0.1).”
    – you then can insert those fluid values to that input field. e.g. for extremly big h1 headings (80-120px) etc.

    Oder sollte man diesen Ansatz wählen und auf Media Queries verzichten bzgl. der typogarfischen Gestaltung?
    Or should you choose this approach and do without media queries with regard to typographical design?

    /* Basis-Schriftgröße für das gesamte Dokument festlegen */
    html {
    font-size: 16px; /* Basisschriftgröße ist 16px */

    /* CSS-Variablen für Schriftgrößen mit clamp() */
    –font-h1: clamp(2.5rem, 5vw + 1rem, 6.25rem); /* Mindestens 40px, ideal mit Viewport skaliert, maximal 100px */
    –font-h2: clamp(1.8rem, 3.5vw + 0.5rem, 2.5rem); /* Mindestens 28.8px, maximal 40px */
    –font-h3: clamp(1.6rem, 3vw + 0.5rem, 2rem); /* Mindestens 25.6px, maximal 32px */
    –font-h4: clamp(1.4rem, 2.5vw + 0.5rem, 1.75rem); /* Mindestens 22.4px, maximal 28px */
    –font-h5: clamp(1.2rem, 2vw + 0.5rem, 1.5rem); /* Mindestens 19.2px, maximal 24px */
    –font-h6: clamp(1.1rem, 1.5vw + 0.5rem, 1.25rem); /* Mindestens 17.6px, maximal 20px */
    –font-p: clamp(1rem, 1.5vw + 0.5rem, 1.2rem); /* Mindestens 16px, maximal 19.2px */
    –font-menu: clamp(0.9rem, 1vw + 0.5rem, 1.1rem); /* Mindestens 14.4px, maximal 17.6px */

    /* Schriftglättung aktivieren */
    -webkit-font-smoothing: antialiased; /* Glättet die Schrift */
    -moz-osx-font-smoothing: grayscale; /* Optimiert für Mac-Geräte */
    }

    /* Verwenden der CSS-Variablen für die Überschriften und Textelemente */
    h1 {
    font-size: var(–font-h1);
    line-height: 1.2; /* Kompakter für große Headlines */
    text-transform: none !important;
    }

    h2 {
    font-size: var(–font-h2);
    line-height: 1.3; /* Etwas großzügiger als H1 */
    text-transform: none !important;
    }

    h3 {
    font-size: var(–font-h3);
    line-height: 1.4;
    text-transform: none !important;
    }

    h4 {
    font-size: var(–font-h4);
    line-height: 1.4;
    text-transform: none !important;
    }

    h5 {
    font-size: var(–font-h5);
    line-height: 1.5; /* Noch großzügiger */
    text-transform: none !important;
    }

    h6 {
    font-size: var(–font-h6);
    line-height: 1.5;
    text-transform: none !important;
    }

    p {
    font-size: var(–font-p);
    line-height: 1.6; /* Optimal für Fließtexte */
    }

    .main_menu li a {
    font-size: var(–font-menu);
    line-height: 1.4; /* Angemessen für Menüpunkte */
    }

    /* Schriftglättung und Font-Weight für Überschriften */
    h1, h2, h3, h4, h5, h6 {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-weight: 400 !important; /* Verhindert Überschreibungen */
    }

    #1471874
    whdsolutions
    Participant

    We have a problem!
    We need to mpve the shoping cart icon and box left and the burger menu also, but doing so the hover and click of the cart icon makes the burger menu appear.
    How can we fix this?
    The site needs to be signed off n the nex couple of hours, or I don’t get paid :-(
    Sorry!
    you will need to be logged in to see the store, so I have added a login for you!

    This is the code we have added:

    `/* CART AND BURGER MENU */
    .cart_dropdown_first .cart_dropdown_link {
    display: block;
    padding: 0 0 0 0;
    text-decoration: none;
    line-height: 44px;
    font-size: 20px;
    position: absolute;
    z-index: 2;
    width: 100%;
    height: 100%;
    background: #dad2c7 !important;
    }
    @media only screen and (max-width: 1650px) {
    .responsive #top .cart_dropdown {
    margin-right: 20px !important;
    }
    }

    Screenshot-2024-11-21-191254

    #1471720

    Following on from this

    I can 100% confirm this was the cause of our server issues.

    Essentially ALL Enfold websites with WooCommerce installed will gradually use up the ram and see mysql memory usage rise until the server crashes.

    The bots getting stuck crawling all of the ?avia_extended_shop_select=yes queries includes:
    Even with the rel-nofollow:
    Bing bot
    Google bot
    A majority of major search engines
    AI crawlers – New aggressive bots that ignore all instructions

    See screenshot of the before and after. Our Ram use fell from almost 90GB of ram used to 8GB used on average.
    Physical Ram usage screenshot
    https://www.dropbox.com/scl/fi/tw8p399gfdr9cclorc5j9/ramuse-screenshot.PNG?rlkey=d9ty4xvui4w3m2ycb9b9ez94s&st=28aameqn&dl=0
    Mysql memory usage screenshot
    https://www.dropbox.com/scl/fi/iixhdd5vpe7253tbavbxf/mysql-memory-usage.PNG?rlkey=15061shf0haiu3d36cdy0be3t&st=ep9fncx5&dl=0

    SOLUTION
    I propose that Enfold removes the custom sort by options and reinstates the default Woocommerce ones.
    The defaults use form fields and JS so there are no a href links in the default woo sort by dropdown. Bots cannot follow these links because there are no urls in the HTML.

    In your child theme functions.php add the following to remove the enfold filters and reinstate the woo ones.

    // remove the enfold sort by filters
    function avia_woocommerce_frontend_search_params()
    {
       return;
    }
    // reinstate the woo default sort by filters
    add_action( 'woocommerce_before_shop_loop', 'woocommerce_catalog_ordering', 20 );

    Add the following CSS to quick CSS and tweak depending on your sidebar position:

    .sort-param-count {
    display:none;
    }
    .product-sorting {
    padding-top:0px;
    }
    div .product-sorting ul, div .product-sorting li {
    font-size: 16px;
    }
    div .product-sorting ul {
    width: 200px;
    }
    .main_color .sort-param a {
        color: #000000;
    }
    .sort-param-sort a, ul.sort-param-order {
    border: 1px;
    border-color: #969696;
    border-style: solid;
    }
    @media only screen and (max-width: 767px) {
        .responsive #top .woocommerce-ordering {
            position: relative;
            float: left;
            clear: both;
            margin: 0;
            padding-bottom: 25px;
            padding-top: 15px;
            top: 0px;
        }
    }
    @media only screen and (min-width: 768px) {
        .responsive #top .woocommerce-ordering {
            position: relative;
            float: left;
            clear: both;
            margin: 0;
            padding-bottom: 25px;
            padding-top: 15px;
            top: 0px;
        }
    }
    #top.woocommerce-page .woocommerce-ordering select {
    width: 100%;
    font-size:16px;
    }

    Install the Redirection Plugin:

    Add the following RegEX expression to redirect the queries so that the URL redirects BEFORE the query runs on the DB

    Source URL: ^/(.*?)/\?avia_extended_shop_select=.*
    Enable: Ignore Case, Regex and Ignore Slash
    Target URL: /$1/
    Hit Save
    This will redirect any attempt to crawl the enfold filters back to the current category

    #1471631

    Hey Tanja,

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

    @media only screen and (max-width: 400px) {
      .responsive #top #header_main #menu-item-548 a {
        padding: 0 0 0 10px;
        font-size: 12px;
      }
    }

    Best regards,
    Rikard

    #1471301

    Hi,

    Thanks for the update. I’ve set the font size for the h2 element to default under Advanced Styling, you can see that the sizes that you have set under General Styling->Typography are now applying.

    Best regards,
    Rikard

    #1471248

    Hi,

    If you take the h2 element as an example; you need to remove the h2 element from Advanced Styling, or not set the font size there. Otherwise that setting will override what you have set under General Styling->Typography.

    Best regards,
    Rikard

    #1471237

    So the General Styling tab > Advanced Options: Customize Typography Settings don’t work?

    The Advanced Styling options don’t provide responsive font size control (desktop, tablet, mobile). That’s why I’m trying to use the Customize Typography Settings. If they don’t work, why are they offered?

    #1471206

    Hi,

    Thanks for the update. The Advanced styling will override the typography settings, so please set your preferred font sizes there instead.

    Best regards,
    Rikard

    Hey!

    That;’s odd. It’s trying to render a color section inside the wc-block-components-product-metadata container. Did you install another extension for the cart page?

    <div class="wc-block-components-product-metadata__description">
    
    <p><!-- close content main element -->
    
    </p><div id="av_section_1" class="avia-section av-1kyp15-9030148cefa3c746e7eea48a2f9eff09 main_color avia-section-default avia-no-border-styling avia-bg-style-scroll container_wrap fullsize">
    <div class="container av-section-cont-open">
    <div class="template-page content  av-content-full alpha units">
    <div class="post-entry post-entry-type-page post-entry-16">
    <div class="entry-content-wrapper clearfix">
    <p>#top .av-special-heading.av-m36hux32-30fb6fe0a6b72a7cec61b44773014a1f{<br>
    padding-bottom:10px;<br>
    }<br>
    body .av-special-heading.av-m36hux32-30fb6fe0a6b72a7cec61b44773014a1f .av-special-heading-tag .heading-char{<br>
    font-size:25px;<br>
    }<br>
    .av-special-heading.av-m36hux32-30fb6fe0a6b72a7cec61b44773014a1f .av-subheading{<br>
    font-size:15px;<br>
    }</p></div></div></div></div></div></div>
    

    Best regards,
    Ismael

    #1471190

    Hi,

    Thank you for the info.

    The rotator text doesn’t resize correctly because of this css code:

    .av-rotator-container-inner span {
        font-size: 65px!important;
    }

    Please remove the css code or adjust it accordingly, and then make sure to purge the cache afterward.

    Best regards,
    Ismael

    #1471175

    Correction, General Styling tab > Advanced Options: Customize Typography Settings is what is not appearing to take affect. The Advanced Styling only sets a generic font size for all devices. The General Styling tab offers font sizes for desktop, tablet portrait, tablet landscape and mobile—and that’s what’s not overriding the Advanced Styling generic setting.

    #1471165
    amandahook62
    Participant

    Hello, I set the mobile text size for the text rotator element on my homepage to 19 but does not apply when on mobile. I have tried a few different devices, cleared the cache, disabled the performance settings. I dont mind the font size but it overlaps – maybe there is a way to add more vertical space to the two lines rather than adjust the font size?

    #1471161
    Sandy
    Participant

    In testing and tweaking a site for a good mobile experience, I’m reviewing font sizes. I adjusted the General Styling tab > Advanced Options: Customize Typography Settings, but they do not appear to take affect. I even deleted the Advanced Styling tab typography option that was set in case of conflict. I even cleared the server host cache, disabled the Enfold CSS and javascript compression and cleared the mobile browser cache. No success-–I can’t see the changed font size.

    #1471048

    Hi,

    We adjusted the font of the submit button and the padding as requested.

    .avia_ajax_form .button {
        padding: 21px 50px;
        font-size: 15px;
        min-width: 200px;
        letter-spacing: 0.05em;
        font-weight: 400;
        font-family: 'open sans', Helvetica, Arial, sans-serif;
        padding-bottom: 23px;
        padding-top: 25px;
    }
    

    Best regards,
    Ismael

    #1470970

    In reply to: Hamberger menu trigger

    Hi,
    I think this I understand now, try adding this css:

    @media only screen and (max-width: 1023px) {
        .responsive #top #wrap_all #header .menu-item-search-dropdown>a {
            font-size: 24px;
        }
    }

    Please ensure to copy the code from the forum and not an email notification so the symbols are not converted.
    After applying the css, please clear your browser cache and check.

    Best regards,
    Mike

    #1470958

    Hey Gianluca,
    Your audiowide font doesn’t have a thinner font size, so you can not change, I recommend choosing a different font.

    Best regards,
    Mike

    #1470941

    In reply to: Hamberger menu trigger

    did you copy&paste that code? because if it is your page ( and your nick is very informative ) than a code like:

    @media only screen and (max-width: 1023px) {
      #top #header .av-main-nav > li.menu-item  {
        display: none!important;
      }
      #top #header .av-burger-menu-main {
        cursor: pointer;
        display: block!important;
      }
      .responsive #top #header .av-main-nav #menu-item-search {
        display: block !important;
      }
      .responsive #top #header .av-main-nav #menu-item-search  > a {
        font-size: 24px;
      }
    }

    will work in dev tools. So if you realy entered the correct code – then it might be a caching issue that you can not see the changings. So refresh all caches of such tools – and refresh on Enfold on Performance Tab just at the bottom: “Delete Old CSS And JS Files?”

    1023px seems to be a good value – because on the ipad Pro 12.9 inch – (1024px) the text menu is still visible and is not above the logo.

    PS: i added the code to show the search icon aswell on burger active and with a little bigger icon.

    #1470911

    I think I have solved the issue with the following CSS code;
    @media only screen and (max-width: 1170px) and (max-height: 844px), only screen and (max-width: 375px) and (max-height: 812px) {
    #top #wrap_all .avia-slideshow .av-slideshow-caption.av-19l7r0yx-f4a9287caa6e093433c04f70226b8e0c__1 .avia-caption-title {
    margin-top: 10px !important;
    font-size: 38px !important;
    }
    }

    #1470870

    Hi,

    Thank you for the update.

    We edited the code in the Quick CSS field:

    .avia_ajax_form .button {
        padding: 21px 50px;
        font-size: 15px;
        min-width: 200px;
        letter-spacing: 0.05em;
        font-weight: 700;
    }

    Best regards,
    Ismael

    #1470869

    In reply to: Header

    Hey Lene,

    Thank you for the inquiry.

    We edited the css rules in the Appearance > Customize > Extra CSS panel:

    
    .topKnap a {
        width: 140px;
        height: 52px;
        color: #fff;
        display: inline-block;
        text-align: center;
        text-decoration: none;
        margin-right: 6px;
        padding: 21px 50px;
        font-weight: 700;
        font-size: 15px;
        position: relative;
        float: right;
        min-width: 200px;
        letter-spacing: 0.05em;
        background-color: #55726f;
        border-radius: 50px;
        -moz-transition: 200ms all ease-in-out;
        -o-transition: 200ms all ease-in-out;
        -webkit-transition: 200ms all ease-in-out;
        transition: 200ms all ease-in-out;
    }
    
    .topKnap a:hover {
        background-color: #55726f;
        color: #fff;
    }
    
    .responsive #top #header #header_main .inner-container .widget .fas {
        color: #55726f !important;
    }

    Best regards,
    Ismael

    #1470831

    Topic: Header

    in forum Enfold
    Sachs
    Participant

    Hi Support

    Please could you help me out with adjusting the header? Previously Mike adjusted the ccs when setting up the customized header and menu.
    I have the following small changes to be done.

    STYLING OF ICONS (PHONE & MAIL)
    The icon’s color should be changed to:
    #55726f

    STYLING OF BUTTON
    Only “Ring nu” button, please delete the with “Book tid”
    New ccs-code should contain:

    border-radius: 50px
    color: #fff
    background-color: #55726f
    background-color: #55726f (hover)

    padding: 21px 50px;
    font-size: 15px;
    min-width: 200px;
    Font:weight: 700
    Letter-spacing: 0.05em
    I have deactivated the security plugin, so it should now be possible to access the stylesheet, where Mike has made the customizing.

    Many thanks
    Best regards
    Lene Sachs

    #1470829
    This reply has been marked as private.
    #1470773

    you can do that via font-size and either padding or min-width:

    .avia_ajax_form .button {
      padding: 16px 50px;
      font-size: 1.4em;
      min-width: 200px;
    }
    #1470703

    In reply to: text below logo

    Rikard,

    I tried as you suggested and it worked. However, the mobile version has too much white space between the logo and first section of content. Is there CSS that will take care of that issue on mobile while maintaining the desktop version? This is the custom CSS I currently have. Thanks!

    #top .logo,
    #top .logo a {
    overflow: visible;
    }

    /* Subtext styling */
    .logo .subtext h1 {
    font-size: 13px;
    font-weight: 600;
    }

    .logo .subtext {
    z-index: 999;
    }
    /* Reduce the logo height to make space for the subtext below */
    #top #header .logo img {
    max-height: 65%!important;
    margin-top: 10px;
    margin-bottom: 12px;
    }

    /* OPTIONAL CHOICE : Change position of subtext when scrolled */
    #top #header.header-scrolled .logo img {
    max-height: 100%!important;
    }
    #top #header.header-scrolled .logo .subtext {
    position: absolute;
    top: 50%;
    right: 0;
    transform: translate(120%, -50%);
    }

    #1470628

    In reply to: Font size

    Hey magdazafeir,

    Thank you for the inquiry.

    You can adjust the default font size in the Enfold > General Styling > Typography panel. You can also set values for different sizes. If you need more styling options, you can configure the style of the paragraph element in the Enfold > Advanced Styling panel.

    Best regards,
    Ismael

    #1470603

    Topic: Font size

    in forum Enfold
    magdazafeir
    Participant

    Hello,

    I would like to kindly ask you how can i change the font size of the main body text?

    Thank you

    #1470422

    Hey Thumphreys,

    You have an open media query in Quick CSS:

    
    .logo img {
        top: 50%;
        transform: translateY(-50%);
    }
    @media only screen and (min-width: 768px) and (max-width: 989px) {
        .responsive .logo img {
            margin: 0;
            display: none;
        }
    #top div .caption_center .slideshow_caption {
        left: 0;
        width: 100%;
        text-align: center;
        font-size: 35px;
    }

    That is likely why the theme options are not applying.

    Best regards,
    Rikard

Viewing 30 results - 421 through 450 (of 18,738 total)