Forum Replies Created

Viewing 30 posts - 13,081 through 13,110 (of 35,286 total)
  • Author
    Posts
  • in reply to: Set transparent header as default header style #1341401

    Hi,
    The .header_scrolled class is added when the Enfold Theme Options ▸ Header ▸ Header behavior ▸ Shrinking Header option is enabled.
    The script above is missing });, the corrected script looks like this:

    function add_custom_script(){
    ?>
    <script>
    (function($){
        $(window).scroll(function() {    
        var scroll = $(window).scrollTop();
    
        if (scroll >= 50) {
            $("#header").addClass("header-scrolled");
        } else {
            $("#header").removeClass("header-scrolled");
        }
    });
    })(jQuery);
    </script>
    <?php
    }
    add_action('wp_footer', 'add_custom_script');

    Best regards,
    Mike

    in reply to: How to change color of hover-background in Burger-Menu? #1341398

    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: How to change color of hover-background in Burger-Menu? #1341395

    Hi,
    I tested Yigit’s code above and it corrects the background fade issue and I added a rule to make the menu text color pink on hover, please try this full solution:

    #top .av_header_transparency .main_menu ul:first-child > li > a:hover, #top .av_header_transparency .main_menu ul:first-child > li > a:focus, #top #wrap_all .av_header_transparency .sub_menu > ul > li > a:hover, #top #wrap_all .av_header_transparency .sub_menu > ul > li > a:focus {
      opacity: 1;
    }
    #top #wrap_all .av-burger-overlay #av-burger-menu-ul li a:hover .avia-menu-text {
        color:#ff0197;
    }

    Please note that when you copy the code do so from the forum not an email as the greater than symbols may paste incorrectly, then clear your browser cache and any cache plugin, and check.
    If this doesn’t help please include an admin login in the Private Content area so we can be of more assistance.

    Best regards,
    Mike

    in reply to: Remove sidebar from blog on mobile #1341393

    Hi,
    Glad Ismael 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: MAILCHIMP widget freezes when entering a test subscriber #1341392

    Hi,
    Thank you for the link to your site and the screenshot, I see that you are getting a 500 server error from your Mailchimp form, but I’m not sure if it’s from your site or from Mailchimp. I tested Mailchimp on my demo site and it worked correctly, Please include an admin login to your site in the Private Content area, I would like to test further.
    But first, try disabling all of your plugins and check to ensure this is not due to a conflict.

    Best regards,
    Mike

    in reply to: Rotate image with text #1341390

    Hi,
    Glad to hear that this helped, but I’m not able to make the modifications to the core element as in your screenshot. I can submit a feature request for the Dev Team to consider it for a future update, but for your situation at hand I recommend continuing with the solution using :nth-child selectors to set the images for each tile.

    Best regards,
    Mike

    Hi,
    Thank you for your patience and the login, the portfolio tags are listed as classes in the masonry items so to ensure that only the correct tags are shown and if there are none show a message we need to know what tag the masonry is going to show, so you will need to add a custom class to the masonry element for the tag that you want to show.
    This will allow us to use one script for your whole site instead of writing a different script or css rule for every page.
    So for the test page the tag class you want to show was tag-trellis-ice
    2022-02-18_003.jpg
    the portfolio tag slug for this is trellis-ice so you see that you just add tag- to the beginning, this should explain how to adjust your other pages.
    you will add this class to the developer settings custom class field:
    2022-02-18_004.jpg
    as you see, if you already have a custom class there add the second class after a space.
    I then added this script to your child theme functions.php:

    function empty_masonry_message_script() { ?>
        <script>
    const allCategoryClasses = [];
    const elementsWithCategoryClasses = document.querySelectorAll("#av-masonry-1[class*='tag-']");
    const elementsCount = elementsWithCategoryClasses.length !== null;
    
    for (let i = 0; i < elementsCount; ++i) {
      Array.prototype.push.apply(
        allCategoryClasses,
        elementsWithCategoryClasses[i].classList
      );
    }
    const presentClasses = {};
    
    var tagClass = (allCategoryClasses
      .filter((classname) => {
        const present = presentClasses[classname];
        presentClasses[classname] = true;
        return classname.indexOf("tag-") === 0 && !present;
    }));
    
    (function($) {
    var nocat = $('<div class="nocat">No Current Projects</div>').css({'text-align':'center','font-size': '20px'});
    $('#av-masonry-1 .av-masonry-container.isotope a').each( function() {
    if ($(this).children(tagClass).length =! 0) {
      $(this).css({'display':'none'});
      
    }
    });
    if($('#av-masonry-1 .av-masonry-container.isotope a').is(':hidden')){
    	$(nocat).appendTo('#av-masonry-1');
    }
    })(jQuery);
    </script>
        <?php
    }
    add_action('wp_footer', 'empty_masonry_message_script');

    and now a message No Current Projects shows instead of the wrong items:
    2022-02-18_005.jpg
    Try adding the tag classes to other pages that have no matching products to display the message.

    Best regards,
    Mike

    in reply to: Newletter enfold #1341378

    Hi,
    Ese formulario se parece al elemento de contacto y cada vez que alguien lo completa, la dirección de correo electrónico agregada en el backend debería recibir un correo electrónico, los registros no se almacenan en ningún lado. ¿Estás recibiendo correos electrónicos de este formulario?
    De lo contrario, incluya el inicio de sesión de administrador en el área de contenido privado para que podamos verificarlo.

    — Translated with Google —

    That form looks like the contact element and each time that someone fills it out the email address added in the backend should get an email, the signups are not stored anywhere. Are you receiving emails from this form?
    If not please include admin login in the Private Content area so we can check for you.

    Best regards,
    Mike

    in reply to: Buttons flipping below each other in responsive view #1341336

    Hi,
    Parallax is generally deactivated on the iPhone.

    Best regards,
    Mike

    in reply to: Changing background while loading the startpage #1341152

    Hi,
    Portrait and landscape mobile widths for a background image would be very different, so you will deed to use different images, to know the widths for your images test your device with this tool: screen resolution, you may need to reload for portrait and landscape.
    Then model this css:

    @media only screen and (max-width: 767px) and (orientation: portrait) { 
        #top .av-siteloader-wrap {
        background-repeat: no-repeat;
        background-image: url(https://joakims.art/wp-content/uploads/2022/02/bg-intro-2000px.jpg);
        background-position: 50% 100%;
        background-attachment: scroll;
        background-size: cover;
    }
    }
    @media only screen and (max-width: 767px) and (orientation: landscape) { 
        #top .av-siteloader-wrap {
        background-repeat: no-repeat;
        background-image: url(https://joakims.art/wp-content/uploads/2022/02/bg-intro-2000px.jpg);
        background-position: 50% 100%;
        background-attachment: scroll;
        background-size: cover;
    }
    }
    @media only screen and (min-width: 768px) { 
        #top .av-siteloader-wrap {
        background-repeat: no-repeat;
        background-image: url(https://joakims.art/wp-content/uploads/2022/02/bg-intro-2000px.jpg);
        background-position: 50% 100%;
        background-attachment: scroll;
        background-size: cover;
    }
    }

    Note the first rule: (max-width: 767px) and (orientation: portrait) is for portrait mobile.
    The second rule: (max-width: 767px) and (orientation: landscape) is for landscape mobile.
    The last rule is the same as the last rule before and is for portrait and landscape tablet / desktop.

    Best regards,
    Mike

    in reply to: Font-size and center text in footer #1341147

    Hi,
    The above example was for portrait & landscape mobile, try adjusting the font size smaller or larger to suit your needs.
    The socket is set to 85% width, if you like you can also change this for mobile with this:

    @media only screen and (max-width: 767px) { 
    .responsive #top #socket > .container {
        width: 100%;
        max-width: 100%;
    }
    }

    this will set the width to 100% to give you more room, try a combination of different widths and font sizes to suit your needs.
    If you still have trouble post a screenshot of what you see and what you expect and the width (screen resolution) of the device you are using.

    Best regards,
    Mike

    in reply to: Mega Menu Styling & Adding an Extra Column #1341136

    Hi,
    Glad to hear, I tested for the “white strip” on Windows in Chrome, Firefox, & Edge but didn’t see it, what browser and OS are you using?
    Can you make a screencast of it?

    Best regards,
    Mike

    in reply to: Load image from url as a button #1341018

    Hi,
    Glad we could help, shall we close this then?

    Best regards,
    Mike

    in reply to: fontello symbols and dsgvo #1341016

    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: Space between Image and next section #1341014

    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: Corrupted Thumbnails on Enfold Latest News Sidebar Widget #1341012

    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: Enfold update from 4.4.1 to latest version #1341010

    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: Remove scroll down arrow on mobile #1341008

    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: Post slider dots indicator #1341007

    Hi,
    Guenni007, getting the items count on case “All” is above my knowledge so I submitted a feature request to add this option in the Post Slider like it is in the Content Slider and Günter has opened it, this could take a while as the Dev Team has a lot on their plate, but I feel encouraged that in a future update this may be available.
    For now, I recommend setting the number of entries as in the screenshot above.

    Best regards,
    Mike

    in reply to: Post slider dots indicator #1340907

    Hi,
    Instead of the above code at line 1059 in postslider.php add this code:

    protected function slide_navigation_dots()
    {
        $args = array(
                    'total_entries'		=> $this->atts['items'],
                    'container_entries'	=> $this->atts['columns'],
                    'context'			=> get_class(),
                    'params'			=> $this->atts
                );
    
        return aviaFrontTemplates::slide_navigation_dots( $args );
    }

    2022-02-16_001.jpg
    in the backend Post Slider ▸ Content ▸ Filters ▸ Entry Number you will need to choose the number of entries, such as 6 in this example:
    2022-02-16_002.jpg
    I have submitted a feature request for the Dev Team to review this for a solution to allow the “All” option in Entry Number to work.

    Best regards,
    Mike

    in reply to: Remove scroll down arrow on mobile #1340829

    Hi,
    Thanks for the link to your site, in your cache plugin file to have this css:

    @media only screen and (max-width: 767px){
    .responsive #scroll-top-link {
        display: block!important;
    }
    }

    so you either need to clear your cache plugin or you need to remove this from your css stylesheet, try checking your Child Theme Stylesheet, the General Styling ▸ Quick CSS field, and the WordPress ▸ Customize ▸ Additional CSS field
    if you don’t see this rule in any of those places, then clear and disable your wp-rocket and your browser cache and check again.
    If this doesn’t help please include an admin login in the Private Content area so we can be of more assistance.

    Best regards,
    Mike

    in reply to: Masonry-Galerry Sorting Option not working #1340827

    Hi,
    Glad Yigit was 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: white fading on hover #1340824

    Hi,
    Glad Yigit was 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: Fullwidth Easy Slider Arrows #1340823

    Hey Fberguno,
    Please try this code in the General Styling ▸ Quick CSS field or in the WordPress ▸ Customize ▸ Additional CSS field:

    .avia-slideshow-arrows.avia-slideshow-controls {
    	display: none;
    }

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

    Best regards,
    Mike

    in reply to: Enfold update from 4.4.1 to latest version #1340822

    Hey Amer Obeidi,
    To update your version of Enfold you will need to download the latest version from your Theme Forest account and upload it to your WordPress ▸ Appearance ▸ Themes ▸ Add Themes ▸ Add New
    WordPress_Appearance_Themes_Add-Themes_Add-New.jpg
    after you choose the zip file and click install, you will see a This theme is already installed message because you are updating, you can continue
    Installing_theme_from_uploaded_file_This_theme_is_already_installed.jpg
    then you will see the Theme updated successfully message.
    Theme_updated_successfully.jpg

    Best regards,
    Mike

    in reply to: Space between Image and next section #1340821

    Hey markus-fischer,
    Thanks for the screenshot and the link, please try this code in the General Styling ▸ Quick CSS field or in the WordPress ▸ Customize ▸ Additional CSS field:

    @media only screen and (min-width: 768px) and (max-width: 1117px) { 
    #top.home #av_section_2 .avia-builder-el-22 {
        bottom: 0px;
        position: absolute;
        right: 0;
    }
    }

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

    Best regards,
    Mike

    in reply to: Notification bar & header settings #1340820

    Hi,
    You are getting the jQuery is not defined error, do you have the Enfold Theme Options ▸ Performance ▸ Load jQuery in your footer option enabled?
    Try this script instead:

    function custom_top_banner() { ?>
        <script>
    window.addEventListener('DOMContentLoaded', function() {
    (function($){
        $( "<div id='banner'>This is a banner</div>" ).insertBefore( "#header_meta" );
    })(jQuery);
    });
    </script>
        <?php
    }
    add_action('wp_footer', 'custom_top_banner');

    but use the same css from above.

    Best regards,
    Mike

    in reply to: Post slider dots indicator #1340724

    Hi,
    For v4.8.9.1 please follow these steps, ensure your child theme includes this function in your functions.php to override the shortcode elements:

    function avia_include_shortcode_template( $paths )
    {
    	if( ! is_array( $paths ) )
    	{
    		$paths = array();
    	}
    	
    	$template_url = get_stylesheet_directory();
    	array_unshift( $paths, $template_url . '/shortcodes/' );
    
    	return $paths;
    }
    
    add_filter( 'avia_load_shortcodes', 'avia_include_shortcode_template', 15, 1 );

    Then copy the parent theme postslider directory to your child theme /shortcodes/ directory, so the full directory path will be:
    /wp-content/themes/enfold-child/shortcodes/postslider/postslider.php
    Then on line 1059 in postslider.php add this code:

    protected function slide_navigation_dots()
    {
    	$html   = '';
    	$html  .= "<div class='avia-slideshow-dots avia-slideshow-controls'>";
    	$active = 'active';
    
    	$entry_count = $this->atts['items'];
    	$slidenumber = $entry_count / (int) $this->atts['columns'];
    	$slidenumber = $entry_count % (int) $this->atts['columns'] ? ( (int) $slidenumber + 1)  : (int) $slidenumber;
    
    	for( $i = 1; $i <= $slidenumber; $i++ )
    	{
    		$html .= "<a href='#{$i}' class='goto-slide {$active}' >{$i}</a>";
    		$active = '';
    	}
    
    	$html .= '</div>';
    
    	return $html;
    }

    2022-02-15_001.jpg
    then on line 1014 replace $output .= $this->slide_navigation_arrows(); with
    $output .= $this->slide_navigation_dots(); //$output .= $this->slide_navigation_arrows();
    2022-02-15_002.jpg
    then add this css to your Quick CSS:

    #top .avia-content-slider {
        overflow: visible;
    }
    #top .avia-content-slider .avia-slideshow-controls {
        bottom: -30px;
    }
    .avia-slideshow-dots a.active, .avia-slideshow-dots a:hover {
        opacity: 0.8;
        filter: alpha(opacity=80);
        background: #000;
    }

    This was the results:
    2022-02-15_003.jpg

    Best regards,
    Mike

    in reply to: Video player showing url and not video #1340611

    Hi,
    Strange, something seems to be wrong with how your elements behave on the backend, how did you update, did you overwrite the theme directory via FTP?
    This could cause an error because it could leave some older files in place.
    Try uploading to your WordPress ▸ Appearance ▸ Themes ▸ Add Themes ▸ Add New
    WordPress_Appearance_Themes_Add-Themes_Add-New.jpg
    after you choose the zip file and click install, you will see a This theme is already installed message because you are updating, you can continue
    Installing_theme_from_uploaded_file_This_theme_is_already_installed.jpg
    then you will see the Theme updated successfully message.
    Theme_updated_successfully.jpg

    Best regards,
    Mike

    Hi,
    So you mean that the semrush report says the URLs are appended with ?s= not that they actually show this in the browser address bar when you check?

    Best regards,
    Mike

Viewing 30 posts - 13,081 through 13,110 (of 35,286 total)