how to have a custom template read its CSS file ...

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.
Locked
tired12345
Joomla! Apprentice
Joomla! Apprentice
Posts: 29
Joined: Tue Nov 09, 2010 4:55 am

how to have a custom template read its CSS file ...

Post by tired12345 » Fri Apr 05, 2013 10:28 pm

Trying to create a custom template as the title says ...

First time for Joomla 3.0 ...

How do I have it read its CSS file?

I've tried various lines, and none works.

It's driving me crazy.

Here are some lines I've tried:

<link rel="stylesheet" href="/<?php echo $this->baseurl ?>/templates/<?php echo $this->template; ?>/css/template.css" type="text/css" media="screen" />

<link rel="stylesheet" href="literal_URL_here/templates/Test7/css/template.css" type="text/css" media="screen,projection" />

<link rel="stylesheet" href="templates/<?php echo $this->template ?>/css/template.css" type="text/css" />

Any advice, suggestions?

Thanks.

Locked

Return to “Templates for Joomla! 3.x”