Viewing 30 results - 4,561 through 4,590 (of 142,856 total)
  • Author
    Search Results
  • Hi,

    1. Try to set your container width to a higher pixel value, or a % value.

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

    #top .flex_column_table.av-equal-height-column-flextable:not(:first-child) {
      margin-top: 20px;
    }
    
    .container {
      padding: 0px 20px;
    }

    Best regards,
    Rikard

    #1452422

    In reply to: Overlap Column

    Hi Ismael,
    Thanks. The issue you pointed out was the socket CSS with position:fixed and now set to relative.

    But the initial issue I’ve reported remains where I’m trying to overlap top right column into the columns(color sections) below. I tried using z-index as indicated and its still not working.

    #1452415

    Hi,

    Thanks for the update. Please let us know if you should need any further help on the topic, or if we can close it.

    Best regards,
    Rikard

    #1452349

    In reply to: Blogpost broken

    Thank you! Got it. Topic can be closed

    #1452089

    Hi,

    Thank you for the update.

    Please create a backup of the previous modification, then replace it with this updated code:

    
    function ava_custom_script_change_offset()
    { ?>
        <script>
            (function ($)
            {
                var width = $(window).width();
    
                $('a[href*="#"]:not([href="#"])').click(function ()
                {
                    if (location.pathname.replace(/^\//, '') == this.pathname.replace(/^\//, '') && location.hostname == this.hostname)
                    {
                        var target = $(this.hash);
                        target = target.length ? target : $('[name=' + this.hash.slice(1) + ']');
                        if (target.length)
                        {
                            var offset = 0;
                            if (width < 767)
                            {
                                offset = 220;
                            } else if (width >= 767 && width < 989)
                            {
                                offset = 170;
                            } else if (width >= 989)
                            {
                                offset = 180;
                            }
    
                            $('html, body').animate({
                                scrollTop: target.offset().top - offset
                            }, 1000);
                            return false;
                        }
                    }
                });
    
                $(window).on('load', function ()
                {
                    var hash = location.href.split("#")[1];
                    if (hash)
                    {
                        var target = $('#' + hash);
                        if (target.length)
                        {
                            var offset = 0;
                            if (width < 767)
                            {
                                offset = 220;
                            } else if (width >= 767 && width < 989)
                            {
                                offset = 170;
                            } else if (width >= 989)
                            {
                                offset = 180;
                            }
    
                            $('html, body').animate({
                                scrollTop: target.offset().top - offset
                            }, 1000);
                            return false;
                        }
                    }
                });
    
            })(jQuery);
        </script>
        <?php
    }
    add_action('wp_footer', 'ava_custom_script_change_offset', 99);

    Best regards,
    Ismael

    #1452086

    In reply to: help please

    Hey Aubin,

    Thank you for the inquiry.

    1.) Please ask your hosting provider to create a site backup or restore point prior to changing your WordPress site’s URL from non-www to www. After creating a site backup, follow the steps below:

    – Log in to your WordPress admin dashboard.
    – Navigate to Settings > General.
    – Update the URLs:
    — In the “WordPress Address (URL)” field, change your URL from http://example.com to http://www.example.com.
    — In the “Site Address (URL)” field, change your URL from http://example.com to http://www.example.com.
    – Save Changes:
    — Scroll down and click the “Save Changes” button.
    – Update .htaccess File (optional but recommended for SEO and redirecting):
    — Access your website’s files via FTP or the hosting file manager.
    — Locate and edit the .htaccess file in your website’s root directory.
    — Add the following code to redirect non-www to www:
    `
    # Redirect non-www to www
    RewriteEngine On
    RewriteCond %{HTTP_HOST} ^example\.com [NC]
    RewriteRule ^(.*)$ http://www.example.com/$1 [L,R=301]
    `
    — Replace example.com with your actual domain name.
    – Clear Your Cache:
    — Clear your browser cache and any caching plugins you might be using.
    – Verify the Changes:
    — Check your website to ensure it loads correctly with the www prefix.
    – You may need to update the DNS records if necessary. Please ask your hosting provider about this before proceeding.

    2.) Are you using the WooCommerce plugin? The product page should have filter or sorting options by default if you’re using the plugin. Please check the documentation below for more info.

    3.) You will have to install a plugin such as WPML or Polylang in order to create a multilingual site or add a language switcher. Please check the links below:

    // https://wpml.org/documentation/theme-compatibility/enfold/
    // https://wpml.org/tutorials/2016/02/enfold-theme-and-wpml/

    If you have any additional questions at this time we kindly ask that you open them up in a separate thread. The longer threads get in the forum, they become more difficult to support as they tend to drift off topic and they also make it troublesome for users trying to search for solutions. Keeping threads relevant to their original inquiry ensures that we can keep better track of what has been resolved and that users can more effectively find answers to similar issues they might be experiencing.

    Thanks!

    Best regards,
    Ismael

    #1452069

    Hi,
    I reviewed the other thread with the solution and see that they didn’t disable the X-Content-Type-Options “nosniff” they only changed it from being in the nginx http and https directives additional headers box in plesk apache and nginx settings but instead are in the htaccess file.
    Try asking your webhost to try this, the nosniff is still activate but in a different way. Perhaps they will understand this better and can adjust your server settings to suit.
    The theme can not make these changes to your server and thus can not correct the error that the web browser is having with the server.
    From our research there has only been three examples of this issue from the thousands of activate users using Enfold and the other two both found this code in their functions.php to solve:

    function custom_avf_post_css_create_file( $create ){
      return true;
    }
    add_filter( 'avf_post_css_create_file', 'custom_avf_post_css_create_file', 10, 1 );

    Best regards,
    Mike

    #1452059

    Hey ScatmanAT,
    This is because you are creating the page with the Advanced Layout Builder (ALB) and you are using a full width element at the top of the page, these elements cause the sidebar to be under it.
    To solve don’t use the full width element or create a manual sidebar widget element in your page.

    Best regards,
    Mike

    That works without the code, but once I use the above code, that stops working.

    #1452000

    Hi,

    Great, I’m glad that Ismael could help you out. Please let us know if you should need any further help on the topic, or if we can close it.

    Best regards,
    Rikard

    #1451995

    Hi,

    Great, I’m glad to hear that you got things working. Please let us know if you should need any further help on the topic, or if we can close it.

    Best regards,
    Rikard

    #1451991

    Topic: Overlap Column

    in forum Enfold
    welswebmaster
    Participant

    Hi Enfold team,

    I’m trying to overlap a column into the columns below. I tried using z-index as Yigit stated here: https://kriesi.at/support/topic/z-index-overlapping-element/ but it doesn’t work for me.
    .hp-whats-new {
    z-index: 99 !important;
    }

    Please see private for page and creds.

    #1451984

    Hi
    Sorry Guenny 007 but I don’t understand how this solution, although very interesting, can help me. It may also be that I misunderstood how to use the files you kindly make available, but the links on the example page point to other pages, while I am trying to solve scrolling within the same page so that the anchorpoint content does not go under the Fullwidth Sub Menu of the ALB of tablets and mobiles.

    Trying to resolve this issue, I had problems with pages scrolling in a jerky motion, but I figured out what my error was.
    Mike had given me a function to solve the problem involving two screen widths < 989 and > 990.
    Mike’s code works very well and gives no smooth scrolling problems.
    I did, however, need a third screen width (> 768 < 989) because the Fullwidth Sub Menu of the ALB on mobile phones would go on two rows.
    So I tried adding to the script:
    else if ((width > 767 && width < 989)) {
    At this point the scrolling of the site started to work horribly on all pages. It is obvious that I messed up something when I added the third screen width.
    This is Mike’s code that works:

    function custom_change_offset() { ?>
      <script>
    (function($) {
    	var width = $(window).width();
        if ((width < 989)) {
      $('a[href*=#]:not([href=#])').click(function() {
        if (location.pathname.replace(/^\//,'') == this.pathname.replace(/^\//,'') 
    && location.hostname == this.hostname) {
    
          var target = $(this.hash);
          target = target.length ? target : $('[name=' + this.hash.slice(1) +']');
          if (target.length) {
            $('html,body').animate({
              scrollTop: target.offset().top - 140 //offset
            }, 1000);
            return false;
          }
        }
      });
      //Executed on page load with URL containing an anchor tag.
      if($(location.href.split("#")[1])) {
          var target = $('#'+location.href.split("#")[1]);
          if (target.length) {
            $('html,body').animate({
              scrollTop: target.offset().top - 140 //offset
            }, 1000);
            return false;
          }
        }
        } 
        else if ((width > 990)) {
      $('a[href*=#]:not([href=#])').click(function() {
        if (location.pathname.replace(/^\//,'') == this.pathname.replace(/^\//,'') 
    && location.hostname == this.hostname) {
    
          var target = $(this.hash);
          target = target.length ? target : $('[name=' + this.hash.slice(1) +']');
          if (target.length) {
            $('html,body').animate({
              scrollTop: target.offset().top - 150 //offset
            }, 1000);
            return false;
          }
        }
      });
      //Executed on page load with URL containing an anchor tag.
      if($(location.href.split("#")[1])) {
      	var targett = $('#'+location.href.split("#")[1]);
          if (targett.length) {
            $('html,body').animate({
              scrollTop: targett.offset().top - 150 //offset
            }, 1000);
            return false;
          }
        }
        }
    }(jQuery));
    </script>
      <?php
    }
    add_action( 'wp_footer', 'custom_change_offset', 99 );

    And this is the code revised by me that makes the whole site scroll badly even though it puts the anchor points in the right place:

    function custom_change_offset() { ?>
      <script>
    (function($) {
    	var width = $(window).width();
        if (width < 767)) {
      $('a[href*=#]:not([href=#])').click(function() {
        if (location.pathname.replace(/^\//,'') == this.pathname.replace(/^\//,'') 
    && location.hostname == this.hostname) {
    
          var target = $(this.hash);
          target = target.length ? target : $('[name=' + this.hash.slice(1) +']');
          if (target.length) {
            $('html,body').animate({
              scrollTop: target.offset().top - 220 //offset
            }, 1000);
            return false;
          }
        }
      });
      //Executed on page load with URL containing an anchor tag.
      if($(location.href.split("#")[1])) {
          var target = $('#'+location.href.split("#")[1]);
          if (target.length) {
            $('html,body').animate({
              scrollTop: target.offset().top - 220 //offset
            }, 1000);
            return false;
          }
        }
        } 
    	else if ((width > 768 && width < 989)) {
      $('a[href*=#]:not([href=#])').click(function() {
        if (location.pathname.replace(/^\//,'') == this.pathname.replace(/^\//,'') 
    && location.hostname == this.hostname) {
    
          var target = $(this.hash);
          target = target.length ? target : $('[name=' + this.hash.slice(1) +']');
          if (target.length) {
            $('html,body').animate({
              scrollTop: target.offset().top - 170 //offset
            }, 1000);
            return false;
          }
        }
      });
      //Executed on page load with URL containing an anchor tag.
      if($(location.href.split("#")[1])) {
      	var targett = $('#'+location.href.split("#")[1]);
          if (targett.length) {
            $('html,body').animate({
              scrollTop: targett.offset().top - 170//offset
            }, 1000);
            return false;
          }
        }
        } 
       else if ((width > 990)) {
      $('a[href*=#]:not([href=#])').click(function() {
        if (location.pathname.replace(/^\//,'') == this.pathname.replace(/^\//,'') 
    && location.hostname == this.hostname) {
    
          var target = $(this.hash);
          target = target.length ? target : $('[name=' + this.hash.slice(1) +']');
          if (target.length) {
            $('html,body').animate({
              scrollTop: target.offset().top - 180 //offset
            }, 1000);
            return false;
          }
        }
      });
      //Executed on page load with URL containing an anchor tag.
      if($(location.href.split("#")[1])) {
      	var targett = $('#'+location.href.split("#")[1]);
          if (targett.length) {
            $('html,body').animate({
              scrollTop: targett.offset().top - 180//offset
            }, 1000);
            return false;
          }
        }
        } 
    }(jQuery));
    </script>
      <?php
    }
    add_action( 'wp_footer', 'custom_change_offset', 99 );

    If anyone can help me, I’d like to figure out where I went wrong and be able to use three different offsets for the three different screen widths.

    • This reply was modified 1 year, 9 months ago by manurimini.
    #1451971
    Munford
    Participant

    Hi
    I am trying to target the special heading element with css class “boelge” on my landing page to change the font size, but it’s not displaying correctly.
    I’m using this code:
    #top .boelge {
    font-size: 200px !important;
    }

    Can you help me with this?
    Thanks
    Nancy

    #1451970
    ausgesonnen
    Participant

    Hi Mike,
    I decided to open a new topic for this. Thanks for the last answer, it was helpful in another way but didn’t answer what i was looking for.
    I need some help with the masonry functionality. I am not sure if Enfold can actually do at all what I need.

    Please see this page:

    This page is fine as it is. However when I click on a picture I just want a series of images to open in a lightbox (NOT go to a new page, where the Menu at the top is lost).

    How can I achieve that?

    Best
    Petra

    #1451963

    Topic: Hide links to youtube

    in forum Enfold
    Mihai
    Participant

    Hi there!
    There are some threads way back that deal with this topic, but i think they are outdated.
    I have added a youtube video using the video element, but I would love it if the name of the channel would not be visible on either mobile or desktop.
    Can anyone help with that? The link for the page is posted in the private content.
    Thanks!

    #1451950

    In reply to: icon filter

    Hi,

    Thanks for the update. Please let us know if you should need any further help on the topic, or if we can close it.

    Best regards,
    Rikard

    #1451928

    Hi,

    Thank you for the update.

    We adjusted the css code a bit. Please replace the previous css with this code:

    .cofounder_toggle.av-minimal-toggle .toggle_icon {
        position: absolute;
        margin-top: -44px;
        left: 50%;
        transform: translateX(-50%);
        width: 40px;
        height: 40px;
    }

    Best regards,
    Ismael

    #1451912

    Thank you! This works on desktop but noticed it is not centered when you adjust the browser down. Do you know how to make this responsive on all devices?

    #1451911

    Hi Rikard,

    I apologize for the delay in replying to your message. I have translated the Chinese sections into English for your reference.

    Severity: Medium
    CVSS Rating: 5.3
    CVE::CVE-2007-3205
    URL:: https://ai.ntu.edu.tw/wp-content/themes/enfold/js/waypoints/waypoints.min.js
    Entity: PHP 7.4.33 (Component)
    Risk: Using outdated or vulnerable versions exposes your application to potential security vulnerabilities
    Cause: A vulnerable component was used in the test application.
    Fix: Upgrade components to latest stable version
    Testing requests and responses:
    GET /wp-content/themes/enfold/js/waypoints/waypoints.min.js?ver=5.6.8 HTTP/1.1
    Host: ai.ntu.edu.tw
    Connection: keep-alive
    sec-ch-ua: “Not)A;Brand”;v=”24″, “Chromium”;v=”116″
    sec-ch-ua-mobile: ?0
    User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36
    sec-ch-ua-platform: “Windows”
    Accept: */*
    Accept-Language: en-US
    Sec-Fetch-Site: same-origin
    Sec-Fetch-Mode: no-cors
    Sec-Fetch-Dest: script
    Referer: https://ai.ntu.edu.tw/
    Content-Length: 0
    HTTP/1.1 200 OK
    Date: Thu, 06 Jun 2024 01:35:51 GMT
    Server: Apache/2.4.59 (Unix) OpenSSL/3.3.0 PHP/7.4.33
    Strict-Transport-Security: max-age=31536000; includeSubDomains; preload
    Last-Modified: Sat, 25 Feb 2023 10:52:11 GMT
    ETag: “2307-5f58409b68cc0”
    Accept-Ranges: bytes
    Content-Length: 8967
    Keep-Alive: timeout=5, max=100
    Connection: Keep-Alive
    Content-Type: application/javascript
    /*!
    Waypoints – 4.0.1
    Copyright © 2011-2016 Caleb Troughton
    Licensed under the MIT license.
    https://github.com/imakewebthings/waypoints/blob/master/licenses.txt
    */
    !function(){“use strict”;var t=0,e={};function i(o){if(!o)throw new Error(“No options passed to Waypoint
    constructor”);if(!o.element)throw new Error(“No element option passed to Waypoint constructor”);if(!o.handler)throw new
    Error(“No handler option passed to Waypoint constructor”);this.key=”waypoint-
    “+t,this.options=i.Adapter.extend({},i.defaults,o),this.element=this.options.element,this.adapter=new
    i.Adapter(this.element),this.callback=o.handler,this.axis=this.options.horizontal?”horizontal”:”vertical”,this.enabled=this
    .options.enabled,this.triggerPoint=null,this.group=i.Group.findOrCreate({name:this.options.group,axis:this.axis}),this.cont
    ext=i.Context.findOrCreateByElement(this.options.context),i.offsetAliases[this.options.offset]&&
    (this.options.offset=i.offsetAliases[this.options.offset]),this.group.add(this),this.context.add(this),e[this.key]=this,t+=
    1}i.prototype.queueTrigger=function(t){this.group.queueTrigger(this,t)},i.prototype.trigger=function(t)
    {this.enabled&&this.callback&&this.callback.apply(this,t)},i.prototype.destroy=function()
    {this.context.remove(this),this.group.remove(this),delete e[this.key]},i.prototype.disable=function(){return
    this.enabled=!1,this},i.prototype.enable=function(){return
    this.context.refresh(),this.enabled=!0,this},i.prototype.next=function(){return
    this.group.next(this)},i.prototype.previous=function(){return this.group.previous(this)},i.invokeAll=function(t){var i=
    [];for(var o in e)i.push(e[o]);for(var n=0,r=i.length;n<r;n++)i[n][t]()},i.destroyAll=function()
    {i.invokeAll(“destroy”)},i.disableAll=function(){i.invokeAll(“disable”)},i.enableAll=function(){for(var t in
    i.Context.refreshAll(),e)e[t].enabled=!0;return this},i.refreshAll=function()
    {i.Context.refreshAll()},i.viewportHeight=function(){return
    window.innerHeight||document.documentElement.clientHeight},i.viewportWidth=function(){return
    document.documentElement.clientWidth},i.adapters=[],i.defaults=

    {context:window,continuous:!0,enabled:!0,group:”default”,horizontal:!1,offset:0},i.offsetAliases={“bottom-in-
    view”:function(){return this.context.innerHeight()-this.adapter.outerHeight()},”right-in-view”:function(){return this.context.innerWidth()-this.adapter.outerWidth()}},window.Waypoint=i}(),function(){“use strict”;function t(t)
    {window.setTimeout(t,1e3/60)}var e=0,i={},o=window.Waypoint,n=window.onload;function r(t)
    {this.element=t,this.Adapter=o.Adapter,this.adapter=new this.Adapter(t),this.key=”waypoint-context-
    “+e,this.didScroll=!1,this.didResize=!1,this.oldScroll=
    {x:this.adapter.scrollLeft(),y:this.adapter.scrollTop()},this.waypoints={vertical:{},horizontal:
    {}},t.waypointContextKey=this.key,i[t.waypointContextKey]=this,e+=1,o.windowContext||
    (o.windowContext=!0,o.windowContext=new
    r(window)),this.createThrottledScrollHandler(),this.createThrottledResizeHandler()}r.prototype.add=function(t){var
    e=t.options.horizontal?”horizontal”:”vertical”;this.waypoints[e][t.key]=t,this.refresh()},r.prototype.checkEmpty=function()
    {var
    t=this.Adapter.isEmptyObject(this.waypoints.horizontal),e=this.Adapter.isEmptyObject(this.waypoints.vertical),o=this.elemen
    t==this.element.window;t&&e&&!o&&(this.adapter.off(“.waypoints”),delete
    i[this.key])},r.prototype.createThrottledResizeHandler=function(){var t=this;function e()
    {t.handleResize(),t.didResize=!1}this.adapter.on(“resize.waypoints”,(function(){t.didResize||
    (t.didResize=!0,o.requestAnimationFrame(e))}))},r.prototype.createThrottledScrollHandler=function(){var t=this;function e()
    {t.handleScroll(),t.didScroll=!1}this.adapter.on(“scroll.waypoints”,(function(){t.didScroll&&!o.isTouch||
    (t.didScroll=!0,o.requestAnimationFrame(e))}))},r.prototype.handleResize=function()
    {o.Context.refreshAll()},r.prototype.handleScroll=function(){var t={},e={horizontal:
    {newScroll:this.adapter.scrollLeft(),oldScroll:this.oldScroll.x,forward:”right”,backward:”left”},vertical:
    {newScroll:this.adapter.scrollTop(),oldScroll:this.oldScroll.y,forwar


    Thank you for your help!

    Best regards,
    Morcept

    #1451893

    Hi,

    Thanks for the update. Please let us know if you should need any further help on the topic, or if we can close it.

    Best regards,
    Rikard

    #1451858
    Marco
    Participant

    Hi there,

    please have a look at the website in private content. The links on the calendar pagination (page number or next/previous button) are causing an auto scroll to top. So the user has to scroll down to get to the events again. Is there any chance to prevent that auto scroll.

    I already had the people at the Events Calendar support have a look at the issue, but the issue seems unlikely to be coming from them.

    Thanks in advance!

    Best regards
    Marco

    Hi,

    Thank you for the clarification.

    We edited the color section and set the Layout > Borders > Section Top Border Styling settings to the first option (Display a simple 1px top border).

    Best regards,
    Ismael

    #1451705

    in detail : it is this calculation case:

    if( burger_menu.is(":visible") )
    {
    	this.css({top: 'auto', position: 'absolute'}); fixed = false;
    	return;
    }

    that is replaced by that:

    if( burger_menu.is(":visible") && (scrolled + modifier > top_pos) )
    {
        this.css({top: header.Height() , position: 'fixed !important'}); fixed = true;
    }

    and these values are set all to !important in the original menu.css

    @media only screen and (max-width: 989px){
    	.responsive #top .av-switch-990.av-submenu-container{
    		top: auto ;
    		position: relative ;
    	}
    	/**** … ***/
    }
    
    @media only screen and (max-width: 767px){
    	.responsive #top .av-switch-768.av-submenu-container{
    		top: auto ;
    		position: relative ;
    	}
    	/**** … ***/
    }
    
    @media only screen and (max-width: 479px){
    	.responsive #top .av-switch-480.av-submenu-container{
    		top: auto ;
    		position: relative ;
    	}
    	/**** … ***/
    }

    only if they could be overwritten by that js script – the mobile sticky submenu will work.

    #1451662

    Feel free to close this topic.

    #1451657

    In reply to: Portfolio Grid

    Hi,

    Great, I’m glad that Mike could help you out. Please let us know if you should need any further help on the topic, or if we can close it.

    Best regards,
    Rikard

    #1451655

    Hi,

    Thanks for the update. Please let us know if you should need any further help on the topic, or if we can close it.

    Best regards,
    Rikard

    #1451635

    Hi,

    Thanks for the update. Please let us know if you should need any further help on the topic, or if we can close it.

    Best regards,
    Rikard

    #1451629
    #1451621

    Thank you too much, mike :)
    I’m really happy with my site now and will look for this plugin you suggested.
    Topic can be closed.

    Best regards!

Viewing 30 results - 4,561 through 4,590 (of 142,856 total)