Viewing 30 results - 3,151 through 3,180 (of 142,851 total)
  • Author
    Search Results
  • #1471084

    In reply to: menu items alignment

    try instead:

    @media only screen and (min-width: 990px) {
      #top .main_menu {
        width: 100%;
      }
    
      #top div .logo {
        z-index: 101;
      }
    
      #top nav .social_bookmarks {
        float: right;
      }
    
      #top .avia-menu.av-main-nav-wrap.av_menu_icon_beside {
        left: 50%;
        transform: translateX(-50%);
        margin: 0;
        padding: 0;
      }
    }
    
    #1471077

    Hey Monika,

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

    .woocommerce-page .content {
      padding-top: 90px;
    }

    Best regards,
    Rikard

    #1471068
    Monika
    Participant

    Hey There,

    all my woocommerce Pages start too high on each page.
    On Desktop its almost ok but moibile, each Page is starting behind the Menue bar.

    I would like all woocommerce pages to start a bit lower, so all headlines will be visible behind my Menue bar.

    Is this possible?

    Cheers
    Monika

    #1471067

    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

    #1471065

    In reply to: Header

    This reply has been marked as private.
    #1471063

    You have changed the minimum height of #header_meta – haven’t you? You now have to increase the padding-top for #main for non-transparent pages by this amount (difference from the default 30px to the new value).

    f.e.: depends on your hamburger break point

    @media only screen and (min-width: 990px) {
      .html_header_top.html_header_sticky #top #wrap_all #main {
        padding-top: 220px;   /*** have a look what your default value is on that + difference of new #header_meta ****/
      }
    }

    PS: just a moment i have to look how it is about for non-sticky headers.
    best is to see the page to give better advice.

    #1471059
    whdsolutions
    Participant

    I have made the top socket deeper (A) and doing so it has made the page content hide under the main menu area (B).
    See image –> https://ibb.co/r3BR5SN
    How can we make the page content move down so this does not happen?

    • This topic was modified 1 year, 4 months ago by whdsolutions.
    #1471048

    Hi,

    We adjusted the font of the submit button and the padding as requested.

    .avia_ajax_form .button {
        padding: 21px 50px;
        font-size: 15px;
        min-width: 200px;
        letter-spacing: 0.05em;
        font-weight: 400;
        font-family: 'open sans', Helvetica, Arial, sans-serif;
        padding-bottom: 23px;
        padding-top: 25px;
    }
    

    Best regards,
    Ismael

    Hi,

    Thank you for the info.

    Please looks for the av_video_assets_required function in enfold\includes\helper-assets.php file and replace it with the following code. Let us know of the result.

    /**
     * Checks the entries for the current page for av_video, av_audio, <audio>, <video> and background video elements.
     *
     * @since 4.3
     * @added_by Kriesi
     * @param array $assets
     */
    function av_video_assets_required() {
        global $posts;
    
        // Check if we are editing a LearnDash topic and return early if true
        if ( is_admin() ) {
            $screen = get_current_screen();
            if ( $screen && $screen->post_type === 'sfwd-topic' ) {
                return false;
            }
        }
    
        $used = false;
    
        if ( ! is_array( $posts ) ) {
            return $used;
        }
    
        /**
         * https://kriesi.at/support/topic/mediaelement-loading-on-every-page/
         * Default values https://  https:// are regarded as video => extended $regex
         *
         * @since 5.6.7
         */
        $regex = "!\[av_blog|\[av_postslider|\[av_video|\[av_audio|\[av_player|\[audio|<audio|<video|video\=\'http[s]?:\/\/[^']?\S{2,}\'|video\=\"http[s]?:\/\/[^\"]?\S{2,}\"!im";
    
        foreach ( $posts as $post ) {
            $matches = array();
            $found = preg_match_all( $regex, $post->post_content, $matches, PREG_OFFSET_CAPTURE );
    
            if ( ! empty( $found ) ) {
                $used = true;
                break;
            }
    
            $format = get_post_format( $post->ID );
    
            if ( $format == 'audio' || $format == 'video' ) {
                $used = true;
                break;
            }
        }
    
        return $used;
    }
    

    You can also set the Enfold > Performance > Self Hosted Videos And Audio Features (WP-Mediaelement Scripts) to “Always load media features” to avoid the check above.

    Best regards,
    Ismael

    #1471039

    Hi,

    Thank you for the update.

    Now it is stretched on desktop view. Agh, seems like all my product photos are messed up on desktop or mobile

    You may need to wrap the code inside a css media query so that it only affects the desktop view.

    @media only screen and (min-width: 768px) {
    	/* Add your Desktop Styles here */
        #top.page .product .thumbnail_container img {
            width: 63%;
            margin: auto;
        }
    }
    

    And this Category section used to be 4up on Mobile view(see code below and screenshot attached) .

    Did you add or remove a section on the page? The css rule needs to be adjusted because it currently uses a temporary selector, #av_section_4, which can change depending on the number of sections on the page. Instead, you can apply a custom ID (e.g., av-section-shop-category) to the color section element containing the shop category. To do this, go to Advanced > Developer Settings > Custom ID Attribute and add your custom ID. Then, adjust the css rule as follows:

    @media only screen and (max-width: 767px) {
      .responsive .home #wrap_all #av-section-shop-category .flex_column {
        width: 48%;
        padding: 1%;
      }
    }

    Best regards,
    Ismael

    #1471022

    Now it is stretched on desktop view. Agh, seems like all my product photos are messed up on desktop or mobile. This page doesn’t even have elementor but you think this is why on other pages?

    Even the Customer Reviews are messed up on mobile view. (see attached)

    Thanks Mike!

    I noticed the plugin conflict between Autoptimize and WP Rocket and have left Autoptimize off. No need as you mentioned to have both.
    I turned WP Rocket on again and then off but in the Brave (Chrome version) browser I am still seeing the same issue that the Enable cookie consent messages AND the Message fields contain errors. Both fields are hidden so that I can not modify these.

    Logging in with Firefox both these fields show up as they should,

    So the issue here is that Brave is not showing the two fields correctly.

    #1471016

    is it in all browsers or only in safari?
    Did you update ( i guess yesterday was the last IOS Update)?

    On some pages i read about an additonal css hack
    so a combination might be:

    .avia-safari.touch-device body {
      height: 100vh;
      overflow-y: scroll;
    }
    
    @supports (-webkit-touch-callout: none) {
      body {
        height: -webkit-fill-available;
        -webkit-overflow-scrolling: touch;
      }
    }

    sometimes i read about conflicts with gsap ( and i believe that advanced layer slider uses some parts of that scripts )

    by the way – where do you show the address bar of your mobile device – iOS devices can show it on top or at the bottom.
    the position on the bottom seems to be more vulnerable to this.

    #1471015
    Vlado Donev
    Guest

    Greetings.
    I was “hired” recently to do few adjustments on an old site which is using enfold theme.
    There are some things that do not work properly (for years) and i cannot find a topic in your forum that actually provides a fix.I’ve seen exactly the same topic with the same issue on your theme from 8 years ago.
    So I want to post a new thread but I cannot find the purchase code. The theme was purchased by the original developer, which we cannot contact to ask for the info.
    Please tell me how I can register and ask my question….

    #1471010

    Hey bemodesign,
    This looks like a duplicate thread of one that we already offered a solution to:

    If true please let us know so we can close this one.

    Best regards,
    Mike

    #1471005

    Hi,
    I do not, but this seems to solve:

    #top.page .product .thumbnail_container img {
    	width: 63%;
        margin: auto;
    }

    adjust to suit.
    I see that you have elementor classes on your page, please note that Enfold & elementor are not designed to work together and often have conflicts, as well as any other builder.

    Best regards,
    Mike

    Hey Silje,
    I see that you have the plugins Autoptimize & WP Rocket, these seem to be conflicting with each other, they do the same job. One or both are loading the css & js defered so after the page is loaded and you move the mouse over the page they load again.
    I disabled both and now there is no issue with the top page images. please clear your browser cache and check.
    If you want to examine feather, try disabling checking each setting, but from past experience I don’t recommmed Autoptimize.
    I didn’t find an issue with your Enable cookie consent messages:
    Screen Shot 2024 11 10 at 8.17.50 AM
    I added the word “test” to it and it shows correctly.

    Best regards,
    Mike

    #1470996

    Hi,

    Thanks for that. Did you copy some the content from somewhere? There seems to be a lot of unnecessary markup in the content, and some markup which seems to be open as well. For example:

    <div style="clear: both;"></div>
    <div style="padding-top: 2em;">

    I enabled debug mode under Enfold->Layout Builder->Show advanced options for you, and created a test page. Please see private. The content in the code block element seems to be commented out as well? Please try to remove anything which is not actually used on the page.

    Best regards,
    Rikard

    #1470992

    In reply to: Changes to the header

    Hi,
    Sorry I guess I miss read, clear your browser cache and check now
    Screen Shot 2024 11 10 at 6.14.07 AM
    As far as moving the secondary menu next to the menu on the left there is not a built-in way to do this, and on mobile it would be over the logo unless you make the logo and button much smaller. The secondary menu where it is now in the top bar is better and shows on mobile.

    Best regards,
    Mike

    #1470990
    #1470988

    In reply to: Hamberger menu trigger

    hm – isn’t it part of that css i gave to you? https://kriesi.at/support/topic/hamberger-menu-trigger/#post-1470941

    because i got three ID’s as well inside that rule – it should work without !important too.

    Update on further testing – I only get this SQL insert error when i am using the Avia Screen Builder. I can update a post or a Learn Dash (our learning system) Topic (which is stored as a post) when i use the default editor.

    The problem seems to be confined to updated a LearnDash topic when using the Avia Screen Builder. We have Gutenberg disabled

    Does this help point to the source of the problem?

    Alex

    #1470978

    Hi,
    Thank you for your patience, try this css:

    @media only screen and (max-width: 767px) { 
    	#top .product .thumbnail_container img {
        width: 73%;
        margin: auto;
    }
    }

    Best regards,
    Mike

    #1470970

    In reply to: Hamberger menu trigger

    Hi,
    I think this I understand now, try adding this css:

    @media only screen and (max-width: 1023px) {
        .responsive #top #wrap_all #header .menu-item-search-dropdown>a {
            font-size: 24px;
        }
    }

    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

    #1470968

    Hi,
    Thanks for your patience, for your team page this css seems to help:

    #top #main .av-layout-tab-inner {
    	overflow: visible !important;
    }

    but I was not able to find a solution for your first page, I tried many different ideas, and couldn’t find the cause.

    Best regards,
    Mike

    #1470963

    In reply to: Hamberger menu trigger

    Hi Guenni007 and Mike,

    Thanks. You are right: looks like this was a cache problem. Usually, changes to Quick CSS don’t cause cache problems, unlike global.css changes.

    However, there was still a problem remaining: the CSS removes the search magnifying glass on mobile phones. Without the CSS, the magnifying glass appears next to the hamburger menu. This is a very nice feature I want to keep. So I added the code below inside the @media section. It does works but, as I resize the window, the magnifying glass first appears at small size before growing to hamburger menu size as the window shrinks smaller. Looks I need to target more CSS to force the magnifying glass icon to hamburger size at 1023px, but I can’t figure which one…

    #top #header .noMobile.menu-item.menu-item-search-dropdown.menu-item-avia-special {
    cursor: pointer;
    display: block!important;
    }

    Best regards,
    Serge

    Assuming you refer to functions.php – then our site would not work! we have code in functions.php to enable the learning management system learndash to operate and to avoid conflicts between woocommerce shop and ENFOLD. We have not made any changess in this for some time. The problem of false SQL detection and helper-assets is very recent

    This is the code in the functions.php – do you see anything that may cause problems?:
    <?php

    /*
    * Add your own functions here. You can also copy some of the theme functions into this file.
    * WordPress will use those functions instead of the original functions then.
    */

    /*
    * Remove fields from woocommerce checkout page
    * /
    /**
    Remove all possible fields by removing the commented out areas
    **/
    function wc_remove_checkout_fields( $fields ) {

    // Billing fields
    //
    /*
    unset( $fields[‘billing’][‘billing_company’] );
    unset( $fields[‘billing’][‘billing_email’] );
    unset( $fields[‘billing’][‘billing_phone’] );
    unset( $fields[‘billing’][‘billing_state’] );
    unset( $fields[‘billing’][‘billing_first_name’] );
    unset( $fields[‘billing’][‘billing_last_name’] );
    unset( $fields[‘billing’][‘billing_address_1’] );
    unset( $fields[‘billing’][‘billing_address_2’] );
    unset( $fields[‘billing’][‘billing_city’] );
    unset( $fields[‘billing’][‘billing_postcode’] );
    */

    // Shipping fields
    /*
    unset( $fields[‘shipping’][‘shipping_company’] );
    unset( $fields[‘shipping’][‘shipping_phone’] );
    unset( $fields[‘shipping’][‘shipping_state’] );
    unset( $fields[‘shipping’][‘shipping_first_name’] );
    unset( $fields[‘shipping’][‘shipping_last_name’] );
    unset( $fields[‘shipping’][‘shipping_address_1’] );
    unset( $fields[‘shipping’][‘shipping_address_2’] );
    unset( $fields[‘shipping’][‘shipping_city’] );
    unset( $fields[‘shipping’][‘shipping_postcode’] );
    */
    // Order fields
    unset( $fields[‘order’][‘order_comments’] );

    return $fields;
    }
    add_filter( ‘woocommerce_checkout_fields’, ‘wc_remove_checkout_fields’ );

    /** Added 22 Feb 2021 by Alex to enable SMTP email usage
    *
    * This function will connect wp_mail to your authenticated
    * SMTP server. This improves reliability of wp_mail, and
    * avoids many potential problems.
    *
    * For instructions on the use of this script, see:
    * https://butlerblog.com/easy-smtp-email-wordpress-wp_mail/
    *
    * Values for constants are set in wp-config.php
    */
    add_action( ‘phpmailer_init’, ‘send_smtp_email’ );
    function send_smtp_email( $phpmailer ) {
    $phpmailer->isSMTP();
    $phpmailer->Host = SMTP_HOST;
    $phpmailer->SMTPAuth = SMTP_AUTH;
    $phpmailer->Port = SMTP_PORT;
    $phpmailer->Username = SMTP_USER;
    $phpmailer->Password = SMTP_PASS;
    $phpmailer->SMTPSecure = SMTP_SECURE;
    $phpmailer->From = SMTP_FROM;
    $phpmailer->FromName = SMTP_NAME;
    }

    /* Replace logo based on ‘promotion code’ – Jelmer*/
    add_action( ‘wp_head’, ‘logo_css’, 0 );
    function logo_css() {
    $user = wp_get_current_user();
    $user_info = get_userdata($user->ID);
    $code = $user->promotion_code;
    if( strcasecmp($code, ‘RightBrains’) == 0){
    echo “<style>span.logo{display:none;}</style></head>”;
    echo “<style>div.inner-container{background:url(https://axveco.com/wp-content/uploads/2020/04/rsz_1rightbrains.png) no-repeat;}</style></head>”;
    }
    if( strcasecmp($code, ‘Polaris’) == 0){
    echo “<style>span.logo{display:none;}</style></head>”;
    echo “<style>div.inner-container{background:url(https://axveco.com/wp-content/uploads/2020/04/rsz_polaris.jpg) no-repeat;}</style></head>”;
    }
    if( strcasecmp($code, ‘Nyenrode’) == 0){
    echo “<style>span.logo{display:none;}</style></head>”;
    echo “<style>div.inner-container{background:url(https://axveco.com/wp-content/uploads/2020/03/Logo-Small.png) no-repeat;}</style></head>”;
    }
    if( strcasecmp($code, ‘StrategyWorks’) == 0){
    echo “<style>span.logo{display:none;}</style></head>”;
    echo “<style>div.inner-container{background:url(https://axveco.com/wp-content/uploads/2020/09/SWSA-LOGO-3-1-e1600615027209.png) no-repeat;}</style></head>”;
    }
    if( strcasecmp($code, ‘EXIN’) == 0){
    echo “<style>span.logo{display:none;}</style></head>”;
    echo “<style>div.inner-container{background:url(https://axveco.com/wp-content/uploads/2021/02/Screenshot-2021-02-25-at-16.18.48.png) no-repeat;}</style></head>”;
    }
    if( strcasecmp($code, ‘Beeckestijn’) == 0){
    echo “<style>span.logo{display:none;}</style></head>”;
    echo “<style>div.inner-container{background:url(https://axveco.com/wp-content/uploads/2020/05/Beeckestijn.png) no-repeat;}</style></head>”;
    }
    if( strcasecmp($code, ‘HQAI2021’) == 0){
    echo “<style>span.logo{display:none;}</style></head>”;
    echo “<style>div.inner-container{background:url(https://axveco.com/wp-content/uploads/2020/05/Screenshot-2020-05-01-at-13.53.02.png) no-repeat;}</style></head>”;
    }
    if( strcasecmp($code, ‘Assurant2020’) == 0){
    echo “<style>span.logo{display:none;}</style></head>”;
    echo “<style>div.inner-container{background:url(https://axveco.com/wp-content/uploads/2020/05/rsz_assurant-logo.png) no-repeat;}</style></head>”;
    }
    if( strcasecmp($code, ‘Computrain’) == 0){
    echo “<style>span.logo{display:none;}</style></head>”;
    echo “<style>div.inner-container{background:url(https://axveco.com/wp-content/uploads/2021/02/CT-Small-Logo.png) no-repeat;}</style></head>”;
    }
    if( strcasecmp($code, ‘NCOI’) == 0){
    echo “<style>span.logo{display:none;}</style></head>”;
    echo “<style>div.inner-container{background:url(https://axveco.com/wp-content/uploads/2021/02/NCOI-Small-Logo.png) no-repeat;}</style></head>”;
    }
    if( strcasecmp($code, ‘NCD’) == 0){
    echo “<style>span.logo{display:none;}</style></head>”;
    echo “<style>div.inner-container{background:url(https://axveco.com/wp-content/uploads/2021/03/NCD-Kleiner.png) no-repeat;}</style></head>”;
    }
    if( strcasecmp($code, ‘Randstad’) == 0){
    echo “<style>span.logo{display:none;}</style></head>”;
    echo “<style>div.inner-container{background:url(https://axveco.com/wp-content/uploads/2021/04/Randstad.png) no-repeat;}</style></head>”;
    }
    if( strcasecmp($code, ‘GK2021’) == 0){
    echo “<style>span.logo{display:none;}</style></head>”;
    echo “<style>div.inner-container{background:url(https://axveco.com/wp-content/uploads/2021/04/GK-Logo-small-1.jpg) no-repeat;}</style></head>”;
    }
    }

    /* ‘Edit profile’ redirects to profile page – Jelmer*/
    add_action( ‘load-profile.php’, ‘Redirect_profile_axveco’);
    function Redirect_profile_axveco (){
    if( ! current_user_can( ‘manage_options’ ) )
    exit( wp_safe_redirect( “https://axveco.com/en/profile/&#8221; ) );
    }

    /* Redirect wp-login to loginwp screen – Jelmer*/
    add_filter( ‘login_url’, ‘my_login_page’, 10, 3 );
    function my_login_page( $login_url, $redirect, $force_reauth ) {
    $login_page = “https://axveco.com/en/loginwp/&#8221; ;
    $login_url = add_query_arg( ‘redirect_to’, $redirect, $login_page );
    return $login_url;
    }

    /* Shows headers promotion code in the admin user table – Jelmer*/
    add_filter(‘manage_users_columns’, ‘add_promotion_code_column’);
    function add_promotion_code_column($columns) {
    $columns[‘promotion_code’] = ‘Promotion Code’;
    return $columns;
    }
    /* Shows content promotion code in the admin user table – Jelmer */
    add_action(‘manage_users_custom_column’, ‘show_user_promotion_code_column_content’, 10, 3);
    function show_user_promotion_code_column_content($value, $column_name, $user_id) {
    $user = get_userdata( $user_id );
    if ( ‘promotion_code’ == $column_name )
    return $user->promotion_code;
    return $value;
    }

    /*Archive category page layout JP https://kriesi.at/support/topic/category-archive-page-change-layout-to-show-excerpt
    add_filter(‘avf_blog_style’,’avia_change_category_blog_layout’, 10, 2);
    function avia_change_category_blog_layout($layout, $context){
    if($context == ‘archive’) $layout = ‘single-big’;
    return $layout;
    }*/

    add_filter(‘avf_blog_style’,’avia_change_category_blog_layout’, 10, 2);
    function avia_change_category_blog_layout($layout, $context){
    if($context == ‘archive’) $layout = ‘blog-grid’;
    return $layout;
    }

    add_action(‘wp_footer’, ‘add_custom_tooltip’);
    function add_custom_tooltip(){
    ?>
    <script>
    jQuery(window).load(function(){
    jQuery(‘a’).removeAttr(‘title’);
    jQuery(‘img’).removeAttr(‘title’);
    });
    </script>
    <?php
    }

    /*
    * This function is required to display the location map on the contact us page
    * if removed then the map does not display – API key is from Theme Google services
    */
    add_action(‘wp_footer’, ‘gmaps_workaround’);
    function gmaps_workaround(){
    ?>
    <!–Google Maps JavaScript API –>
    <script src=”https://maps.googleapis.com/maps/api/js?key=AIzaSyCWwtEsgQqGTvuqmzrZMapkbyzqyxCKZBw”
    type=”text/javascript”></script>
    <script type=”text/javascript”>
    jQuery(document).ready(function($){
    setTimeout(function(){
    $(‘#s_pdf_frame’).attr( ‘src’, function ( i, val ) { return val; });
    }, 100);
    });
    </script>
    <?php
    }

    // add_action(‘avia_builder_mode’, “builder_set_debug”);
    function builder_set_debug()
    {
    return “debug”;
    }

    /*
    * this funciton has been updated – see above post in header
    * the original code is: $meta[‘page’][] = ‘events’;
    *
    * Adds PageBuilder to LearnDash Post Typs
    * this is to enable the Advanced Builder in LearnDash – Alex
    * see post at https://kriesi.at/support/topic/learndash-plugin/
    *
    }*/
    add_filter(‘avf_builder_boxes’, ‘add_builder_to_posttype’);
    function add_builder_to_posttype($metabox)
    {
    foreach($metabox as &$meta)
    {
    if($meta[‘id’] == ‘avia_builder’ || $meta[‘id’] == ‘layout’)
    {
    /* original code: $meta[‘page’][] = ‘events’; instead add the name of the custom post type here*/
    $meta[‘page’][] = ‘sfwd-courses’;
    $meta[‘page’][] = ‘sfwd-lessons’;
    $meta[‘page’][] = ‘sfwd-topic’;
    $meta[‘page’][] = ‘sfwd-quiz’;
    }
    }
    return $metabox;
    }

    /*
    * After installing Woocommerce bookings, the events table function was no longer needed
    * I cannot determine whether ‘Events’ post type here is related to events…
    */
    add_action( ‘init’, ‘create_post_type’ );
    function create_post_type() {
    register_post_type( ‘Events’,
    array(
    ‘labels’ => array(
    ‘name’ => __( ‘Events’ ),
    ‘singular_name’ => __( ‘Event’ )
    ),
    ‘public’ => true,
    ‘has_archive’ => false,
    ‘hierarchical’ => true,
    ‘supports’ => array( ‘title’, ‘editor’)
    )
    );

    register_taxonomy(
    ‘event_categories’, //The name of the taxonomy. Name should be in slug form (must not contain capital letters or spaces).
    ‘events’, //post type name
    array(
    ‘hierarchical’ => true,
    ‘label’ => ‘Categories’, //Display name
    ‘query_var’ => true
    )
    );
    }
    /*
    * Goal here is to disable woocommerce from opening the default shop page which is incompatible with
    * our ENFOLD Child theme and appears to be the cause of the Internal Server Error intermittent failure
    * We log that the event has occurred, disbale woocommerce and then redirect to a safe page
    */
    function custom_woocommerce_redirect_shop_page() {
    if (is_shop()) {
    // Send an email to log that this event has occured

    // Get the current user info
    $current_user = wp_get_current_user();
    $username = $current_user->user_login;
    //$is_logged_in = is_user_logged_in() ? ‘Yes’ : ‘No’;

    // Send email notification if logged in (not logged in generates a hit every minute)
    if (is_user_logged_in()) {
    $to = (Email address hidden if logged out) ‘;
    $subject = ‘WooCommerce Shop Page Disable invoked’;
    $message = ‘The WooCommerce shop page open was attempted and has been disabled.’;
    $message .= ‘<br>User: ‘ . $username;
    //$message .= ‘<br>Logged in: ‘ . $is_logged_in;
    $headers = array(‘Content-Type: text/html; charset=UTF-8’);

    wp_mail($to, $subject, $message, $headers);
    }
    // Remove the default WooCommerce content for the shop page
    remove_action(‘woocommerce_archive_description’, ‘woocommerce_taxonomy_archive_description’, 10);
    remove_action(‘woocommerce_archive_description’, ‘woocommerce_product_archive_description’, 10);
    remove_action(‘woocommerce_before_main_content’, ‘woocommerce_output_content_wrapper’, 10);
    remove_action(‘woocommerce_after_main_content’, ‘woocommerce_output_content_wrapper_end’, 10);
    remove_action(‘woocommerce_sidebar’, ‘woocommerce_get_sidebar’, 10);

    // Set up a target page to redirect to
    $alternative_shop_page = “https://axveco.com/en/your-next-step/&#8221; ;

    // Redirect to our own next steps page
    wp_redirect($alternative_shop_page);

    exit;
    }
    }
    add_action(‘template_redirect’, ‘custom_woocommerce_redirect_shop_page’);

    /*
    * End of functions.php
    */
    ?>

    #1470942

    In reply to: Hamberger menu trigger

    ps – on mobile phones with less then 375px width (protrait mode) the search drop-down window has a lot of space on the right and is nearby the left side. you can shift that window.
    Add inside the media query above:

      /*** if you like to shift the search drop down window ***/
      /*** insert to the media query above that additional css ***/
    
      #top .avia-search-tooltip {
        top: 95% !important;
        margin-left: -70px !important;
      }
      #top .avia-search-tooltip .avia-arrow-wrap {
        right: 60px !important;
      }
      .avia_mobile #top #searchsubmit {
        height: 39px !important;
      }
    #1470941

    In reply to: Hamberger menu trigger

    did you copy&paste that code? because if it is your page ( and your nick is very informative ) than a code like:

    @media only screen and (max-width: 1023px) {
      #top #header .av-main-nav > li.menu-item  {
        display: none!important;
      }
      #top #header .av-burger-menu-main {
        cursor: pointer;
        display: block!important;
      }
      .responsive #top #header .av-main-nav #menu-item-search {
        display: block !important;
      }
      .responsive #top #header .av-main-nav #menu-item-search  > a {
        font-size: 24px;
      }
    }

    will work in dev tools. So if you realy entered the correct code – then it might be a caching issue that you can not see the changings. So refresh all caches of such tools – and refresh on Enfold on Performance Tab just at the bottom: “Delete Old CSS And JS Files?”

    1023px seems to be a good value – because on the ipad Pro 12.9 inch – (1024px) the text menu is still visible and is not above the logo.

    PS: i added the code to show the search icon aswell on burger active and with a little bigger icon.

    #1470934

    Hi,

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

    Best regards,
    Rikard

Viewing 30 results - 3,151 through 3,180 (of 142,851 total)