Viewing 30 results - 301 through 330 (of 11,179 total)
  • Author
    Search Results
  • #1446808

    Topic: Styling a flipbox

    in forum Enfold
    hallo352
    Participant

    Dear support team,

    I would like to realise a flipbox with the following styling:
    front side: H3 headline
    back side: description text + button
    Please see an example what I mean in the link below.
    How can I realise this design in Enfold?

    Many thanks
    Tanja

    Hey Tanja,
    Try using the shortcode wand
    block editor classic block shortcode wand
    which will let you use the button element to build your button like your others so they match.
    Or you could use Avia Layout Builder Debugger so you can view the shortcode of the other buttons.
    The shortcode that you used above doesn’t have all of the attributes for the colors, size, etc.

    Best regards,
    Mike

    #1446475

    In reply to: Video on mobile

    Hey birte5,
    Thanks for your patience, with I check your video “Roar”, linked below, on Android mobile the video will play in screen with the fullscreen button, this video is not autoplay:
    Enfold Support 5918
    Enfold Support 5920
    Enfold Support 5922
    I don’t have a iPhone so I don’t know if it is different. Please check this page and see if this is the same for you.

    Best regards,
    Mike

    #1446469

    In reply to: Yoast SEO

    Hey Anne,
    I believe that you are referring to this highlighting button:
    Enfold Support 5914
    These will work on pages created with the WordPress Editor but not on pages created with the Advanced Layout Builder because it can not highlight text inside of elements.
    I don’t know of any other plugins with this feature.
    For some features you will need to ensure that the Enfold Theme Options ▸ SEO Support ▸ Preprocessing Shortcodes In Header ▸ allow to preprocess shortcodes is enabled.
    Enfold Support 5916

    Best regards,
    Mike

    Jambar
    Participant

    I think these two might be related, but lets start with the full width issue.

    I have had to make some pages on the Gutenberg block editor with Spectra addon as the avia Advanced Layout Builder button suddently went missing. As you can see in this image, full width is not full with. The background colours do not stretch to the top or the bottom.

    Enfold General layout is set to stretched.

    Ive also tried adding this code in quick CSS and theme customise CSS based on an old post, but it did not help.

    `#top .fullsize .template-blog .post .entry-content-wrapper > *,
    #top .fullsize .template-blog .post .entry-content-wrapper {
    max-width: 100%;
    }

    Front end and admin panel images showing not full width:
    CleanShot 2024-05-24 at 14.27.59
    CleanShot 2024-05-24 at 14.32.21

    Hey Tanja,

    Thank you for the inquiry.

    You can use this css code to adjust the style of the submit button in the footer widget:

    #footer .field-wrap>div input[type=checkbox], #footer .field-wrap button, #footer .field-wrap input[type=button], #footer .field-wrap input[type=submit] {
        width: auto;
        border-radius: 3px;
        padding: 10px;
        font-size: 16px;
        text-decoration: none;
        display: inline-block;
        border-bottom-style: solid;
        border-bottom-width: 1px;
        margin: 3px 0;
        line-height: 1.2em;
        position: relative;
        font-weight: 400;
        text-align: center;
        max-width: 100%;
        color: var(--enfold-alternate-color-button-font);
        border-color: var(--enfold-alternate-color-button-border);
        background-color: var(--enfold-alternate-color-primary);
        min-width: 180px;
    }

    Best regards,
    Ismael

    #1445022

    you can only influence the select box ( as check boxes, radio buttons etc. ) by replacing the original html by a different html structure.

    put this to your child-theme functions.php:
    ( it is specific to your form – because the selector for that form element is given by the ID: #element_avia_6_1
    on other form elements it might be a different ID )

    function style_select_options(){
    ?>
    <script>
    window.addEventListener("DOMContentLoaded", function () { 
        (function($) {     
            $('.avia_ajax_form #element_avia_6_1').addClass('custom-select');
        })(jQuery);
    
        var x, i, j, l, ll, selElmnt, a, b, c;
        /* Look for any elements with the class "custom-select": */
        x = document.getElementsByClassName("custom-select");
        l = x.length;
        for (i = 0; i < l; i++) {
          selElmnt = x[i].getElementsByTagName("select")[0];
          ll = selElmnt.length;
          /* For each element, create a new DIV that will act as the selected item: */
          a = document.createElement("DIV");
          a.setAttribute("class", "select-selected");
          a.innerHTML = selElmnt.options[selElmnt.selectedIndex].innerHTML;
          x[i].appendChild(a);
          /* For each element, create a new DIV that will contain the option list: */
          b = document.createElement("DIV");
          b.setAttribute("class", "select-items select-hide");
          for (j = 1; j < ll; j++) {
            /* For each option in the original select element,
            create a new DIV that will act as an option item: */
            c = document.createElement("DIV");
            c.innerHTML = selElmnt.options[j].innerHTML;
            c.addEventListener("click", function(e) {
                /* When an item is clicked, update the original select box,
                and the selected item: */
                var y, i, k, s, h, sl, yl;
                s = this.parentNode.parentNode.getElementsByTagName("select")[0];
                sl = s.length;
                h = this.parentNode.previousSibling;
                for (i = 0; i < sl; i++) {
                  if (s.options[i].innerHTML == this.innerHTML) {
                    s.selectedIndex = i;
                    h.innerHTML = this.innerHTML;
                    y = this.parentNode.getElementsByClassName("same-as-selected");
                    yl = y.length;
                    for (k = 0; k < yl; k++) {
                      y[k].removeAttribute("class");
                    }
                    this.setAttribute("class", "same-as-selected");
                    break;
                  }
                }
                h.click();
            });
            b.appendChild(c);
          }
          x[i].appendChild(b);
          a.addEventListener("click", function(e) {
            /* When the select box is clicked, close any other select boxes,
            and open/close the current select box: */
            e.stopPropagation();
            closeAllSelect(this);
            this.nextSibling.classList.toggle("select-hide");
            this.classList.toggle("select-arrow-active");
          });
        }
    
        function closeAllSelect(elmnt) {
          /* A function that will close all select boxes in the document,
          except the current select box: */
          var x, y, i, xl, yl, arrNo = [];
          x = document.getElementsByClassName("select-items");
          y = document.getElementsByClassName("select-selected");
          xl = x.length;
          yl = y.length;
          for (i = 0; i < yl; i++) {
            if (elmnt == y[i]) {
              arrNo.push(i)
            } else {
              y[i].classList.remove("select-arrow-active");
            }
          }
          for (i = 0; i < xl; i++) {
            if (arrNo.indexOf(i)) {
              x[i].classList.add("select-hide");
            }
          }
        }
    
        /* If the user clicks anywhere outside the select box,
        then close all select boxes: */
        document.addEventListener("click", closeAllSelect); 
    
    });
    </script>
    <?php
    }
    add_action('wp_footer', 'style_select_options');
    

    after that for quick.css:

    /*the container must be positioned relative:*/
    .custom-select {
      font-family: inherit;
      text-transform: uppercase;
    }
    
    .custom-select select {
      display: none !important;
    }
    
    #top .select-selected {
      background-color: var(--enfold-main-color-bg);
      border-color: var(--enfold-main-color-primary);
      border-width: 1px;
      height: 41px;
      font-size: 12px;
      color: var(--enfold-main-color-primary);
      opacity: 0.7
    }
    
    /*style the arrow inside the select element:*/
    .select-selected:after {
      position: absolute;
      content: "";
      top: 18px;
      right: 10px;
      width: 0;
      height: 0;
      border: 6px solid transparent;
      border-color: #666 transparent transparent transparent;
    }
    
    /*point the arrow upwards when the select box is open (active):*/
    .select-selected.select-arrow-active:after {
      border-color: transparent transparent #666 transparent;
      top: 12px;
    }
    
    /*style the items (options), including the selected item:*/
    .select-items div,
    .select-selected {
      color: #FFF;
      padding: 2px 15px 2px;
      border: 1px solid transparent;
      border-color: transparent transparent rgba(0, 0, 0, 0.1) transparent;
      cursor: pointer;
      user-select: none;
    }
    
    /*style the items (options), including the selected item:*/
    .select-selected {
      padding: 5px 15px 2px;
    }
    
    /*style items (options):*/
    .select-items {
      position: absolute;
      background-color: #ddd;
      top: 100%;
      left: 0;
      right: 0;
      z-index: 99;
      font-size: 12px
    }
    
    /*hide the items when the select box is closed:*/
    .select-hide {
      display: none;
    }
    
    .select-items div:hover, .same-as-selected {
      background-color: #7d2a7e;
      color: #fff !important;
    }

    Looks then this way – but you can now style each option and pseudo states to your needs:

    • This reply was modified 1 year, 8 months ago by Guenni007.
    #1444525

    In reply to: frames the same width?

    Hey schweg33,
    Try this CSS in your <strong style=’color:#000′>Enfold Theme Options ▸ General Styling ▸ Quick CSS field:

    @media only screen and (max-width: 1224px) { 
    #top.home .avia-button.avia-size-small {
    	min-width: 100%;
    } 
    }

    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

    Richard Mohun
    Guest

    This is not a usable subscription form – the actual subscription button only come visible if you point over the button area – otherwise its invisible. Also the boxes for entering email seems to have a white font against a white background so you can’t see what you are typing……
    (checked using Firefox and Safari)

    Puts a big doubt in my mind whether to buy Enfold

    Richard Mohun

    STAY UPDATED ON NEW THEME RELEASES.
    SUBSCRIBE TO OUR NEWSLETTER!
    (We keep your Email address private and we do not spam – promised)

    Hi,
    You can try and since most of these you are not using on your site you can disable them at Enfold Theme Options ▸ Performance ▸ Disable Template Builder Elements
    Enfold Support 5736
    Blue means that it is disabled, you should see text next to the button unused or in use to help you so you don’t disable elements in use:
    Enfold Support 5738

    Best regards,
    Mike

    #1442646

    Hey northorie,

    Thank you for the inquiry.

    You can add mew buttons for cookie bar in the Enfold > Privacy & Cookies > Cookie Handling > Buttons section. Simply click the green plus icon (+) to add a new button.

    Best regards,
    Ismael

    annesite
    Participant

    Hi,

    I just updated Enfold 5.7.1 but now all the texts in my boutons changed of color.
    Normaly they are in white, now they disappear or are in blue.

    Can you help me ?

    Thanks in advance,

    Hey sailentpooN,
    Thank you for your patience and the link to your slider, I recommend using the LayerSlider for your situation, I created a test page linked below so you can see that it will work better and I linked the LayerSlider export file of my example if you want to try it on your site, just use the import project button in the LayerSlider:
    Enfold Support 5716

    Best regards,
    Mike

    Hey AlyssaMandy,
    To fade-in try this CSS in your Enfold Theme Options ▸ General Styling ▸ Quick CSS field:

    .avia_transform .active-slide .avia-caption-title, 
    .avia_transform .active-slide .avia-caption-content, 
    .avia_transform .active-slide .avia-slideshow-button-2, 
    .avia_transform .active-slide .avia-slideshow-button {
        -webkit-animation: avia-fadein 0.7s 1 cubic-bezier(0.175, 0.885, 0.320, 1.275) !important;
        animation: avia-fadein 0.7s 1 cubic-bezier(0.175, 0.885, 0.320, 1.275) !important; 
    }

    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

    mfuji
    Participant

    Hi,
    My website has been slow lately and cannot pass Google’s core web vitals test. Currently I am using host server’s optimization tool, and this is the slowest file.
    URL https://www.interactiongreen.com/wp-content/uploads/siteground-optimizer-assets/siteground-optimizer-combined-css-b925f36671b15d7d50e5a5f98e150a37.css

    I am assuming that this is large because of the “the extensive CSS content on my site.” However, because I knew that Enfold is slow, I only use a couple of features within Avia Layout builder like gallery, buttons, magazine and occasional video. I enable lazy loading, disable animation, use “load upon access” for the video. I have no customized features. I don’t know that else I can do to make my CSS content smaller. Why is Enfold CSS content so large? As I don’t use most of the features anyway to improve speed, is there any way I can exclude CSS I don’t use?

    Also, it was my understanding that I should disable features on Enfold’s “Website Performance And Optimization” when I use a third party performance optimizer. (which is what I do now) Currently, CSS File Merging And Compression, Javascript File Merging And Compression among other features are disabled on Enfold.
    But as I cannot speed up my site, I wonder if I should enable some of these features. Please let me know.

    AlyssaMandy
    Participant

    Hello, I have loaded the church demo and the fullwidth easy slider animation on the frontpage is set so that the title, caption and buttons slide onto the screen. I would like to change this so that the elements fade in instead, such as in this example: https://kriesi.at/documentation/enfold/example-of-animated-slider-title-captions-and-buttons/

    Where can I adjust this? Thank you.

    Hi,

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

    @media only screen and (max-width: 767px) {
    .home .avia-fullscreen-slider .caption_bottom .slideshow_caption {
        bottom: 250px;
    }
    .home .slideshow_inner_caption .avia-slideshow-button.avia-button {
        background-color: #a37652;
        color: white;
        border-radius: 10px;
    }
    }

    Best regards,
    Rikard

    GWS
    Participant

    Hi, I’m having a similar problem to the one I had in 2019 with the Enfold / WordPress updates affecting the way the child theme functions.php is supposed to work. The link to that ticket is https://kriesi.at/support/topic/error-with-enfold-child-theme-functions-php-move-search-icon-since-wp5-2-upgrade/

    When I performed the updates the search box is now appearing in the top left above the logo where it is not supposed to be. The search box in the top bar to the right is where we have placed the search icon. In Enfold’s child theme functions.php, we have been using the following:

    function av_move_search(){
    ?>
    <script>
    /* appends search button to the top secondary menu */
    jQuery(window).load(function(){
    jQuery(“#menu-item-search”).detach().appendTo(‘#header_meta .sub_menu ul’)
    });
    </script>
    <?php
    }
    add_action(‘wp_footer’, ‘av_move_search’);

    It has worked fine except for the glitchy problem in 2019, which we resolved by rolling back the WordPress version and then waiting a bit to update. This time though I thought I’d leave it for you to see so you can advise us on a better approach for when this happens. Could you please take a look? Thank you.

    Hi,

    Thank you for the info.

    You may need to check this thread: https://kriesi.at/support/topic/no-in-smart-quantity-woo-plugin/#post-1435087

    The plugin might be conflicting with the theme’s custom quantity button. This can be fixed by editing the enfold/config-woocommerce/woocommerce-mod.js file and removing this code around line 131:

    avia_apply_quant_btn();
    

    Best regards,
    Ismael

    #1441076

    In reply to: SearchWP

    Hi,
    Thank you for your patience, I set the function above back to the original code from the documentation and then added a custom searchform.php file to your child theme with this:

    <?php
    if( ! defined( 'ABSPATH' ) )   { exit; }
    
    global $avia_config;
    
    
    // Modify the search parameters for custom search URL
    $search_params = apply_filters('avf_frontend_search_form_param', array(
        'placeholder'   => __('Search', 'avia_framework'),
        'search_id'     => 'swps',  // Changed from 's' to 'swps'
        'form_action'   => home_url('/') . '?swp_form%5Bform_id%5D=1', // Appended custom query string
        'ajax_disable'  => false
    ));
    
    $disable_ajax = $search_params['ajax_disable'] == false ? '' : 'av_disable_ajax_search';
    
    $icon = av_icon_char('search');
    $class = av_icon_class('search');
    ?>
    
    <form action="<?php echo $search_params['form_action']; ?>" id="searchform" method="get" class="<?php echo $disable_ajax; ?>">
        <div>
            <input type="submit" value="<?php echo $icon; ?>" id="searchsubmit" class="button <?php echo $class; ?>" />
            <input type="text" id="s" name="<?php echo $search_params['search_id']; ?>" value="<?php echo esc_attr(get_search_query()); ?>" placeholder="<?php echo esc_attr($search_params['placeholder']); ?>" />
        </div>
    </form>
    

    now your ajax form “Show all results” link points to ?swp_form%5Bform_id%5D=1&swps=
    Enfold_Support_5602.jpeg
    and lands on your custom SearchWP results page:
    Enfold_Support_5604.jpeg

    Best regards,
    Mike

    #1441061

    Hey peterolle,
    To remove the “Add to Cart” button that changes to “Read More” for products without a price and add the class single_button to the div avia_cart_buttons so the button is centered add this code to the end of your child theme functions.php file in Appearance ▸ Editor:

    add_action('woocommerce_before_shop_loop_item', 'start_custom_output_buffer', 9);
    function start_custom_output_buffer() {
        ob_start();
    }
    add_action('woocommerce_after_shop_loop_item', 'modify_and_end_custom_output_buffer', 25);
    function modify_and_end_custom_output_buffer() {
        $output = ob_get_clean();
        global $product;
        if ('' === $product->get_price()) {
            $output = str_replace("avia_cart_buttons", "avia_cart_buttons single_button", $output);
        }
        echo $output; 
    }
    add_filter('woocommerce_loop_add_to_cart_link', 'custom_woocommerce_loop_add_to_cart_link', 10, 2);
    function custom_woocommerce_loop_add_to_cart_link($button, $product) {
        if ('' === $product->get_price()) {
            return '';
        }
        return $button;
    }
    

    Please ensure to copy the code from the forum and not an email notification so the symbols are not converted.
    This is the expected results:
    Enfold_Support_5600.jpeg

    Best regards,
    Mike

    Hi Robin,

    You can drag a Button element to a new layout and then activate debug mode under Enfold->Layout Builder->Show advanced option in order to see the shortcodes for that button, then you can copy that shortcode to the location in question.

    Best regards,
    Rikard

    #1440995

    In reply to: no underline in button

    Hi,
    Try this CSS in your Enfold Theme Options ▸ General Styling ▸ Quick CSS field:

    #main a.avia-button {
      text-decoration: none; 
    }

    After applying the css, please clear your browser cache and check.

    Best regards,
    Mike

    #1440991
    vbelani
    Participant

    Good morning. Last night I updated my Enfold theme on my url everything was fine. This morning I get a email from my hosting about this error. I would greatly appreciate any help in pointing me in the right direction to fix it. Thank you
    Warning: count(): Parameter must be an array or an object that implements Countable in /var/www/wp-content/themes/enfold/framework/php/function-set-avia-frontend.php on line 1478

    Notice: Function register_sidebar was called incorrectly. No id was set in the arguments array for the “” sidebar. Defaulting to “”. Manually set the id to “” to silence this notice and keep existing sidebar content. Please see Debugging in WordPress for more information. (This message was added in version 4.2.0.) in /var/www/wp-includes/functions.php on line 6078

    Fatal error: Access level to avia_sc_chart::shortcode_insert_button() must be public (as in class aviaShortcodeTemplate) in /var/www/wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/chart/chart.php on line 49
    There has been a critical error on this website.

    #1440981

    In reply to: no underline in button

    Hey rixi,

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

    a.avia-button {
      text-decoration: none; 
    }

    Best regards,
    Rikard

    #1440834
    JoStudioDeRijp
    Participant

    Hi Enfold support :-)
    I have a question. I am busy with a new website and something strange happens… sometimes a page is not showing the right colours in the front. The text seems to be okay, but the backgroundcolor of the content sections + the buttoncolors sometimes are all white. When I change somtething in the background and then refresh, everything is okay again.
    I have made screenshots how can I show/send them to you? In the private content I give you the login credentials of the website.
    Is there a possibility that you can help me? I hope so!

    #1440824
    peterolle
    Participant

    Using WooCommerce and seeing a product page, I need to add a button for inquiries about that product.

    Is there a way to do this using Enfold contact forms?

    S24-Marketing
    Participant

    Hey guys!

    We use the Enfold theme for our corporate website. As part of the approaching implementation of the European Accessibility Act (EAA), we tested our site for barriers. Some barriers were homemade, others were based on the semantics and role names used in the theme.

    For example, for tabs, a role “tablist” is correctly defined on the div construct. The tab has the role “tab”. Unfortunately, the child, i.e. the actual content, is missing the “tabpanel” role. This fact is criticized during exams. Furthermore, also correctly, the id of the child to be controlled (tabpanel) is defined in the tab with aria-controls=id-des-child. Unfortunately, the child (tabpanel) itself is missing that it is described by the tab. So, on the one hand, the tab is missing the corresponding id (id=id-of-the-tab) and, on the other hand, the child (tabpanel) is missing an aria-labelledby=id-of-the-tab.

    Another unpleasant barrier is the empty list

      above any form. Notes are added to this list in the event of an incorrect form being sent. Without error, an empty list without child elements is detected and this is non-compliant. In case the empty list must remain, you should assign the attribute <ul aria-hidden=true> to the element. Then it is hidden in the accessibility tree. As soon as the list has a child, the value true should be changed to false.

      In general, care should be taken in the theme to ensure that elements that are not used but are relevant to the structure of the page, such as headlines, lists, buttons, etc., are not kept as empty or placeholder elements for later dynamic processes. These elements can be accessed through assistive technologies (e.g. screen readers) and then cause confusion. If it cannot be implemented differently in the code, then the elements must be given the attribute aria-hidden=true and, depending on the element, also hidden in the tab navigation with tabindex=-1. For example, if you do not want to use the <h2> element (milestone date) in the theme content element “Timeline” for design reasons, the H2 is kept empty in the code as a placeholder <h2></h2>. A screen reader therefore reads an empty heading.

      Can these barriers be resolved in a next update to the Enfold theme? Or what tools do I have to exclude or resolve the barriers in a roundabout way without creating cumbersome Javascript workarounds?

      For your information, the test was carried out using the highly recommended plugin for checking accessibility (WCAG 2.2) from Eye-Able. The tool is called Audit.

      Note: The two plugins “One click Accessibility” or “WP Accessibility” suggested in the theme extensions do not help.

      Thank you for your feedback.

      Best regards, Marko

      #1440620

      Hi,
      Try this example CSS in your Enfold Theme Options ▸ General Styling ▸ Quick CSS field to make the background color red, font white, and remove the border radius:

      #top #wrap_all .slideshow_inner_caption .avia-slideshow-button.avia-button {
          background-color: red;
          color: white;
          border-radius: 0;
      }

      adjust to suit.
      To make the button background color blue on hover add this css:

      #top #wrap_all .slideshow_inner_caption .avia-slideshow-button.avia-button:hover {
          background-color: blue;
          color: white;
          border-radius: 0;
      }

      you can also change the font color and border radius on hover.

      Best regards,
      Mike

      #1440353

      Hi,
      Please note the Lock icon on the button for the Insert Shape button, these means that it is a Premium Feature
      Enfold_Support_5494.jpeg
      Most features are included with the theme, but LayerSlider has reserved some features for the premium version.

      Best regards,
      Mike

    Viewing 30 results - 301 through 330 (of 11,179 total)