Creating new version of custom CSS - Forum | JoomShaper
Staff replied Templates

Creating new version of custom CSS

Asked by Gavin J Hanly 5 years ago Last activity 5 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?

6 replies

Paul Frankowski Senior Staff

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.

Gavin J Hanly Asked this

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.

Gavin J Hanly Asked this

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?

Paul Frankowski Senior Staff

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 (!).

Gavin J Hanly Asked this

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.

Paul Frankowski Senior Staff

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.

Log in to reply.