Solved

Override Joomla Template CSS

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Safari SVG Image Problem 1 39
Remove greater than sign 3 43
Alignment is not working correctly. 8 32
move widget title down 4 7
Styling your websites can become very complex. Here I'll show how SASS can help you better organize, maintain and reuse your CSS code.
This article describes how to create custom column layout styles for Bootstrap. The article uses 5 columns to illustrate the concept, but the principle can be extended to any number of columns.
In this tutorial viewers will learn how to style a corner ribbon overlay for an image using CSS Create a new class by typing ".Ribbon":  Define the class' "display:" as "inline-block": Define its "position:" as "relative": Define its "overflow:" as …
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).

910 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

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now