Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Override Joomla Template CSS

Posted on 2013-12-12
3
Medium Priority
?
332 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 1000 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 1000 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

New feature and membership benefit!

New feature! Upgrade and increase expert visibility of your issues with Priority Questions.

Question has a verified solution.

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

When writing CSS, there are a few simple rules that will make your life easier.    1. Using ‘* {box-sizing:border-box;}’. Using this will wrap all your elements in a nice little compact box-model that will give you the width you want, like so... …
Today, the web development industry is booming, and many people consider it to be their vocation. The question you may be asking yourself is – how do I become a web developer?
In this Micro Tutorial users will learn how to embed custom fonts into websites using @font-face in CSS Select a font: Ensure the EULA allows you to use @font-face: Download the font: Get the browser-compatible files you need: Edit your CSS       - Name …
In this tutorial viewers will learn how to style a decorative dropcap for the first letter in a paragraph using CSS. In CSS, create a new paragraph class by typing "p.fancy": Then, to style only the first letter of the first sentence, include the ps…
Suggested Courses

824 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