Hi
I am trying to get my site right - www.lynefc.co.uk/lynefc/ and I want to have the news sections have different colours.
h1 refers to a entry in the style sheet. Anyway - I thought, create a h4 as there is not one and add colour. No go, it stills taking settings from other parts of the style sheet. Can anyone advise, even if I have to put the colours in pages direction.
Also - I would not mind putting a faint background colour to the news sections. Any ideas if this is easy to do?
Scott
edited by: slewis1972, Feb 03, 2008 - 11:17 AM
- jmvaughn responded to »error when i try to upgrade to the last version of dizkus module (3.1)« 12:05 PM
- localrags responded to »Remove contents of nuke_sc_anticracker from Database« 11:30 AM
- jmvaughn created topic »TagIt 3.0 for Zikula« 09:34 AM
- jmvaughn responded to »Shoutit for zikula 1.3?« 09:31 AM
- mdee responded to »Different page content under one template (tpl file) based on URL« 07:17 AM
- espaan responded to »Categories disappear when editing ...« 08. Feb
- eledril responded to »How decrease zikula cpu usage« 08. Feb
Zikula Blog
- Anatomy of Open Source Projects on Mar 07
- Continuous Review on Mar 01
- Not Invented Here on Feb 24
- How to Contribute Your Code at Github on Jan 13
- 10 Steps to Coding-Nirvana: Tips for Successful Module Writing on Nov 12
- Submitting Bug Report Tickets That Get Results on Aug 17
- Cozi Tricks #1: Syntax Highlighting on Aug 07
Login
Altering News section layout and colour - ahhh
-
**unknown user**
- Rank: Freshman
- Registered: Mar 16, 2002
- Last visit: Oct 21, 2009
- Posts: 51
HI
Ok- big more digging and issue is with the links entry in the style sheet. I cannot seem to get those settings to be different in then entry for the colour of the news headlines.
Any ideas how to do this?
scott -
- Rank: Team Member
- Registered: Dec 07, 2003
- Last visit: May 09, 2010
- Posts: 2703
Code
<div class="newswrapper">
<div class="newssummary1">
<div><strong><a href="index.php?name=News&file=article&sid=1">Testing Stories</a></strong></div>
<br />
<br />
Posted by
<a href="user.php?op=userinfo&uname=admin">admin</a>
on Sunday, February 03, 2008 - 04:49 PM 8 Reads
<br /><br />
Testing Stories123
<div >
<a href="print.php?sid=1"><img src="images/global/print.gif" alt="Printer-friendly page" /></a>
</div><br />
First, I do not see and h-tags...
The easy way to do this is by class...
Code
.newssummary1 h4{
...
}
--
David Pahl
Zikula Support Team
- Moderated by:
- Support
