Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Adding article-specific CSS in Joomla 3.1.1

Posted on 2013-05-23
3
Medium Priority
?
428 Views
Last Modified: 2013-06-15
I am new to Joomla, and have created my first template.  It is responding appropriately.  Right now, there is only a home page.  There will eventually be more content, and each page is likely to need its own styling.  I'd rather not dump all the page-specific CSS into the main template.css file.  How can I tell Joomla to link to CSS file "thispage.css" from a particular article?

I need to know if this is possible with a default installation.
0
Comment
Question by:Steve Bink
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 7

Accepted Solution

by:
dec0mpile earned 2000 total points
ID: 39230251
I think this would be possible with the default installation, but it would require changing or adding some code.

Take a look at this free extension:
http://extensions.joomla.org/extensions/style-a-design/templating/14053

It is compatible with Joomla 3.x.x

Website with documentation:
http://www.hyde-design.co.uk/free-joomla-extensions/custom-css#all-templates

I think it will do exactly what you need.
0
 
LVL 51

Author Comment

by:Steve Bink
ID: 39231863
This does what I want, but I would certainly prefer to have the CSS attach directly to the article, instead of having to split the management between the article and a module.  I'm guessing there is no functionality inside Joomla core to handle this?

I don't like the administration this will require to manage a site with hundreds of pages, but it is what it is.

Any other suggestions?
0
 
LVL 51

Author Closing Comment

by:Steve Bink
ID: 39250560
It is not a perfect to what I want, but it works.
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Change Joomla Logo Graphic This tutorial goes over the steps to change the Joomla Logo in the template you are using. For this example we will be assuming you are using the rhuk_milkyway Joomla Template which is installed by default. You will …
Have you ever wanted to use that sweet jQuery gallery plugin on your Joomla site but couldn't get it working due to jQuery conflicts or your lack of knowledge about what's under the Joomla hood? This article will step you through the process of impl…
In this brief tutorial Pawel from AdRem Software explains how you can quickly find out which services are running on your network, or what are the IP addresses of servers responsible for each service. Software used is freeware NetCrunch Tools (https…
Want to learn how to record your desktop screen without having to use an outside camera. Click on this video and learn how to use the cool google extension called "Screencastify"! Step 1: Open a new google tab Step 2: Go to the left hand upper corn…

715 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question