Digital experiences for all disciplines
Forum Replies Created
-
-
Now I have the following problems:
1) The portfolio gallery in the tab is not centered/has not the same size like the regular portfolio gallery (see image 1).
2) The portfolio gallery in the tab behaves differently on smaller devices (see image 2) than the regular portfolio gallery (see image 3).
Attachments:
You must be logged in to view attached files.Yes, please have a look on the image attached
Attachments:
You must be logged in to view attached files.Hi David,
the code did not exactly the job, as you can see here: http://goodtimesdeals.de/snowboard/
The portfolio layout in the tab looks different than the regular portfolio.
Alright, I am looking forward for a solution!
Hi Mohammad, do you have any updates for me?
I use his code now and it seems to work for me:
.product-image {
height: 200px;
float: none !important;
/* display: inline-block !important; */
vertical-align: middle !important;
position: relative;
margin: 1em 0;
/* background: white; */
}.woocommerce ul.products li.product a img, .woocommerce-page ul.products li.product a img {
/* width: auto !important; */
/* max-height: 300px !important; */
/* margin-left: auto !important; */
/* margin-right: auto !important; */
position: absolute;
margin: auto;
max-width: 150px;
max-height: 150px;
top: 0;
right: 0;
bottom: 0;
left: 0;
width: auto;
}Hi Mohammad, do you already know what the problem is or what do I have to change?
No it works, I don’t know what the problem was. Anyway, thanks for your support!
But that’s the code I found for this issue in your forum and google. So I am bit helpless why it doesn’t work!
I added this code to the functions.php file:
* Custom filter for Improved External Products Pro
*/
add_filter(“iepp_category_image_link_target”,”iepp_category_image_link_item”);
function iepp_category_image_link_item(){
return “item.parent().prev(‘figure.no-transition’).find(‘a’)”;
}
add_filter(“iepp_category_button_link_target”,”iepp_category_button_link_item”);
function iepp_category_button_link_item(){
return “item.siblings().find(‘a’)”;
}// Add save percent next to sale item prices.
add_filter( ‘woocommerce_sale_price_html’, ‘woocommerce_custom_sales_price’, 10, 2 );
function woocommerce_custom_sales_price( $price, $product ) {
$percentage = round( ( ( $product->regular_price – $product->sale_price ) / $product->regular_price ) * 100 );
return $price . sprintf( __(‘ SPARE %s’, ‘woocommerce’ ), $percentage . ‘%’ );
}Through functions.php
I don’t see the button extra field, but the css code did the job – thank you very much!
I thought the parallax extra class (where my buttons are) is the right field to place mr0. Where can I find the button extra class?
Hi Mohammad, is there anything I have to change in my functions.php?
Hmm, but somehow the buttons are not centered!
-
Posted in: Reply To: Padding in parallax