Digital experiences for all disciplines
New Landing › How can we help? › Cardinal › Subscribe Aux header, form hover too fast, border around testimonial carousel
New Landing › How can we help? › Cardinal › Subscribe Aux header, form hover too fast, border around testimonial carousel
- This topic has 11 replies, 2 voices, and was last updated 9 years by Kyle – SUPPORT.
-
Posted in: Cardinal
-
August 4, 2015 at 5:02 pm #200724
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.August 5, 2015 at 11:25 am #200897Hi
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
August 5, 2015 at 11:36 am #200901This reply has been marked as private.August 5, 2015 at 11:38 am #200902Add 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
August 5, 2015 at 11:48 am #200911This reply has been marked as private.August 5, 2015 at 11:50 am #200913Are you using a child theme?
– Kyle
August 5, 2015 at 12:10 pm #200921This reply has been marked as private.August 5, 2015 at 12:11 pm #200922Go 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
August 5, 2015 at 12:22 pm #200929This reply has been marked as private.August 5, 2015 at 12:23 pm #200933Looks like a permission issue, you’ll need to contact your hosts to sort this
– Kyle
August 5, 2015 at 12:25 pm #200934Thanks Kyle, weird though – I have never had that problem before.
Thanks
Sorel
August 5, 2015 at 12:44 pm #200943No problem
-
Posted in: Cardinal
You must be logged in and have valid license to reply to this topic.