Forum Replies Created
-
AuthorPosts
-
Hi Mike,
The product-image size looks all right now on mobile, but only two out of eight images are displayed, the others generate question marks….
What can I do to solve this problem?Thanks a lot!!!! That makes the difference for the desktop & tablet.
Could you also arrange this for mobile, as there it still does not look any good…
In the Product Image the image looks the way I designed it. 960 x 540 pixels. And it’s improved in the product overview, at least all the text is visible.
But alle the images in the overview are still panoramic instead of landscape on the frontend. Is it possible to have another look at it.
I would be very happy if the product image would have the same aspect ratio as 960 x 540 pixels, on desktop, tablet and mobile.
Hmmm…. added a new image to the product-overview. (Second product: Complete Opleiding) It’s torn out of proportions, but even different from the ones next to it. (That are also distorted again).
Can you please have another look at it?
Thank you, Ismael. That does the trick for desktop and tablet. On mobile phones the images are suddenly panoramic now.
I would be so happy if you are able to fix that!Have a nice weekend.
Ah, heard from a friend that the image is seen on her tablet, so maybe the problem is om my side.
But could you please make the proportions on my desktop and tablet on the same aspect ratio? The original image was: 960 by 540 pxI am not a professional webdeveloper, just a enterpreneur trying to make a living. Things that look simple to you are a huge challenge for me.
So I really would be so pleased if you could do this for me…https://docs.google.com/document/d/1pJigbGidhwe8j37JpxLUmDGaDVgUjVm-MLrC4ZfYsN4/edit?usp=sharing
Did it in my clumsy way… Hope it gives you the info you need.
Oh, actually the image-aspect ratio is best on mobile phone now. Also still sqeezed on the desktop. It would be great if it would be the same everywhere…
Thanks Ismael,
Looks good on desktop and mobile phone. Thanks a lot!
On my tablet there is still no image on Privé-(Foto)bespreking (4th item) and the images are still distorted (to sqare size this time). Would be very grateful if you could also fix that.
Thank you so so much, Mike!!! So glad this “not found” box is away! It looks the way I want it to look now!
At least on my desktop. On my tablet there is no image on Privé-(Foto)bespreking (4th item).
And the product-images on tablet and mobile look so out of proportion. From a landscape image it makes a portrait image. Is there any thing I can do to make it display the landscape image that I made?
I hope you can help me out on that too. So glad you are helping me!
This is so nerve-wracking. Did as you asked, including removing cache. But I still see more than the 8 products I want to display.
And the lay out is different than I planned, which makes the product-images out of proportions. I guess there is margins left and right now that were not there before.
If you can just fix it for me instead of me having to follow instructions that don’t seem to work, I would be very very happy!!!
This reply has been marked as private.I’m so sorry… it still does not work.
I placed in in the Appearance Editor. But still this “Not found field”.
There was already some info in the editor. Could that be the reason? Or could it be this text: “Don’t display products in the clothing category on the shop page.”
This is al the info there is in there:
@media only screen and (max-width: 768px) {
/* Add your Desktop Styles here */
.responsive #top .products .product:nth-child(odd) {
clear: none !important;
}
}
post-type-archive .woocommerce-no-products-found {
display: none;
}
function custom_pre_get_posts_query( $q ) {
$tax_query = (array) $q->get( ‘tax_query’ );
$tax_query[] = array(
‘taxonomy’ => ‘product_cat’,
‘field’ => ‘slug’,
‘terms’ => array( ‘cursus’ ), // Don’t display products in the clothing category on the shop page.
‘operator’ => ‘NOT IN’
);
$q->set( ‘tax_query’, $tax_query );
}
add_action( ‘woocommerce_product_query’, ‘custom_pre_get_posts_query’ );For your information: This is in the Enfold Quick CSS. Could that be interfering?
.single-product-main-image {width: 66% !important;}
#top .product div.images img {
width: auto;
margin: 0 auto;
}#top.archive .thumbnail_container img {
height: 324px;
}@media only screen and (max-width:767px) {
.responsive #top #main .sidebar {
display: block !important;
width: 100% !important;
border: 0 !important;
}.responsive #top #main .sidebar .inner_sidebar {
margin-left: 0 !important;
}
}
.avia-button {
background-color:gold!important;
}.product_cat-cursus .single-product-main-image{
width: 30%!important;
}add_action( ‘woocommerce_product_query’, ‘custom_pre_get_posts_query’ );
Sorry for my late respons.
1. Image size Herfstcursus is corrected now, thanks a lot!
2. About the search function, both your suggestion as Ismaels did not seem to work (or I entered it the wrong way or at the wrong place.
When I add Ismael CSS:
.post-type-archive .woocommerce-no-products-found {
display: none;something is deleted from the search function, but this CSS code also effects the layout of the page.
I tried entering you suggestion in my Quick CSS in the Enfold General Styling:
function custom_pre_get_posts_query( $q ) {
$tax_query = (array) $q->get( ‘tax_query’ );
$tax_query[] = array(
‘taxonomy’ => ‘product_cat’,
‘field’ => ‘slug’,
‘terms’ => array( ‘cursus’ ), // Don’t display products in the clothing category on the shop page.
‘operator’ => ‘NOT IN’
);
$q->set( ‘tax_query’, $tax_query );
}
add_action( ‘woocommerce_product_query’, ‘custom_pre_get_posts_query’ );But that did not do anything.
Can you help me out? I am not a programmer, just a user. So please guide me as detailed as possible.
Thanks, Iris
I see a whole lot of coding in my Quick CSS. Could it be one of these codes is causing trouble?
Should I remove this coding, before I add your new suggestions? As I am no web-developer, I’m unable to understand these codes and what they do for my website…
This is what is currently there:
.single-product-main-image {width: 66% !important;}
#top .product div.images img {
width: auto;
margin: 0 auto;
}@media only screen and (max-width:767px) {
.responsive #top #main .sidebar {
display: block !important;
width: 100% !important;
border: 0 !important;
}.responsive #top #main .sidebar .inner_sidebar {
margin-left: 0 !important;
}
}
.avia-button {
background-color:gold!important;
}Hello Ismael,
Thanks for your quick respons! Will try all this!
Some answers to your questions:
2. The strange thing is, the image size of this product image is exactly the same as the size of the images next to it: 540 x 304 pixels
3. I don’t know what you mean by the archive page nor do I now if modified or customized product templates. Some products I have are displayed on another website (academievoorabstractefotografie.nl) and a link brings people to the product page for this item.
The product is not presented on the overview page. Does that explain things to you?
Thanks for helping me out!
IrisFebruary 21, 2017 at 9:42 am in reply to: Responsiveness of Productcategories on mobile phone #749841Make an entree for you. Hope you won’t need to remove plugins…
February 20, 2017 at 11:45 pm in reply to: Responsiveness of Productcategories on mobile phone #749665By the way some other things concerning the Productcategories don’t seem to work as well, as you can see in other questions that I have asked. Would be nice if you could solve all of them…
February 20, 2017 at 11:43 pm in reply to: Responsiveness of Productcategories on mobile phone #749664Hi Nikko, Today I moved my website from a subdomain: website.irisdepasse.nl to the real URL: http://www.irisdepasse.nl. Maybe that explains the Internal Server Error?
February 20, 2017 at 3:40 pm in reply to: Responsiveness of Productcategories on mobile phone #749402Thanks Nikko, was indeed referring to the categories in the sidebar. Added the code you provided. But I’m sorry, this still doesn’t seem to work. Made a work-around by adding Product-categories in the footer, that does display in a proper way on a mobile phone.
Thanks a lot, Ismael. This problem is solved!
Hello Ismael, I added the modified code, but still the same problem. When I select a category (liggend), then select a single product and browse from there with the arrows at the side, it’s displaying products from a mix of categories.
February 8, 2017 at 4:42 pm in reply to: Responsiveness of Productcategories on mobile phone #744410Hello, This question is still unanswered. Can you help me out please?
Decided for a different layout, so it’s fixed!
Thanks, will try this!
Good news, my website is up and running again, by using a back up.
Problem with categories still exists though.
If I choose a category (‘liggend’ for instance) and then click on a picture to enter the single page mode, not only the order of the images is different from the overview, but also it’s a mixture of categories…
Hope you know how to solve this (and on a mobile phone) the productcategories don’t show…
Problem has been solved by using a backup! So no action needed anymore on this topic
Ok, provider has used a backup and my site is up and running again!
It’s been redirected from the moment I bought the theme and I have been working like this for more than a month now, so I think the fact that it’s been redirected can’t be the root of the problem.
Have been searching in the history of my browsers to see if I could find a clue. Can it be that it has something to do with this? I see the word delete in it….
Could be that the last thing I did was enter code given to me ad topic:
#739597
Can it be that that has something to do with it?That’s right, i’ve been creating it in a subdomain. But somehow it doesn’t load anymore. Provider sends me to you. Says it has something to do with the theme. Have been working on my site all day. Last thing I did was enter some code and then my website stopped loading.
Can’t do a thing now…
-
AuthorPosts