-
AuthorPosts
-
July 19, 2022 at 2:41 pm #1358780
Hi
This is related to thread #1358657If you go to the URL below …..
1. There is a large gap between my header text and the main body of the page. Is there a way I can reduce this gap ?
2. Is there a way to hide the “Sort by” box ?Please click on one of the images :
3. How can I hide the “Related” information under the description ? I did not setup related information for any products so not sure why this is even displaying
4. How can I hide the “Additional information” tab ?Please select a “Resolution”
5. Is there any way to increase the space between the PRICE and the quantity selector ?
Please click “Add to Cart”
6. There is a large green box that appears. How can I change the colour of that box ?
Please click/hover over the mini-cart icon in the header
7. I am seeing this :
Under the “Subtotal” there is a small grey area. There should be a “View Cart” and “Checkout” link in that area
Sometimes it appears but other times the grey area narrows and the links disappear. Any idea why ?
I opened the site in another browser window and clicked the mini-cart icon and it was fine
8. Can the “Subtotal” label be changed to “Total” ?
Lastly, when you “Proceed to Checkout” and you have multiple items in your cart, the system shows alternating lines in different colours per this image. Any way it can be in just one colour (black) ?
Again, this is not urgent
Thank you
July 21, 2022 at 2:50 pm #1359031Hi
Any progress on this one ? :-)
TxJuly 23, 2022 at 9:28 am #1359258Hi. 3, 4 and 7 above are all resolved
Can you please help with the others ?
Tx
July 23, 2022 at 10:15 am #1359265“2” is now also resolved with this code which I found in this forum
/* woocommerce shop page remove sort options and products to display dropdowns */
.sort-param.sort-param-count{
display:none!important;
}.sort-param.sort-param-order{
display:none!important;
}July 23, 2022 at 2:35 pm #1359287Hi,
Thank you for your patience, as I understand you still have these issues:5. Is there any way to increase the space between the PRICE and the quantity selector?
Please try this css and adjust to suit.#top .woocommerce-variation-price { padding-bottom: 20px; }
6. There is a large green box that appears after clicking “Add to Cart”. How can I change the color of that box?
Please try this css and adjust the colors to suit.#top div.woocommerce-message { border-color: #5b61af; background-color: #bbb5f1; color: #eeeeee; }
After applying the css, please clear your browser cache and check.
Best regards,
MikeJuly 23, 2022 at 2:59 pm #1359288Hi Mike. That works a treat .. thank you !
These items are still outstanding :If you go to the URL below …..
1. There is a large gap between my header text and the main body of the page. Is there a way I can reduce this gap ?
8. Can the label “SUBTOTAL” in the mini cart drop-down be changed to say “TOTAL” ?
and lastly :
when you “Proceed to Checkout” and you have multiple items in your cart, the system shows alternating lines in different colours per this image below . Any way it can be in just one colour (black) ?
July 23, 2022 at 4:41 pm #1359291Hi,
For the large gap between the header text and the main body of the linked page please try this css:#top.archive .woocommerce-products-header #after_full_slider_2 .template-page { padding-bottom: 0; } #top.archive .template-shop .template-shop.content { padding-top: 0; }
After applying the css, please clear your browser cache and check this page and others to ensure that this doesn’t cause a conflict on other pages, if it does please link to these pages so we can check and adjust.
Best regards,
MikeJuly 24, 2022 at 12:48 am #1359300Thanks Mile…that worked perfectly !
regards
IvanJuly 24, 2022 at 12:52 pm #1359311Hi,
Glad to hear, to change the color of the items in the checkout to all black, try this css:#top.woocommerce-checkout .main_color tr:nth-child(even){ color: #000; }
to change the mini-cart “subtotal” to total, try adding this code to the end of your child theme functions.php file in Appearance ▸ Editor:
function custom_mini_cart_total_script() { ?> <script> (function($){ $(function() { $( "p.woocommerce-mini-cart__total strong" ) .text( "Total" ); }); })(jQuery); </script> <?php } add_action('wp_footer', 'custom_mini_cart_total_script');
After making these changes please check, I believe this was all of the items on your list.
Best regards,
MikeJuly 24, 2022 at 1:15 pm #1359312Thanks Mike. Working on a Sunday ! ? :-)
The alternate colours in the Checkout is now fixed. Thank you.
However the other code for the mini-cart “Subtotal” label didnt work
It’s really not urgent. Can wait until after the weekend
Ivan
July 24, 2022 at 2:09 pm #1359317Hi,
Yes, I work weekends :) can you include a login so I can see why the subtotal is not working?Best regards,
MikeJuly 24, 2022 at 2:21 pm #1359321HI….see login below.
Hope you get some time to relax :-)
IvanJuly 24, 2022 at 3:35 pm #1359323Hi,
Thanks, I updated how your “Add View Cart button to product page” was written and that allowed my script after it to work correctly, please checkBest regards,
MikeJuly 25, 2022 at 12:37 am #1359340Hi. mmmm. This still doesn’t work for me. I still see “SubTotal” in the MiniCart
New admin password below if neededJuly 25, 2022 at 11:16 am #1359366Hi,
Thanks for the feedback, I adjusted it to include a setTimeout, please check again.function custom_mini_cart_total_script() { ?> <script> (function($){ $(function() { setTimeout(function(){ $( "p.woocommerce-mini-cart__total strong" ) .text( "Total" ); },800); }); })(jQuery); </script> <?php } add_action('wp_footer', 'custom_mini_cart_total_script');
Best regards,
MikeJuly 25, 2022 at 11:54 am #1359369Awesome…that woked !
Cheers MikeJuly 25, 2022 at 12:12 pm #1359375Hi,
Glad we were able to help, if you have any further questions please create a new thread and we will gladly try to help you. Thank you for using Enfold.Best regards,
Mike -
AuthorPosts
- The topic ‘Some Woocommerce styling questions’ is closed to new replies.