Forum Replies Created
-
AuthorPosts
-
MobiusynergyMember
I am trying to go from a "word-logo" to a "symbol logo" on scroll
MobiusynergyMemberWhere do I put the small logo file in the code? I don't see any links to media files.
In the example, the large header goes from (Vana Ash) to small header (VA).
MobiusynergyMemberSub'd I think this is an issue I am working on as well. For some reason there is a gap between the header and body, and body and footer. I've tried to target the margin, and the padding and the body, but have no luck. I'm a beginner and have limited css skills.
MobiusynergyMemberThank you.
I had to find a different approach to this solution. It may not have been the easiest, but it worked. Now, I need to find out how to do this with simple products so they don't show the same price twice.
Used code:
function wc_ninja_custom_variable_price( $price, $product ) {
// Main Price
$prices = array( $product->get_variation_price( 'min', true ), $product->get_variation_price( 'max', true ) );
$price = $prices[0] !== $prices[1] ? sprintf( __( 'From: %1$s', 'woocommerce' ), wc_price( $prices[0] ) ) : wc_price( $prices[0] );// Sale Price
$prices = array( $product->get_variation_regular_price( 'min', true ), $product->get_variation_regular_price( 'max', true ) );
sort( $prices );
$saleprice = $prices[0] !== $prices[1] ? sprintf( __( 'From: %1$s', 'woocommerce' ), wc_price( $prices[0] ) ) : wc_price( $prices[0] );if ( $price !== $saleprice ) {
$price = '' . $saleprice . '<ins>' . $price . '</ins>';
}return $price;
}
add_filter( 'woocommerce_variable_sale_price_html', 'wc_ninja_custom_variable_price', 10, 2 );
add_filter( 'woocommerce_variable_price_html', 'wc_ninja_custom_variable_price', 10, 2 );January 11, 2017 at 6:11 pm in reply to: My (favicon) image won't load into my site identity after clicking "Select" #199248MobiusynergyMemberThank you, by any chance do you know what the technical terms of this issue would be? I'm trying to search the wordpress forum, but I'm having a hard time sifting through all of the issues as they don't match to this specific problem.
MobiusynergyMemberThe theme setup also suggest a link: http://ionicons.com/
MobiusynergyMemberYou can make and edit icons here: https://logomakr.com/
on the top left is a search bar that will help you find icons.
January 8, 2017 at 8:02 pm in reply to: Can we add a short code somewhere that is not a post, page or text widget? #199040MobiusynergyMemberThanks everyone
January 8, 2017 at 4:43 pm in reply to: Can we add a short code somewhere that is not a post, page or text widget? #199025MobiusynergyMemberThe plugin has a text box, that is where we put it.
Also, I added the filter to functions.php didn't work. I tried to add it to the extra sections of the plugin that also didn't work.
-
AuthorPosts