inside an article, I tried linking the style sheet, while putting the text content inside a div tag with ID main-content, like this....
<link rel="stylesheet" href="main-content.css" />
<div id="main-content"> This is where my main page text is at</div>
This seemed like the correct method, but it did not make my text styled when I previewed the site.
So I added the <link rel="stylesheet" href="main-content.css" /> to my templates index.php page inside header, but still nothing.
I have not tried adding the stylesheet through the main joomla index page, because I didnt see any other css being linked from there.
I also tried adding the css file to my content editor css directory, so it would be available from the options of what style to apply to text, but still no luck.
Can anybody please help me, searched google for past 2 and a half hours (And yes payed attention to what I read).
Need to know, "How can I link a css style sheet to my joomla content?"
EDIT: this topic originally titled: i need serious css help asap
Re: [ANSWERED] CSS Joomla Articles-adding CSS style to articles
Posted 15 years 7 months ago
Have a look at rt_head_includes.php in your templates directory. The links to the stylesheets have been pulled out of index.php to make the template more readible.
You could as well add your own css at the end of template.css.