New Landing How can we help? Cardinal Subscribe Aux header, form hover too fast, border around testimonial carousel

Viewing 12 posts - 1 through 12 (of 12 total)
  • Posted in: Cardinal
  • #200724
    sorelh
    Member
    Post count: 169

    Hi
    1. I would like to change the Subscribe text in my header to ‘Newsletter Subscription’ where can I change the text for the Subscribe Aux links please?

    2. My subscription form needs to be more static (screenshot 1) – the hover state needs to be visible for longer, and also the form needs to sit higher up the page closer to the word subscription, when you scroll down to fill in the form it disappears.

    3. There is a faint border outline around my testimonial carousel (second screenshot), how can I remove it?

    Thanks

    Attachments:
    You must be logged in to view attached files.
    #200897
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    Hi

    1) You will need to edit the sf-header.php file to change the text

    2) Add this to your custom css:

    .header-left nav.std-menu ul.sub-menu {
      top: 170px!important;
    }

    3) Add this:

    .testimonials.carousel-items li .testimonial-text {
      border: none;
      box-shadow: none;
    }

    – Kyle

    #200901
    sorelh
    Member
    Post count: 169
    This reply has been marked as private.
    #200902
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    Add this to your child theme’s functions.php file:

    /* AUX LINKS
        ================================================== */
        if ( ! function_exists( 'sf_aux_links' ) ) {
            function sf_aux_links( $position, $alt_version = false, $header_version = "" ) {
    
                // VARIABLES
                $login_url         = wp_login_url();
                $logout_url        = wp_logout_url( home_url() );
                $my_account_link   = get_admin_url();
                $myaccount_page_id = get_option( 'woocommerce_myaccount_page_id' );
                if ( $myaccount_page_id ) {
                    $my_account_link = get_permalink( $myaccount_page_id );
                    $logout_url      = wp_logout_url( get_permalink( $myaccount_page_id ) );
                    $login_url       = get_permalink( $myaccount_page_id );
                    if ( get_option( 'woocommerce_force_ssl_checkout' ) == 'yes' ) {
                        $logout_url = str_replace( 'http:', 'https:', $logout_url );
                        $login_url  = str_replace( 'http:', 'https:', $login_url );
                    }
                }
                $login_url       = apply_filters( 'sf_header_login_url', $login_url );
                $my_account_link = apply_filters( 'sf_header_myaccount_url', $my_account_link );
    
                global $sf_options;
    
                $show_sub         = $sf_options['show_sub'];
                $show_translation = $sf_options['show_translation'];
                $sub_code         = __( $sf_options['sub_code'], 'swiftframework' );
                $show_account     = $sf_options['show_account'];
                $show_cart = $show_wishlist = false;
                if ( isset($sf_options['show_cart']) ) {
                $show_cart            = $sf_options['show_cart'];
                }
                if ( isset($sf_options['show_wishlist']) ) {
                $show_wishlist            = $sf_options['show_wishlist'];
                }
                $ss_enable        = $sf_options['ss_enable'];
                $aux_links_output = $ss_enable = "";
    
                // LINKS + SEARCH OUTPUT
                $aux_links_output .= '<nav class="std-menu ' . $position . '">' . "\n";
                $aux_links_output .= '<ul class="menu">' . "\n";
                if ( $show_account ) {
                    if ( is_user_logged_in() ) {
                        $aux_links_output .= '<li><a href="' . $logout_url . '">' . __( "Sign Out", "swiftframework" ) . '</a></li>' . "\n";
                        $aux_links_output .= '<li><a href="' . $my_account_link . '" class="admin-link">' . __( "My Account", "swiftframework" ) . '</a></li>' . "\n";
                    } else {
                        $aux_links_output .= '<li><a href="' . $login_url . '">' . __( "Login", "swiftframework" ) . '</a></li>' . "\n";
                    }
                }
                if ( $show_sub ) {
                    $aux_links_output .= '<li class="parent"><a href="#">' . __( "Newsletter Subscription", "swiftframework" ) . '</a>' . "\n";
                    $aux_links_output .= '<ul class="sub-menu">' . "\n";
                    $aux_links_output .= '<li><div class="header-subscribe clearfix">' . "\n";
                    $aux_links_output .= do_shortcode( $sub_code ) . "\n";
                    $aux_links_output .= '</div></li>' . "\n";
                    $aux_links_output .= '</ul>' . "\n";
                    $aux_links_output .= '</li>' . "\n";
                }
                if ( $show_translation ) {
                    $aux_links_output .= '<li class="parent aux-languages"><a href="#">' . __( "Language", "swiftframework" ) . '</a>' . "\n";
                    $aux_links_output .= '<ul class="header-languages sub-menu">' . "\n";
                    if ( function_exists( 'sf_language_flags' ) ) {
                        $aux_links_output .= sf_language_flags();
                    }
                    $aux_links_output .= '</ul>' . "\n";
                    $aux_links_output .= '</li>' . "\n";
                }
                if ( $header_version != "header-1" ) {
                    if ( $show_cart ) {
                        $aux_links_output .= sf_get_cart();
                    }
                    if ( class_exists( 'YITH_WCWL_UI' ) && $show_wishlist ) {
                        $aux_links_output .= sf_get_wishlist();
                    }
                }
                $aux_links_output .= '</ul>' . "\n";
                $aux_links_output .= '</nav>' . "\n";
    
                // RETURN
                return $aux_links_output;
            }
        }

    – Kyle

    #200911
    sorelh
    Member
    Post count: 169
    This reply has been marked as private.
    #200913
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    Are you using a child theme?

    – Kyle

    #200921
    sorelh
    Member
    Post count: 169
    This reply has been marked as private.
    #200922
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    Go to Appearance > Editor and it should be on the right hand side along with the style.css file, if it’s not, then you will need to create the file yourself using ftp or a plugin like WPIDE

    – Kyle

    #200929
    sorelh
    Member
    Post count: 169
    This reply has been marked as private.
    #200933
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    Looks like a permission issue, you’ll need to contact your hosts to sort this

    – Kyle

    #200934
    sorelh
    Member
    Post count: 169

    Thanks Kyle, weird though – I have never had that problem before.

    Thanks

    Sorel

    #200943
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    No problem

Viewing 12 posts - 1 through 12 (of 12 total)

You must be logged in and have valid license to reply to this topic.

License required for one of the following items
Login and Registration Log in · Register