Solved

Override Joomla Template CSS

Posted on 2013-12-12
3
315 Views
Last Modified: 2013-12-19
Wondering if there is a way to override the Joomla temple CSS and create a inline CSS style for one article page. We have been working on a new page that just needs a little more space at the bottom before the Footer begins and I was wondering if anyone has been able to do this?

here is the page:
http://www.wavedirect.net/index.php/high-speed-internet-plans

Again we are just looking to push the footer down a little bit for one page only with an inline style and keep the global template and CSS alone.
0
Comment
Question by:fadercreep
3 Comments
 
LVL 18

Accepted Solution

by:
Rartemass earned 250 total points
ID: 39715584
From the looks of your code you want this inline style for the footer on line 480:
<div class="footer" style="margin-top: 35px;">
The rest of the styles should still apply.

Also the internal style you have for the footer (repeated below) should be in the head tag. If it is placed after the external CSS link it will override the external file. If placed before the link the external file will override it.

<style>
    .footer {
    width:100%;
    height:140px;
    margin-top: 35px;
    background:url(../images/footer-bg.png) repeat-x bottom center;
    position: relative;
    z-index:500; }
</style>
0
 
LVL 28

Assisted Solution

by:chilternPC
chilternPC earned 250 total points
ID: 39717066
if you don't want to hack the header code , there is an free extension to allow custom css on modules and articles at this link:

http://www.hyde-design.co.uk/free-joomla-extensions/custom-css
0
 

Author Closing Comment

by:fadercreep
ID: 39729133
Thanks guys!
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

As a result of several questions about how to use Bootstrap I thought it would be a good idea to write down the development aspect of creating a Bootstrapped website in as little time as possible. Part 1 of this article will only concentrate on g…
This article discusses four methods for overlaying images in a container on a web page
In this tutorial viewers will learn how to embed custom externally-hosted Google Fonts using the Google Font API in CSS Go to the Google Fonts website at google.com/fonts: Browse or search based on font properties or name to find a suitable font for…
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.

829 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