Joomla Article Question

Posted on 2011-10-31
Medium Priority
Last Modified: 2012-05-12
Hi Experts,

I've made a landing page for in straight HTML & CSS.  I want to paste the html into an article page (using code view) and add the css to the template.css file.  Related images & assets are placed in images\stories...

When I do this  none of the images (using image tags) and background images (using css) appear.  The dims & positioning seems to be rendered fine but none of the paths seems to work.  the site uses a RokBox them but I don't see how this would affect file paths as the syntax I use is identical to the template.css syntax.  So.. is it possible that trying to embed html with external css simply doesn't work in Joomla?  Seems to me it should work.  Where should I
start in the troubleshooting?
BTW it's Joomla 1.5


Question by:HelpNearMe
  • 2
LVL 12

Expert Comment

by:Panagiotis S
ID: 37058809
put your css at template.css  of your template
LVL 13

Accepted Solution

Andrew Derse earned 2000 total points
ID: 37058858
Embedding HTML with external css should work just fine.  

Here's a few tips/tricks:

Look here to embed new css file in with articles/modules:

If you do add it to your template's css...and the images are coded just like the other one's...and it's still not showing up...try coding the path to be an absolute path versus relative to see if that helps...

Also, have you tried doing a complete page refresh?  Hit Shift + F5, that should completely refresh the page for you.  Also, turn off your cache...your pages might be cached and you might have it coded correctly, but it won't render because the pages are cached...just a few thoughts.

Let me know if this helped or if we need to dig deeper into it.
LVL 12

Expert Comment

by:Panagiotis S
ID: 37058898
try your article css to have only classes

Author Closing Comment

ID: 37059827
Shift + F5 did it :) thanks

Featured Post

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Question has a verified solution.

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

Originally, this post was published on Monitis Blog, you can check it here . It goes without saying that technology has transformed society and the very nature of how we live, work, and communicate in ways that would’ve been incomprehensible 5 ye…
Without even knowing it, most of us are using web applications on a daily basis.  In fact, Gmail and Yahoo email, Twitter, Facebook, and eBay are used by most of us daily—and they are web applications. We generally confuse these web applications to…
The viewer will learn how to dynamically set the form action using jQuery.
The viewer will learn how to count occurrences of each item in an array.
Suggested Courses
Course of the Month17 days, 10 hours left to enroll

830 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