Forum Replies Created

Viewing 30 posts - 541 through 570 (of 33,332 total)
  • Author
    Posts
  • 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

    Hi,
    To make the custom menu with logo sticky, add this code to the end of your child theme functions.php file in Appearance ▸ Editor:

    function add_sticky_script(){
        ?>
    <script type="text/javascript">
    (function($){
          function a() {
              $(window).scroll(function(e){
                var $sticky = $('#menu-test-menu-with-logo');
                var position = ($sticky.css('position') == 'fixed');
                if ($(this).scrollTop() > 25 && !position){
                  $sticky.css({'position': 'fixed', 'top': '0px','width' : $sticky.innerWidth() });
                  $sticky.addClass('fixed_element_style');
                }
                if ($(this).scrollTop() < 25 && position)
                {
                  $sticky.css({'position': 'static', 'top': '0px', 'width' : '' });
                  $sticky.removeClass('fixed_element_style');
                }
              });
          }
        
          a();
    })(jQuery);
    </script>
        <?php
        }
    add_action('wp_footer', 'add_sticky_script');

    I also added this css so the menu would rest at the top of the screen, previously there was a small space above, on my install.

    #header_meta {
    display: none;
    }
    .html_header_transparency #top .avia-builder-el-0 .container{
        padding-top: 58px;
    }

    If you don’t have a space you won’t need this, if you want to keep the space, adjust the code above.
    To make the mobile menu sticky add this css:

    @media only screen and (max-width: 989px) {
      .responsive.html_mobile_menu_tablet #top #wrap_all #header {
        position: fixed;
      }
    }

    Best regards,
    Mike

    in reply to: Different logo on different page Id’s #1465104

    Hi,
    Ok, so you also want to change the logo link on a certain page.
    Add this code to the end of your child theme functions.php file in Appearance ▸ Editor:

    // to change the logo link
    add_filter('avf_logo_link','av_change_logo_link');
    function av_change_logo_link($link)
    {
        if(is_page(206) )
        {
        $link = "https://your-new-link.com";
        }
        return $link;
    }

    Please ensure to copy the code from the forum and not an email notification so the symbols are not converted.
    Adjust the page ID and link to suit.

    Best regards,
    Mike

    in reply to: Different logo on pages and posts (transparent header) #1464992

    Hi,
    When I check the svg logo is the same for mobile & desktop, but on desktop your header is transparent so the background color allows the light third line of text to be seen, while the mobile header is white so you can’t see the text.
    You could add this css to make the third line of text green like the second line on mobile:

    @media only screen and (max-width: 767px) { 
    .av-contains-svg #Layer_1 .cls-3 {
      fill: #b0cf6b;
    }
    }

    Best regards,
    Mike

    in reply to: Icon and text style, with 2 columns #1464916

    Hi,
    Thanks for the test page, so to have a different SVG icon for each item you need to use a different font-icon for each item so you can use a different code in the css for each item:
    Enfold Support 6461
    I then copied the base css from the example link and added your font-icon codes and your SVG icon URLs:

    [data-av_iconfont="entypo-fontello"][data-av_icon="\e89f"]:before{font-size:0;width: 50px; height: 50px; display: inline-block; background-size: contain;background-image: url(/wp-content/uploads/2024/08/home-icon.png) !important}
    [data-av_iconfont="entypo-fontello"][data-av_icon="\e8a0"]:before{font-size:0;width: 50px; height: 50px; display: inline-block; background-size: contain;background-image: url(/wp-content/uploads/2024/08/people-icon.png) !important}
    [data-av_iconfont="entypo-fontello"][data-av_icon="\e8a1"]:before{font-size:0;width: 50px; height: 50px; display: inline-block; background-size: contain;background-image: url(/wp-content/uploads/2024/08/bed-icon.png) !important}
    [data-av_iconfont="entypo-fontello"][data-av_icon="\e8a2"]:before{font-size:0;width: 50px; height: 50px; display: inline-block; background-size: contain;background-image: url(/wp-content/uploads/2024/08/bath-icon.png) !important}

    Then to make the gray backgrounds transparent I added this css:

    .page-id-321 .main_color .avia-icon-list .iconlist_icon {
        background-color: transparent;
    }

    This is the result:
    Enfold Support 6463

    Best regards,
    Mike

    in reply to: Fetch to JSON field path #1464912

    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: Add icon to right side bar menu #1464862

    Hey leloux,
    Thanks for the link to your site, try adding this css to your Quick CSS field:

    .html_header_sidebar #header .av-main-nav > li > a .avia-menu-text {
        display: inline-block;
    }
    .html_header_sidebar #header .av-main-nav > li {
        margin: 5%;
    }

    .
    After applying the css, please clear your browser cache and check.
    this is the expected result:
    Screen Shot 2024 08 18 at 9.55.51 AM

    Best regards,
    Mike

    in reply to: Logo on the side of the title #1464861

    Hey Sandra,
    I see that you are using a icon above the text element:
    Screen Shot 2024 08 18 at 9.39.19 AM
    Try using the icon box element with the option to have the icon to the side:
    Screen Shot 2024 08 18 at 9.44.25 AM

    Best regards,
    Mike

    in reply to: font #1464860

    Hey Sandra,
    Thanks for the login, when I check your pages the font seems to be the default for the headings on the “Creative Studio” demo, roboto
    The demo by default uses “work sans” for the body font, so I change this for you.
    Screen Shot 2024 08 18 at 9.31.39 AM
    Screen Shot 2024 08 18 at 9.32.34 AM
    Please clear your browser cache and check.

    Best regards,
    Mike

    in reply to: Problems after updating to Enfold 6.0 #1464856

    Hi,
    Thanks for the login, on your draft page /?page_id=24937&preview=true, full link below,
    This looks like a plugin conflict, when I disable all of your plugins the editor works correctly:
    Screen Shot 2024 08 18 at 8.25.43 AM
    Screen Shot 2024 08 18 at 8.26.21 AM
    Screen Shot 2024 08 18 at 8.27.03 AM
    I enabled all of your plugins again and the changes remain, so to find the plugin conflict, try disabling all of your plugins and then reload the page. Then reactivate each one individually and reload the page after each one and check until you find the conflict.

    Best regards,
    Mike

    in reply to: search icon opptions #1464854

    Hey Reut Rachel,
    unfortunately I have not seen anything like that, perhaps this article will help.

    Best regards,
    Mike

    in reply to: Icon and text style, with 2 columns #1464853

    Hi,
    Sorry, you can not upload svg icons, the theme uses “icon fonts” which is a font file, not a icon image. Please see our documentation here. You may need to scroll down to Adding your own Fontello Icons Icon fonts can not have color.
    Perhaps when you clicked my link above it didn’t scroll correctly, try this link.
    It’s very simple, you can use css to replace the “icon font” with a svg image
    Screen Shot 2024 08 18 at 6.57.26 AM
    If you create a test page I can write a step-by-step example for you, similar to the screenshot above.

    Best regards,
    Mike

    in reply to: Changes to right sidebar header #1464852

    Hi,
    Odd, I’m not seeing that on my desktop when the css is added:
    Screen Shot 2024 08 18 at 6.31.17 AM
    please use this screen resolution link to tell us when you see it.
    Also ensure that you cleared your cache.

    Best regards,
    Mike

    Hi,
    Thanks for the link to your staging site, I note that each time I try to add a menu item they are always “custom links” instead of normal menu items.
    I see that your child theme has a header.php file, please remove this and then check again.

    Best regards,
    Mike

    in reply to: Advanced Layout Builder not showing #1464838

    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

    in reply to: Changes to right sidebar header #1464837

    Hi,
    I added this css for the search icon to show:

    #top #content1 .av-main-nav > li.menu-item#menu-item-search {
    	display: block!important;
    }
    #top #content1 .av-main-nav > li.menu-item#menu-item-search a {
    	color: #92B743;
    	text-align: left;
    }
    #top #content1 .main_menu .menu li#menu-item-search {
    	float:none;
    }

    Best regards,
    Mike

    Hi,
    Sorry, I miss read this, try adding this css:

    #menu-test-menu-with-logo {
    	width: 100%;
    	display: flex;
      justify-content: space-between;
    }

    Best regards,
    Mike

    in reply to: Fetch to JSON field path #1464834

    Hi,
    As I understand your test site outer box shadow works good:
    Screen Shot 2024 08 17 at 12.54.28 PM
    but your live site is not:
    Screen Shot 2024 08 17 at 12.55.52 PM
    I first note that in your code block you have HEAD & BODY tags please don’t add these, I also note that your page is not published, the WordPress preview will not always display the page correctly, I also see that your HTML in the code block adds css for “.container” & “body” that targets the page and not just the code block element.
    So I remove the HEAD & BODY tags, change “.container” to “.zip-container” and publish, and now it is mostly correct:
    Screen Shot 2024 08 17 at 1.27.39 PM
    the corrected code:

    <script>
    var gform;gform||(document.addEventListener("gform_main_scripts_loaded",function(){gform.scriptsLoaded=!0}),window.addEventListener("DOMContentLoaded",function(){gform.domLoaded=!0}),gform={domLoaded:!1,scriptsLoaded:!1,initializeOnLoaded:function(o){gform.domLoaded&&gform.scriptsLoaded?o():!gform.domLoaded&&gform.scriptsLoaded?window.addEventListener("DOMContentLoaded",o):document.addEventListener("gform_main_scripts_loaded",o)},hooks:{action:{},filter:{}},addAction:function(o,n,r,t){gform.addHook("action",o,n,r,t)},addFilter:function(o,n,r,t){gform.addHook("filter",o,n,r,t)},doAction:function(o){gform.doHook("action",o,arguments)},applyFilters:function(o){return gform.doHook("filter",o,arguments)},removeAction:function(o,n){gform.removeHook("action",o,n)},removeFilter:function(o,n,r){gform.removeHook("filter",o,n,r)},addHook:function(o,n,r,t,i){null==gform.hooks[o][n]&&(gform.hooks[o][n]=[]);var e=gform.hooks[o][n];null==i&&(i=n+"_"+e.length),gform.hooks[o][n].push({tag:i,callable:r,priority:t=null==t?10:t})},doHook:function(n,o,r){var t;if(r=Array.prototype.slice.call(r,1),null!=gform.hooks[n][o]&&((o=gform.hooks[n][o]).sort(function(o,n){return o.priority-n.priority}),o.forEach(function(o){"function"!=typeof(t=o.callable)&&(t=window[t]),"action"==n?t.apply(null,r):r[0]=t.apply(null,r)})),"filter"==n)return r[0]},removeHook:function(o,n,t,i){var r;null!=gform.hooks[o][n]&&(r=(r=gform.hooks[o][n]).filter(function(o,n,r){return!!(null!=i&&i!=o.tag||null!=t&&t!=o.priority)}),gform.hooks[o][n]=r)}});
    
    document.addEventListener('DOMContentLoaded', () => {
        const form = document.getElementById('zipcodeForm');
        const input = document.getElementById('zipcodeInput');
        const errorMessage = document.getElementById('errorMessage');
    
        fetch('https://welsbpo.net/wp-content/uploads/zipcodes.json')
            .then(response => response.json())
            .then(zipcodeData => {
                form.addEventListener('submit', (e) => {
                    e.preventDefault();
                    const zipcode = input.value.trim();
    
                    if (zipcodeData[zipcode]) {
                        window.location.href = zipcodeData[zipcode];
                    } else {
                        errorMessage.textContent = 'Zipcode not found. Please try again.';
                    }
                });
            })
            .catch(error => {
                console.error('Error fetching zipcode data:', error);
                errorMessage.textContent = 'An error occurred. Please try again later.';
            });
    });
    </script>
        <style>
            body {
                font-family: Arial, sans-serif;
                display: flex;
                justify-content: center;
                align-items: center;
                margin: 0;
                background-color: #f0f0f0;
            }
    
            .zip-container {
                background-color: white;
                padding: 2rem !important;
                border-radius: 8px;
                box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
                text-align: center;
            }
    
            h3 {
                margin-bottom: 1rem;
            }
    
            form {
                display: flex;
                justify-content: center;
                margin-bottom: 1rem;
            }
    
            input {
                padding: 0.5rem;
                font-size: 1rem;
                border: 1px solid #ccc;
                border-radius: 4px 0 0 4px;
            }
    
            button {
                padding: 0.5rem 1rem;
                font-size: 1rem;
                background-color: #007bff;
                color: white;
                border: none;
                border-radius: 0 4px 4px 0;
                cursor: pointer;
            }
    
            button:hover {
                background-color: #0056b3;
            }
    
            .error {
                color: red;
            }
        </style>
        <div class="zip-container">
            <h3>Zipcode Redirect</h3>
            <form id="zipcodeForm">
                <input type="text" id="zipcodeInput" placeholder="Enter zipcode" required>
                <button type="submit">Go</button>
            </form>
            <p id="errorMessage" class="error"></p>
        </div>

    Best regards,
    Mike

    in reply to: Change scroll down arrow for ONE color section only #1464829

    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: Display sku, EAN #1464827

    Hi,
    No, updating will not cause you to lose your child theme setting, you probably updated and then activated your parent theme, instead of leaving your child theme activated.
    Try updating this way:
    To update your version of Enfold you will need to download the latest installable WP 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: Change scroll down arrow for ONE color section only #1464826

    Hi,
    Thanks, this page has a page ID class of: page-id-17847 and since there is only one scroll-down-link you can just use this:

    #top.page-id-17847 .scroll-down-link {
    color: red !important;
    font-size: 150px !important;
    text-shadow: 0px 0px 3px rgba(0, 0, 0, 0.4) !important;
    }

    Best regards,
    Mike

    in reply to: Display sku, EAN #1464820

    Hi,
    I activate your child theme and your site looks goo, please check.

    Best regards,
    Mike

    in reply to: Display sku, EAN #1464819

    Hi,
    When I check your site your child theme is not active, so perhaps your customizations are only in your parent theme.
    After you update do you active your child theme or your patent theme?

    Best regards,
    Mike

    in reply to: Site Health issue after recent update version 6.0.2 #1464818

    Hi,
    Glad to hear that you have sorted this out, I’m not seeing this on my install, but I have linked to a /themes/enfold/config-layerslider/LayerSlider/assets/static/layerslider/skins/noskin/shadow.png
    image for you. Unless there is anything else we can assist with on this issue, shall we close this thread then?

    Best regards,
    Mike

    in reply to: Change scroll down arrow for ONE color section only #1464814

    Hey goldengate415,
    If you have found a css solution that works to change color / size or the scroll down arrow the way you want, you can add a page ID to the beginning of the css so it only works on one page. You can also add the section ID so it works on only one section on that page.
    If you have trouble finding the page & section IDs, post the css that you found works and the link to your page and section, and we can review the page and tell you the page and section IDs

    Best regards,
    Mike

    in reply to: Content column cut off Mobile version #1464813

    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: header bg in a transparent header #1464812

    Hi,
    To change the color of the white border below the header on scroll with transparency try this css and adjust to suit:

    #header_main {
      border-color: rgba(85, 85, 85, .8);
    }

    Best regards,
    Mike

    in reply to: Footer Widgets disappeared #1464811

    Hi,
    Typically when elements are outside of the wrap_all div, this points to an unclosed HTML tag, either in your widget, of the element above the footer, or since you are using a custom footer.php to create this, you will need to rewrite this with the new footer.php, not copy & paste the custom code.
    Glad that you have contacted your developer, I recommend creating a solution that doesn’t use a custom footer.php or header.php so you won’t have this issue again in the future. Let us know if we shall close this for now, you can always open a new thread in the future if you need further help.

    Best regards,
    Mike

    in reply to: Different logo on different page Id’s #1464810

    Hi,
    You will want to change the page ID in the code above: if(is_page(206)
    so change “206” to your page ID

    Best regards,
    Mike

    in reply to: Register Process #1464788

    Hey gocmenmustafa,
    You will need to create a “Token” on your Envato Theme Forest account and add that to your Enfold theme panel at Enfold > Theme Update > Enter a valid Envato private token.
    Please see our documentation here.

    Best regards,
    Mike

Viewing 30 posts - 541 through 570 (of 33,332 total)