Forum Replies Created
-
AuthorPosts
-
markhatter
ParticipantThat’s great thanks!
markhatter
ParticipantThis works perfectly thank you!
markhatter
ParticipantOk thank you.
So are you saying the the issue is with EDD rather than with your theme?
Thanks
markhatter
ParticipantThank you
markhatter
ParticipantHi,
I’d prefer to remove redundant code rather that just hide it if possible?
Why does the wishlist code add a buy button? It doesn’t make sense to me.
Thanks again
Markmarkhatter
ParticipantHi,
I have added this code and now I get the wishlist button and a Buy now button which I don’t need.
markhatter
ParticipantThank you,
1em makes it smaller but not the same as the others
You can see it here – markhatter.co.uk
markhatter
ParticipantThank you, the blue banner issue is fixed!
I have added the other css and it does work but there is a lot of delay where there is a white background and things seem to resize a bit before the page finally loads. I don’t think it’s because of the images as they are quite small.
This also happens on the singel product page, the banner at the top resizes on screen and there is a white box before the image loads.
Maybe there are scripts that are loading first preventing the initial paint of the screen to look correct?
Thanks again
markhatter
ParticipantHi,
Thank you. This seems to partly work 🙂
I have set the desktop size to use the ‘main_page_grid_size’ which is now working perfectly. However, if I open a single product, it is also using that size which is too small on a single page. I need to be able to use a larger image on the single product page. Also, the single product page loads strangely with a thin black box loading before the product.
If I load the main grid page on a mobile sized page on the desktop or at https://www.responsivedesignchecker.com/, it also still loads the main_page_grid_size image rather than the medium one.
Basically, everything now uses the ‘main_page_grid_size’ size.
You can see it here – markhatter.co.uk
This is what I have in functions.php
add_image_size( ‘main_page_grid_size’, 264, 176 );
if( function_exists( ‘dgwork_thumbnail_size’ ) ) {
function dgwork_thumbnail_size(){
if( dgwork_device( ‘phone’ ) ){
return ‘medium’; // for phone
}elseif( dgwork_device( ‘tablets’ ) ){
return ‘medium’; // for tablets
}else{
return ‘main_page_grid_size’; // for desktop
}
}
}Thanks
markhatter
ParticipantHi,
yes, once I deactivated it, it worked. I need to go through and work out which setting is causing it.The plugin is W3 Total Cache
Thanks
-
AuthorPosts