Jump to content

Changes made to hard code always reverting back


KuriousKatie

Recommended Posts

Hi guys,

 

I wonder if you can help me?

I've noticed that every time I make changes within the hard code of my shop, it is reverting back to what it was originally.

For example, I have tried a number of times to change the size and weight of the price of the products to something much smaller, on the homepage, but it keeps changing back to large bold prices.

 

My shop is available to see at: https://kurious-katie.co.uk/shop/

 

If you could let me know why this may be happening, and whether I can make those permanent changes - that would be great!

 

 Thanks!

Link to comment
Share on other sites

I do not understand why you do the hard code change?

In every documentation and also the recomendation from developers of prestashop is to use the custom changes in separate place. Prestashop has modules and themes.

And the setting custom design is the main purpose of doing it. See the docs how to make changes in theme design:

https://devdocs.prestashop.com/1.7/themes/

 

You did not write where exactly you did the change.

 

I am very new in prestashop. Actually I did not do any developing yet but if I have a look to your site the size and wight of price is defined in this *.css:

https://kurious-katie.co.uk/shop/themes/ap_office/assets/cache/theme-dc2180231.css

 

So If I were you I would create custom.css (and or copy of theme that you use) file and put there somethink like this:

.price {
    font-weight: normal;
    font-size: 20px;
}

 

Or find these lines in that *.css:

.product-price-and-shipping .price {
    color: #363636;
    font-weight: 600;
    font-size: 15px;

 

Adn comment them:

.product-price-and-shipping .price {
    color: #363636;
    /* font-weight: 600; */
    /* font-size: 25px; */ 

 

Best Regards

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...