Advertisement

CSS problem Topic is solved

General questions relating to Joomla! 5.x.

Moderator: General Support Moderators

Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting.
Forum Post Assistant - If you are serious about wanting help, you should use this tool to help you post.
Windows Defender SmartScreen Issues <-- please read this if using Windows 10
Post Reply
AC1990
Joomla! Fledgling
Joomla! Fledgling
Posts: 1
Joined: Thu Nov 07, 2024 3:01 pm

CSS problem

Post by AC1990 » Thu Nov 07, 2024 3:21 pm

Hi,

Yesterday I updated our website to Joomla 4.4.9 and suddenly all custom css in user.css stopped working. (Template is Cassiopeia).

What's strange though, this only applies to the css for the desktop version of my site. When I make the browser window smaller, all css suddenly reappears.

https://www.modularh.nl

Anybody know how to fix this?

Advertisement
User avatar
pe7er
Joomla! Master
Joomla! Master
Posts: 25287
Joined: Thu Aug 18, 2005 8:55 pm
Location: Nijmegen, Netherlands
Contact:

Re: CSS problem

Post by pe7er » Thu Nov 07, 2024 4:47 pm

Did you empty your browser cache?
Have you tried testing your website with another browser?
Kind Regards,
Peter Martin, Global Moderator
Company website: https://db8.nl/en/ - Joomla specialist, Nijmegen, Netherlands
The best website: https://the-best-website.com

Mr. Wimpy
Joomla! Guru
Joomla! Guru
Posts: 590
Joined: Fri Dec 02, 2005 10:46 am
Location: The Netherlands

Re: CSS problem

Post by Mr. Wimpy » Thu Nov 07, 2024 7:33 pm

The first media query is missing the closing }.

User avatar
Pavel-ww
Joomla! Ace
Joomla! Ace
Posts: 1760
Joined: Tue Jun 30, 2020 12:17 pm

Re: CSS problem

Post by Pavel-ww » Fri Nov 08, 2024 8:12 am

AC1990 wrote: Thu Nov 07, 2024 3:21 pm Hi,

Yesterday I updated our website to Joomla 4.4.9 and suddenly all custom css in user.css stopped working. (Template is Cassiopeia).

What's strange though, this only applies to the css for the desktop version of my site. When I make the browser window smaller, all css suddenly reappears.

https://www.modularh.nl

Anybody know how to fix this?
Hi.

I suppose you need to check your code. For example, here you have lost a closing bracket.
1.jpg
Additionally. Your media queries are in chaos. All media queries should be at the very bottom of the document and must have a certain order. After the media queries, there should not be any code.

Here are standard Bootstrap media queries and their order
2.jpg
You do not have the required permissions to view the files attached to this post.

Advertisement

Post Reply

Return to “General Questions/New to Joomla! 5.x”