
-
AuthorPosts
-
May 29, 2019 at 3:50 pm #1105188
Hi, I was told by plugin Simple auction author that watchlist & ending soon thumbnail image size is controlled by Theme. Can you advise how can i increase image size please. https://ibb.co/Lv0CNzJ
June 1, 2019 at 6:45 pm #1106161Hey axels1983,
Sorry for the late reply, from the screenshot it looks like the plugin may be using the “thumbnails” image size, but I can’t be sure until I can login and examine the page better.
But assuming that this is true, please try installing the plugin Simple Image Sizes and find the image size option in the WordPress > Dashboard > Settings > Media > Media Settings and adjust the thumbnails size from 80×80 to the size you wish. Then use the image regeneration option at the bottom of the same page to rebuild your images.
If this doesn’t help, please include an admin login in the private content area so we can be of more assistance.Best regards,
MikeJune 3, 2019 at 4:43 pm #1106749Hi Mike, thanks for reply. I was hoping this can be done by code adjustments in Quick CSS . I have added login pls have a look and let me know what can be done. If no other options i will install your mentioned plugin. Thanks
June 3, 2019 at 11:21 pm #1106852Hi,
Thanks for the SiteGround login but when I click the button “go to admin panel” I get a WordPress login prompt, and the above login details don’t work there.
Please check.Best regards,
MikeJune 4, 2019 at 8:11 am #1106939Hi Mike! Apologies i have now added also WordPress login.
June 7, 2019 at 4:59 am #1108133Hi,
Sorry for the late reply, thanks for the login, but I couldn’t find the element in your screenshot “watchlist” to examine closer.
Please link to it directly.Best regards,
MikeJune 7, 2019 at 7:41 pm #1108302Hi Mike. Please login to WordPress admin panel and this watchlist /my auctions ( Simple Auction plugin) is located in my account profile.
June 7, 2019 at 11:43 pm #1108323Hi,
Thank you. Please try this code in the General Styling > Quick CSS field or in the WordPress > Customize > Additional CSS field:div ul.product_list_widget li img { width: 100px !important; }
This makes the images 100px high, please feel free to adjust to suit.
Please clear your browser cache and check.Best regards,
MikeJune 10, 2019 at 7:59 am #1108755Hi Mike. Yes thanks picture size increase works but it looks a bit mess as you can see in picture in private. Can you please see if something can be done to make it look a bit more presentable some frame around each product or anything else.
June 13, 2019 at 3:54 am #1109643Hi,
Thank you, I understand better now. I see that this is a plugin and it doesn’t seem to load any of it’s own css. I also note that with your page caching and merging off your site still reports getting your css from the merged css.
I believe your server is caching also and we will need to clear this cache or turn it off.
Does your plugin come with any css snippets to style the grid? There are also many options, please see if you find any about styling the grid, I didn’t see one.Best regards,
MikeJune 13, 2019 at 1:59 pm #1109863Hi Mike thanks for help. I have turned off all server cache. I have asked plugin author to comment this issue with style css and he came back with reply: Usually theme does that, we do not force our style on anything since that part should be done with theme.
He also advised before to just create two columns for it (watchlist/my auctions) widget. Can you advise how this can be done. Thanks againJune 16, 2019 at 9:46 pm #1110868Hi,
Sorry for the late reply, odd that they don’t at least have a default style. Right now it’s 100% width which is ok when it’s in the sidebar, but on your page it may look better as two columns. Please try this code in the General Styling > Quick CSS field or in the WordPress > Customize > Additional CSS field:#my-auctions-2 { width: 47% !important; display: inline-block; } #watchlist-auctions-3 { width: 47% !important; float: right; }
Then clear your browser cache and any cache plugin, and check.
Best regards,
MikeJune 17, 2019 at 12:58 pm #1111000Hi Mike, thanks it does look better but still bit too wide and so would appreciate 4 rows instead of 2 columns ( watchlist/my auctions displayed horizontally in line) – pls see link picture. Thanks
June 20, 2019 at 12:50 am #1111756Hi,
Sorry for the late reply, please add more content so we can create 4 columns instead of two. It’s too bad that the plugin doesn’t offer some basic css but I’m sure we can help.
Your screenshot shows 4 items each for “my auctions” and “watchlist” which are two different elements.Best regards,
MikeJune 20, 2019 at 7:44 pm #1112082Hi Mike. Thanks again for help. I have added more content. Screenshot was just for illustration purpose to show that 4 items in one row looks better then two columns hence would prefer such an arrangement for both watchlist and my auctions.
June 23, 2019 at 4:51 pm #1112713Hi,
Sorry for the late reply, does your auction plugin have shortcodes that can be used instead of the widgets?
Perhaps we can add the shortcodes to code block elements and align them better on your page.Best regards,
MikeJune 23, 2019 at 11:10 pm #1112773Hi Mike! I have added in private link to available plugin shortcodes. Thanks
June 26, 2019 at 6:33 am #1113484Hi,
Sorry for the late reply, I tried the shortcodes in a code block element and found that this shortcode created the grid style that you were looking for:[auctions_watchlist], [auctions_watchlist per_page="12" columns="4" order="desc" orderby="meta_value" order="desc"]
Please check and adjust to suit using the shortcodes in the link that you have posted above.
Best regards,
MikeJune 27, 2019 at 9:45 pm #1114117Hi Mike. Great find thanks, not sure why plugin author did not mention it when i asked for this solution instead advised coding. Just one thing with this watchlist sortcode when i add item to favorites it adds product twice – same product just copies itself to another row – see link in private.
June 27, 2019 at 9:50 pm #1114118I just noticed there missing product ending timer for favorite products when following this sortcode. Can this be added manually ?
[auctions_watchlist], [auctions_watchlist per_page=”12″ columns=”4″ order=”desc” orderby=”meta_value” order=”desc”]June 27, 2019 at 9:55 pm #1114119Found this in plugins documentation but not sure if this would help.
June 28, 2019 at 4:53 am #1114156Hi,
It looks like the function you posted may work, Try adding the code to the end of your functions.php file via ftp, this way if it produces an error you can then remove the code via ftp to correct.Best regards,
MikeJune 28, 2019 at 6:40 pm #1114339Hi Mike! As advised added code to plugin function.php and it works but it forces this timer everywhere (also shop page) but i wanted this timer for my account / watchlist, saved items. Maybe there is way to adjust this in code without taking away original timer from single product pages.
June 30, 2019 at 8:09 pm #1114673Hi,
Glad to hear this is working, we could try adjusting it to only work on the one page like this:add_action( 'woocommerce_after_shop_loop_item_title','wpgenie_show_counter_in_loop',50 ); if ( is_page('29') ) { function wpgenie_show_counter_in_loop() { global $product; $time = ''; if ( ! isset( $product ) ) { return; } if ( 'auction' !== $product->get_type() ) { return; } $timetext = esc_html__( 'Time left', 'wc_simple_auctions' ); if ( ! $product->is_started() ) { $timetext = esc_html__( 'Starting in', 'wc_simple_auctions' ); $counter_time = $product->get_seconds_to_auction(); } else { $counter_time = $product->get_seconds_remaining(); } $future_class = ( $product->is_closed() === false ) && ( $product->is_started() === false ) ? 'future' : ''; $time = '<span class="time-left ">' . $timetext . '</span> <div class="auction-time-countdown ' . $future_class . '" data-time="' . esc_attr( $counter_time ) . '" data-auctionid="' . intval( $product->get_id() ) . '" data-format="' . esc_attr( get_option( 'simple_auctions_countdown_format' ) ) . '"></div>'; if ( $product->is_closed() ) { $time = '<span class="has-finished">' . __( 'Auction finished', 'wc_simple_auctions' ) . '</span>'; } echo $time; } }
I couldn’t test it on your site without ftp access.
Best regards,
MikeJune 30, 2019 at 9:52 pm #1114715Hi Mike. I have added ftp access for you because i tried code above and it shows error – pls see link in private.
June 30, 2019 at 10:55 pm #1114722Hi,
Thanks for the ftp access, I was not able to adjust the code to do want you wanted, I did find that if I use this css with it I could show it only on the /en/my-account/ page.#top:not(.page-id-29) .auction-time-countdown { display: none !important; }
Please clear your browser cache and check.
Best regards,
MikeJuly 1, 2019 at 9:18 pm #1114968Hi. Yes it does work Mike thanks for great help. I added two links where auction time left is missing from product pages but works ok in my account watchlist. Apart from this all rest works excellent.
July 3, 2019 at 3:43 am #1115320Hi,
Thanks for the feedback, so you only want the count down to show on your /my-account/ page and the product page, correct?Best regards,
MikeJuly 3, 2019 at 9:11 am #1115387Correct Mike, timer just on single product page and /my-account/ page so also no need to have time left message on shop page and auction page where all items are displayed – see link.
July 5, 2019 at 12:50 pm #1116035 -
AuthorPosts
- You must be logged in to reply to this topic.