Shape 5

Joomla Templates => User Choice - August 2007 - Club => : labra March 19, 2009, 11:20:01 AM



: duplicating the color bar/line
: labra March 19, 2009, 11:20:01 AM
Hi again

There is a color bar above the horizontal menu (the color is defined in the template settings via its GUI).

I need to duplicate this color bar (band? Line? whatever...) to the bottom of the page. How can this be done?

TIA -

Lev


: Re: duplicating the color bar/line
: mikek March 19, 2009, 11:29:47 AM
Hello, can you be a little more specific? Where exactly do you want the bar, at the very bottom? Partly up from the bottom? How tall do you want it?


: Re: duplicating the color bar/line
: labra March 19, 2009, 01:04:07 PM
Here's a screenshot with a bar at the bottom - how can I add it in code?

I also need to place a line of text on this color bar - similar to the date on the top bar.

Thanx in advance -

L


: Re: duplicating the color bar/line
: mikek March 19, 2009, 01:38:40 PM
Hi, it might easier to use the row for user6, user7 and user8 at the bottom since it's already setup with module positions and then if you add this to the bottom of your template_css.css file:

#s5_row2 {
background:#003D7A;
}

It will change the background blue.


: Re: duplicating the color bar/line
: labra March 19, 2009, 01:43:45 PM
Thanx, I will give it a try. If it does not work out I will get back to you. :)

L


: Re: duplicating the color bar/line
: labra March 19, 2009, 01:59:26 PM
No go. :(

1. I created a content item named "footer" and placed one line of text there.
2. I created a new category "footer" and applied it to the content item.
3. I created a copy of the Newsflash module and selected the "footer" category as source.
4. I attributed the module to user6 position and enabled it.
5. I added the #s5_row2 {background:#003D7A;} line to the template_css.css file and saved it.

Result: I got the text displayed (see http://pulseorimaging.com/) - but no background displayed.

Assumption: the Newsflash module overrides the template setting.

Question: What tool can I do to place a line of text in this module position?


: Re: duplicating the color bar/line
: labra March 19, 2009, 02:06:47 PM
What's even worse, the Frontpage Display module stopped working after I made the change in the template. :(


: Re: duplicating the color bar/line
: mikek March 19, 2009, 03:46:02 PM
Hello, the code I give you was for modules published to user6, user7 and user8 not the footer position. You should be publishing the module to one of those positions.


: Re: duplicating the color bar/line
: labra March 19, 2009, 11:36:59 PM
I did publish it to user6 - the name "footer" is arbitrary and does not reflect its position.

OK, this approach did not work out. Let's try a different approach - adding it via the index.php file - is that possible?

Alternatively, using the footer.php file could probably work out. What say you?

TIA -

Lev


: Re: duplicating the color bar/line
: mikek March 20, 2009, 06:46:59 AM
Hello, if you can private message me super admin access I can set it up for you.


: Re: duplicating the color bar/line
: mikek March 20, 2009, 07:10:27 AM
Hi, I'm sorry it should have been on the light.css file. I've add that and the bar is now blue however the module you have there has some issues. They've hard-coded the styles directly into it:

<font face="courier new,courier">
<strong>
<span class="Apple-style-span" style="color: rgb(0, 0, 0);">DELIVERING OPTICAL IMAGING SOLUTIONS FOR COSMETIC, MEDICAL AND SCIENTIFIC APPLICATIONS</span>
</strong>
</font>

I'm not sure where that is pulling from but you'd have to find it and change the text color to color:#FFFFFF there.