How to change text color and fix shopping cart issues in Dawn theme?

How to change text color and fix shopping cart issues in Dawn theme?

Elmin
New Member
6 0 0

My store right now is furzana.com and I have noticed that the words "shipping" in "Shipping is free at checkout" is a white text on a white background. I do not want to change the color of my background, I want to figure out how to change the text color to black. Then another issue I'm having is that my cart doesn't allow me to empty it completely using the '-' button from the quantity selector, I can put a 0 in and it will work, but when I hit the '-' it does not work, it shows a 🚫 symbol on my cursor, and another issue I just found out, is that whenever you empty the cart by changing the number into 0, it will say "continue shopping", but when I click onto it, it sends me to a product catalogue, but I am a one product store... I need that changed to only send to the product page itself.

 

 

Replies 2 (2)
Elmin
New Member
6 0 0

For the redirect on the “continue shopping” button I can’t select it when in theme editor it immediately sends me straight into the catalogue without selecting the button as an option to edit. Im not sure how else I would select it. 

and for the - quantity selector I talked about to with support and they said it’s a feature with the store based on the amount of products within the store. Weird.

JNATX
Visitor
1 0 0

For the Continue Shopping redirect, you need to make the changes in the code.  Here's my documentation to do this in the Dawn theme.

Currently the Continue Shopping link takes the shopper back to the Collections Page. 

Changing Continue Shopping link to go back to the previous page.

 

I found the code to make these changes at https://community.shopify.com/c/shopify-design/how-to-change-continue-shopping-link-to-go-back-to-pr...

 

In the main-cart-items.liquid file, lines 32 & 39 the following code was added:

onclick="history.back();return false;" 

 

To make the changes go to the GPG Shopify as admin. 

  • Select Online Store —>Themes 
  • The current theme is shown - click on the ellipsis next to Customize and select edit code.
  • If you do not see the file displayed you need, type it in the Filter Files box on the upper left of the page and it will be displayed if it exists.
  • For this code change perform Command-F and search for routes.all_products_collection_url
  • Add the onclick="history.back();return false;"  code between <a href= {{routes.all_products_collection_url }}” and class=”underlined-link”>   
  • Save.  Note - if there are any errors in the code an error message will be displayed and the changes will not be saved.  Correct errors and save.
  •  The Continue Shopping button should redirect you to the product page you were at when you added an item to the cart.