Home › Forums › Basel support forum › Price Filter Ranges
Price Filter Ranges
- This topic has 38 replies, 2 voices, and was last updated 8 years, 6 months ago by Artem Temos.
-
AuthorPosts
-
May 28, 2016 at 9:35 pm #1129
Artem TemosKeymasterHi,
I’m afraid we cannot help you with this question since it is more connected with woocommerce customiztion. In addition to this you are not able to override method of some class in the child theme.
May 30, 2016 at 6:55 pm #1139
javilapParticipantThank you! No problem.
I have another question for you, I have an image with the size guides for the clothes. How can I add a link in all the pages that opens in a modal window? I mean, adding some kind of code in the structure, not adding this image product for product.
Do you understand me? Thank u
May 30, 2016 at 6:59 pm #1140
Artem TemosKeymasterHi,
You can try to add the following code snippet
<a href="SIZE_GUIDE.jpg" data-rel="mfp">Size guide</a>
May 30, 2016 at 10:14 pm #1142
javilapParticipantHello!
Thank you!
I have another question, on mobile devices the top bar isn’t appearing the account.Could you help me?
Thank u!
May 31, 2016 at 4:29 pm #1144
Artem TemosKeymasterHi,
Actually we have hidden right side of the topbar on mobile since it doesn’t fit the space well. If you need we can provide you custom css that will show it for you. Do you need this?
June 2, 2016 at 3:39 pm #1165
javilapParticipantHello, yes please!! Sorry I thought I’ve wrote you!
June 2, 2016 at 4:14 pm #1171
Artem TemosKeymasterHere is a code snippet that you need to add to your Custom CSS section for mobile devices in Theme Settings
.topbar-wrapp .topbar-menu { display: inline-block; }
June 9, 2016 at 1:52 pm #1220
javilapParticipantHello! I would like to know how can I select the options on the top bar to appear “Log in” “Register” if I’m not logged, and let “My Account” If I’m logged!
Thank you
June 9, 2016 at 4:37 pm #1223
Artem TemosKeymasterUnfortunately, there is no such ability by default in our theme. You can try to add the following code to your child theme functions.php file to achieve that
function basel_get_topbar_links() { $account_link = get_permalink( get_option('woocommerce_myaccount_page_id') ); if( is_user_logged_in() ) { $links['my-account'] = array( 'label' => esc_html__('My Account', 'basel'), 'url' => $account_link ); } else { $links['register'] = array( 'label' => esc_html__('Login / Register', 'basel'), 'url' => $account_link ); } return $links; } add_filter( 'wp_nav_menu_items', 'basel_topbar_links', 10, 2 ); function basel_topbar_links ( $items = '', $args = array(), $return = false ) { if ( ( ! empty( $args ) && $args->theme_location == 'top-bar-menu' ) || $return ) { $links = basel_get_topbar_links(); if( ! empty( $links )) { foreach ($links as $key => $link) { $items .= '<li id="menui-' . $key . '" class="menu-item item-event-hover">'; $items .= '<a href="' . esc_url( $link['url'] ) . '">' . esc_attr( $link['label'] ) . '</a>'; $items .= '</li>'; } } } return $items; }
-
AuthorPosts
Tagged: Pagination, Price Ranges Filter
- You must be logged in to create new topics. Login / Register