Solved

Override Joomla Template CSS

Posted on 2013-12-12
3
318 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 29

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: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say 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

Suggested Solutions

Title # Comments Views Activity
Angular JS Sticky Footer Problem (when page size doesn't meet minimum) 4 45
How to resize a div in html 3 49
CSS in HTML 5 51
need help with share buttons 11 65
So you have coded your own WordPress plugin and now you want to allow users to upload images to a folder in the plugin folder rather than the default media location? Follow along and this article will show you how to do just that!
Browsers only know CSS so your awesome SASS code needs to be translated into normal CSS. Here I'll try to explain what you should aim for in order to take full advantage of SASS.
In this tutorial viewers will learn how to style rounded corners for elements in CSS using the border-radius property Begin with a normal styled element such as a div: To style all four corners of the div to be the same degree of roundness, use the …
Learn how to create flexible layouts using relative units in CSS.  New relative units added in CSS3 include vw(viewports width), vh(viewports height), vmin(minimum of viewports height and width), and vmax (maximum of viewports height and width).

685 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