Solved

Override Joomla Template CSS

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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
Problem to Popup 37 82
make top menus bigger font 3 37
How can I apply two background images in CSS 4 33
CSS grid style change 2 15
Unordered lists (HTML ul tags) are very handy to create menus of all types, shapes and sizes.  All it takes is a little knowledge of CSS and the possibilities are endless. First off, you should know the general format for menus created using the …
Introduction If you're like most people, you have occasionally made a typographical error when you're entering information into an online form.  And to your consternation, the browser remembers the error, and offers to autocomplete your future entr…
In this Micro Tutorial viewers will learn how to create a CSS image sprite (In a later tutorial, viewers will learn how to use CSS and HTML to create a navigation menu using this sprite) Open a new Photoshop document with a width of (Icon width)x(N…
The viewer will receive an overview of the basics of CSS showing inline styles. In the head tags set up your style tags: (CODE) Reference the nav tag and set your properties.: (CODE) Set the reference for the UL element and styles for it to ensu…

746 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

12 Experts available now in Live!

Get 1:1 Help Now