Forum Replies Created

Viewing 30 posts - 1,111 through 1,140 (of 33,336 total)
  • Author
    Posts
  • Hi,
    The use this to make “Portfolio” h2

    function custom_script() { ?>
      <script>
    (function($) {
        function replaceElementTag(targetSelector, newTagString) {
          $(targetSelector).each(function(){
            var newElem = $(newTagString, {html: $(this).html()});
            $.each(this.attributes, function() {
              newElem.attr(this.name, this.value);
            });
            $(this).replaceWith(newElem);
          });
        }
        replaceElementTag('.page-id-4783 h1.main-title.entry-title', '<h2></h2>');
    }(jQuery)); 
    </script>
      <?php
    }
    add_action( 'wp_footer', 'custom_script', 99 );

    and manually change “NOS REALISATIONS EN CREATION DE SITES INTERNET” as h1
    “Découvrez notre portfolio” is h2
    as they look to be in a text element that you manually added.

    Best regards,
    Mike

    in reply to: Styling (css) areremoved/missing #1451617

    Hi,
    Try having your webserver disable X-Content-Type-Options “nosniff”, this seems to be the root of the problem.

    Best regards,
    Mike

    in reply to: GDPR banner showing in spite of everything being off #1451399

    Hi,
    Glad we were able to help, if you have any further questions please create a new thread and we will gladly try to help you. Thank you for using Enfold.

    Best regards,
    Mike

    in reply to: Reading time on blog page #1451397

    Hi,
    I notice that you are not using a child theme and have your customization in the parent theme functions.php
    all of these customizations will be lost the next time that you update the theme.
    If you are not going to use a child theme you could use the WP Code plugin then add a new snippet, in the top right corner use the PHP snippet as the code type:
    use wpcode php snippet and activate
    and ensure that it is activated, then save.
    I recommend that you move your customizations so you don’t lose them.
    I changed your Reading time code to this for your last requests:

    function add_reading_time_to_masonry_entry($content, $entry, $config) {
        $reading_time_html = "<div class='reading-time'></br>" . do_shortcode('[rt_reading_time post_id="' . $entry['ID'] . '" label="Lesedauer:" postfix="min" postfix_singular="min"]') . "</div>";
        $content .= $reading_time_html;
        return $content;
    }
    add_filter('avf_masonry_entry_title', 'add_reading_time_to_masonry_entry', 10, 3);

    Best regards,
    Mike

    Hey YMen45,
    Thank you for the link to your site, the title bar h1.main-title is the correct h1 for the page, but I see that you manually added two more on the page
    Enfold Support 6113
    use the following code at the end of your child theme functions.php file in Appearance ▸ Editor to change the correct one to a “p” tag, and then you can change the two manually added ones to use just one H1 tag.

    function custom_script() { ?>
      <script>
    (function($) {
        function replaceElementTag(targetSelector, newTagString) {
          $(targetSelector).each(function(){
            var newElem = $(newTagString, {html: $(this).html()});
            $.each(this.attributes, function() {
              newElem.attr(this.name, this.value);
            });
            $(this).replaceWith(newElem);
          });
        }
        replaceElementTag('.page-id-4783 h1.main-title.entry-title', '<p></p>');
    }(jQuery)); 
    </script>
      <?php
    }
    add_action( 'wp_footer', 'custom_script', 99 );

    Please ensure to copy the code from the forum and not an email notification so the symbols are not converted.

    Best regards,
    Mike

    in reply to: th text changed to image and italics in mobile view #1451394

    Hi,
    Glad we were able to help, if you have any further questions please create a new thread and we will gladly try to help you. Thank you for using Enfold.

    Best regards,
    Mike

    Hi,
    Glad we were able to help, if you have any further questions please create a new thread and we will gladly try to help you. Thank you for using Enfold.

    Best regards,
    Mike

    in reply to: Sidebar Menu Descriptions font size #1451392

    Hi,
    Glad we were able to help, if you have any further questions please create a new thread and we will gladly try to help you. Thank you for using Enfold.

    Best regards,
    Mike

    in reply to: Reading time on blog page #1451379

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

    #top #wrap_all .all_colors h3 .span-reading-time {
    	font-size: 12px;
    }

    and adjust the font size to suit.
    After applying the css, please clear your browser cache and check.

    Best regards,
    Mike

    in reply to: Mailchimp subscription #1451378

    Hi,
    Glad we were able to help, if you have any further questions please create a new thread and we will gladly try to help you. Thank you for using Enfold.

    Best regards,
    Mike

    Hey dburton77,
    Thank you for the link to your site, it looks like only some of your column rows are set as equal height:
    CARDBOARD ▸ CLEAN PAPER
    PET ▸ HDPE
    and in these the equal height is working for the columns, but the tables in the columns are not controlled by this setting so that is what you see as not equal height.
    For these adding this code to the end of your child theme functions.php file in Appearance ▸ Editor will help, for this one page

    function custom_equal_height_tables_script() { ?>
      <script>
    document.addEventListener('DOMContentLoaded', function() {
        const rows = document.querySelectorAll('.page-id-4431 .av-equal-height-column-flextable');
        rows.forEach(function(row) {
            const tables = row.querySelectorAll('.avia-table');
            let maxHeight = 0;
            tables.forEach(function(table) {
                const tableHeight = table.offsetHeight;
                if (tableHeight > maxHeight) {
                    maxHeight = tableHeight;
                }
            });
            tables.forEach(function(table) {
                table.style.height = maxHeight + 'px';
            });
        });
    });
    </script>
      <?php
    }
    add_action( 'wp_footer', 'custom_equal_height_tables_script', 99 );

    Please ensure to copy the code from the forum and not an email notification so the symbols are not converted.
    Please check your other columns so they also get the class av-equal-height-column-flextable and add this script.

    Best regards,
    Mike

    in reply to: th text changed to image and italics in mobile view #1451373

    Hey dburton77,
    Thank you for the link to your site, for the max-width 767px the heading row is hidden and the pseudo-element :before is used so the heading is stacked instead of being in a single row.
    To style the pseudo-element try this css:

    @media only screen and (max-width: 767px) {
        .responsive .avia_responsive_table .avia-data-table td:before {
            color: #0097ff;
            font-weight: 600;
            font-size: 17px;
            font-style: normal;
        }
    }

    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

    in reply to: Sidebar Menu Descriptions font size #1451372

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

    .html_header_sidebar #header .av-main-nav > li > a .avia-menu-subtext {
        font-size: 16px;
    }

    Please ensure to copy the code from the forum and not an email notification so the symbols are not converted.
    adjust the font size to suit and clear your browser cache

    Best regards,
    Mike

    in reply to: GDPR banner showing in spite of everything being off #1451371

    Hi,
    Thanks, I didn’t see this at all yesterday, but I did today, this looks like it is from the Autoptimize cache, so I disable the Autoptimize plugin and checked in different browsers.
    Please clear your browser cache and check, once you see that it is now not showing you can try enabling the Autoptimize again and try clearing the Autoptimize cache.
    Many users have issues with Autoptimize.

    Best regards,
    Mike

    Hi,
    The Feature A section is #ffffff set here:
    Enfold Support 6107
    the line is #e1e1e1 from enfold-alternate-color-border and is automatic if the color sections don’t have a manually added color:
    Enfold Support 6109
    ignore the other colors in the screenshot as it is not the same demo.

    Best regards,
    Mike

    in reply to: GDPR banner showing in spite of everything being off #1450808

    Hey gatehealing,
    Thank you for the link to your site, when I check your both of your pages I don’t find a “Learn More” button I only see a “Schedule an appointment” button.
    I checked logged in & out.
    Perhaps a screenshot would help.

    Best regards,
    Mike

    in reply to: Floating text window, with Close option #1450787

    Hi,
    This is an example with using text elements to hold the text for each popup and the script in a code block element that automatically numbers each box and link so you can add as many popup boxes as you wish. The boxes and links are number from the top down so the first link on the page will open the first box on the page.
    For this example this is how the backend looks:
    Enfold Support 6099
    you can add the text elements anywhere on your page, top or bottom it doesn’t matter because they will not show on the frontend.
    Each text element will have the custom classes: multi-popup mfp-hide
    Enfold Support 6101
    notice that the classes have no dots and the space between them.
    Then in your code block element add this code:

    <script>
    window.addEventListener('DOMContentLoaded', function() {
      (function($) {
        function assignUniqueIDs() {
          $('.multi-popup').each(function(index) {
            var uniqueID = 'multi-popup-' + (index + 1);
            $(this).attr('id', uniqueID);
          });
          
          $('.multi-popup-link').each(function(index) {
            var uniqueID = 'multi-popup-' + (index + 1);
            $(this).attr('href', '#' + uniqueID);
          });
        }
    
        assignUniqueIDs();
    
        $('.multi-popup-link').magnificPopup({
          type: 'inline',
          midClick: true
        });
      })(jQuery);
    });
    </script>
    
    <style>
    .multi-popup {
      position: relative;
      background: #FFF;
      padding: 20px;
      width: auto;
      max-width: 500px;
      margin: 20px auto;
    }
    </style>
    
    
    <a class="multi-popup-link" href="#">Link to box one</a></br>
    <a class="multi-popup-link" href="#">Link to box two</a></br>
    <a class="multi-popup-link" href="#">Link to box three</a></br>
    <a class="multi-popup-link" href="#">Link to box four</a></br>

    Please ensure to copy the code from the forum and not an email notification so the symbols are not converted.
    notice the four links at the bottom, you can add these in a different element if you wish, this is to show you the custom class that the links must have.
    Enfold Support 6097
    then on the frontend when you click a link the popup box will show:
    Enfold Support 6105

    Best regards,
    Mike

    in reply to: I need help to import demo #1450624

    Hi,
    Glad to hear that this helped you sort it out, if you have any further questions please create a new thread and we will gladly try to help you. Thank you for using Enfold.

    Best regards,
    Mike

    in reply to: Portfolio Grid #1450622

    Hey epkdesign,
    Try adding this code to the end of your child theme functions.php file in Appearance ▸ Editor:

    add_filter( 'avia_post_nav_entries', 'enfold_customization_postnav', 10, 2);
    function enfold_customization_postnav($entries, $settings)
    {
    if($settings['type'] == 'portfolio')
    {
    $settings['same_category'] = true;
    $entries['prev'] = get_next_post($settings['same_category'], $settings['excluded_terms'], $settings['taxonomy']);
    $entries['next'] = get_previous_post($settings['same_category'], $settings['excluded_terms'], $settings['taxonomy']);
    }
    return $entries;
    }

    Please ensure to copy the code from the forum and not an email notification so the symbols are not converted.

    Best regards,
    Mike

    in reply to: Mailchimp subscription #1450621

    Hey tammiviestinta,
    Thanks for the link to your page, I’m not able to add a single GDPR checkbox to my mailchimp form, instead I see this:
    Enfold Support 6095
    I also don’t have a paid account so I can not create two lists to choose from in the newsletter element to determine the error. I assume that when you test the checkboxes in both languages that they work correctly and the only issue is the language of the text.
    Try adding this code to the end of your child theme functions.php file in Appearance ▸ Editor, it will change the text for your Swedish page:

    function replace_the_checkbox_label_in_a_mailchimp_form_to_a_different_language() { ?>
      <script>
    (function($){
      $('html[lang="sv-SE"] #element_avia_av_privacy_agreement_1 label').text("Jag samtycker till att min information kommer att läggas till i Starck Coaching Oys marknadsföringsregister Reset Your Beliefs i enlighet med registerutlåtandet och jag kommer att få ett nyhetsbrev i framtiden. Jag kan avregistrera mig från nyhetsbrevet när som helst.");
    })(jQuery); 
    </script>
      <?php
    }
    add_action( 'wp_footer', 'replace_the_checkbox_label_in_a_mailchimp_form_to_a_different_language', 99 );

    Please ensure to copy the code from the forum and not an email notification so the symbols are not converted.

    Best regards,
    Mike

    Hey ThiloKiefer,
    This looks like the same issue as this feature request, in which the Dev Team writes yesterday: A solution will be added to Enfold 6.0 We don’t have a ETA for when Enfold 6.0 will be available, but thank you for your patience while this is added along with other improvements.

    Best regards,
    Mike

    in reply to: Styling (css) areremoved/missing #1450617

    Hi,
    Thank you for your patience, I checked the sites that you linked to but I found no errors like your screenshots.
    In your original thread using the avf_post_css_create_file snippet seemed to help you and two other users.
    It also seem to be due to a server setting: X-Content-Type-Options “nosniff” another user found that when they change this on their server the issue was solved. But as I recall you can not change this on your server, so you should use the avf_post_css_create_file snippet.
    I am unable to reproduce this issue even if I change the server settings to: X-Content-Type-Options “nosniff” so it seems that only certain servers have this error and it doesn’t seem to be directly a result of the theme settings but how the server handles X-Content-Type-Options “nosniff”

    Best regards,
    Mike

    Hi,
    When I check the two pages that you linked to I see two opening and closing header tags:
    Enfold Support 6093
    one set is around the theme header, and the othr set is around the woocommerce page template title, since both are closed this should not cause any issues.
    But if you want to change the woocommerce header tag to a div, add this code to the end of your child theme functions.php file in Appearance ▸ Editor:

    function change_woo_header_tag_to_div() { ?>
      <script>
    (function($) {
      $(function() {
        function replaceElementTag(targetSelector, newTagString) {
          $(targetSelector).each(function(){
            var newElem = $(newTagString, {html: $(this).html()});
            $.each(this.attributes, function() {
              newElem.attr(this.name, this.value);
            });
            $(this).replaceWith(newElem);
          });
        }
        replaceElementTag('header.woocommerce-products-header', '<div></div>');
      });
    }(jQuery)); 
    </script>
      <?php
    }
    add_action( 'wp_footer', 'change_woo_header_tag_to_div', 99 );

    Best regards,
    Mike

    in reply to: Floating text window, with Close option #1450609

    Hi,
    To me your example page the popup:
    Enfold Support 6089
    is the same as our lightbox popup examples, I think this solution would be the best one to follow, it uses buttons but with a minor adjustment it could use plan text links, you can see that the popup has the “X” to close, in the screenshot there is only two words, but you can add as much text as you like:
    2022 01 27 004
    In your example page there are five links and popups:
    Enfold Support 6091
    Are you going to use this in the same way? If so how many popups do you want to use?

    Best regards,
    Mike

    Hi,
    Currently your background-color is #888, but the demo page FEATURE B is #fcfcfc
    Enfold Support 6083
    you can change the color directly in the color section:
    Enfold Support 6085
    or in the theme settings:
    Enfold Support 6087
    but note that any color that you add to the element will overide the theme setting color.

    Best regards,
    Mike

    Hi,
    Glad Rikard could help, if you have any further questions please create a new thread and we will gladly try to help you. Thank you for using Enfold.

    Best regards,
    Mike

    in reply to: change text color #1450570

    Hey schweg33,
    Thanks for the link to your page, in your css above you have the color: color: #ff0000; to have a white text please use: color: #fff; you also need to add .main_color a to override the theme color, so the solution is:

    .main_color a.my-link-class {
    background-color: #ff3a2d;
    -webkit-border-radius: 33px;
    -moz-border-radius: 3px;
    color: #fff;
    font-size: 16px;
    padding: 7px 15px;
    }

    since this element only shows on mobile you can not have a mouse-over as touch devices don’t use a mouse-over.

    Best regards,
    Mike

    in reply to: accessibility #1450568

    Hey Advantage09,
    Please see the link below.

    Best regards,
    Mike

    in reply to: logo centered, Burger Menue right #1450566

    Hi,
    Glad we were able to help, if you have any further questions please create a new thread and we will gladly try to help you. Thank you for using Enfold.

    Best regards,
    Mike

    in reply to: Problem mit Firefox | Akkordeon | Enfold #1450368

    Hi,
    Glad to hear that you have this sorted out, if you have any further questions please create a new thread and we will gladly try to help you. Thank you for using Enfold.

    Best regards,
    Mike

Viewing 30 posts - 1,111 through 1,140 (of 33,336 total)