Template style loading non-existent css

Everything to do with Joomla! 3.x templates and templating.

Moderator: General Support Moderators

Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.
Windows Defender SmartScreen Issues <-- please read this if using Windows 10.
Post Reply
sa_limunom
Joomla! Fledgling
Joomla! Fledgling
Posts: 1
Joined: Sat Mar 21, 2009 10:18 pm

Template style loading non-existent css

Post by sa_limunom » Thu Jul 27, 2023 11:08 pm

Hello,

I have 4 styles for one template. Two of them are loading css ok but two of them are not.

correct

Code: Select all

<link rel="stylesheet" href="/templates/template_name/css/template-index.css" type="text/css" />
wrong

Code: Select all

<link rel="stylesheet" href="/templates/template/css/template-.css" type="text/css" />
So why does a style trying to load "template-.css" and not "template-index.css"?

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

Re: Template style loading non-existent css

Post by Mr. Wimpy » Fri Jul 28, 2023 7:34 am

My guess would be that an option for css or style was not set.

Open a correct style and check where you can set css, style or whatever it's called.
Maybe a dropdown or something, maybe a selection which is set to index.

Then open an incorrect style and see what is set there...


Post Reply

Return to “Templates for Joomla! 3.x”