Creating New Version Of Custom CSS - Question | JoomShaper
Black Friday sale is live with flat 50% OFF. Sale ends soon! Grab your deal now!

Creating New Version Of Custom CSS

GH

Gavin J Hanly

Template 4 years ago

Hi - I'm in the process of changing a site to gazette - and am making a lot of changes to the CSS and checking the implementation.

While this is fairly straightforward when testing on a computer (with CTRL refresh) - I'd like to make sure the custom css is "forced" when we go live (as it's been in soft launch on a few pages). So is there a way to change the version, so that the browser knows it needs to call a new custom CSS?

0
6 Answers
Paul Frankowski
Paul Frankowski
Accepted Answer
Senior Staff 4 years ago #6413

Hi, not really, but most browsers have privacy mode - use it. Then all files are loaded in each time as fresh.

OR

More easy way if we say that. Pust all custom CSS code in Template Options - Custom code - custom CSS -- after all changes just transfer/move into custom.css file.

0
GH
Gavin J Hanly
Accepted Answer
4 years ago #6416

Totally forgot about using privacy mode on IOS - that's helping.

And yes, should have put it into custom code in template options - oh, well - next time!

Thanks for the quick answer.

0
GH
Gavin J Hanly
Accepted Answer
4 years ago #6417

Sorry - just one more question.

Here's an example of a page I'm doing: https://www.hot-dinners.com/restaurants

It's all looking good on a PC. However, when I look at it on an iPhone/Ipad, it seems to be using apple default fonts instead of the ones I've set. Can you tell me what's causing this on the template?

0
Paul Frankowski
Paul Frankowski
Accepted Answer
Senior Staff 4 years ago #6793

You're welcome.

Sorry create a new topic about Apple question, I have only Windows and Android. I cannot help. For sure check what font you set inside custom.css file (!).

0
GH
Gavin J Hanly
Accepted Answer
4 years ago #6797

Hi - I realised that the Segoe UI font wasn't available on iOS (so it used Helvetica as a back-up). I changed it to a google font - so that's all sorted now.

0
Paul Frankowski
Paul Frankowski
Accepted Answer
Senior Staff 4 years ago #6931

Yes, not all fonts exist in both OS. Hopefully it's still possible to use this same font in both.

I guess my general tip helped anyway.

0