News:

Wondering if this will always be free?  See why free is better.

Main Menu

Yes, another "template" question

Started by CP, May 24, 2004, 10:37:08 PM

Previous topic - Next topic

CP

OK, back in the "old days" of my YaBB 1 Gold and YaBB SE yesteryears..... there was a simple template code located in the admin area that you could modify and tweak and it would keep you from having to go into your ftp server to do so.
*Yeah so, this is 2004 and things change and so does the code.....
Which brings me to my question (coming from Invision board, yeah I know..... someone had to test out the waters now didn't they?)
My question is this, now, since you have to know php, SSI, and God knows what else kind of code (barely can spell HTML) and which I have no clue......
I would like to add a nice little effect to my site.
This little effect would give he "appearance" of the links being "pushed" down when hover over with a mouse.
In (dare I say) Invision (yeah I said it), I just needed to add this code
A:hover      {color: red; text-decoration: none; background-color: transparent; position: relative; top: 1.5px; left: 1.5px;} below body and above table in the HTML area for the skin I was modding.
Now, God knows where I add/change my logo, change my board background from "light" blue to something a bit nicer or even different, I know where the image files are for buttons, etc as at least I can right click on a image to locate it's properties and over write that file... bu now, the good ol days of modifying the english.eng file, the admin template code locate actually on site in admin area, ar gone!
[unknown] has done a wonderfull job in describing the template system, and if I knew how to code, heck I could even follow it.... but sorry guys/gals coding is not my area.
Thank you for listening and hopefully helping.


Anguz

Cristián Lávaque http://cristianlavaque.com

Oldiesmann

In Themes/default/style.css:

Find
a:visited, a:hover
{
color: #323232;
text-decoration: underline;
}


Replace
a:visited
{
color: #323232;
text-decoration: underline;
}

a:hover
{
color: red;
text-decoration: none;
background-color: transparent;
position: relative;
margin-top: 1.5px;
margin-left: 1.5px;
}
Michael Eshom
Christian Metal Fans

CP

Thank you both for the info!
Oldiesmann, you knew EXACTLY that I would be saying "Ok, got the file, now what?"
Thank you VERY much, I'll give er a shot.

Anguz

he's a support specialist after all... (~_^)
Cristián Lávaque http://cristianlavaque.com

CP

Not only did it work..... it worked VERY well!
It actually also displays links in red on hover as well!
Not that I meant to do that.... but I like the side effect.
The buttons seem to push down every button behind them if I hover over the first to the left, the remaining right ones also push down also. They do not activate, just the "push down" effect.
This hould be added to a tips and tricks section here?

[MiNX]Tek

I'm just trying to change the colors of my forum, and when I edit the styles.css, it only changes the "Current Theme's Settings" page! Everything else is the same.

[Unknown]

Try hitting Ctrl-F5?

What version of SMF?

-[Unknown]

[MiNX]Tek

Yes I have tried refreshing, and I have the latest version.

[Unknown]

<link rel="stylesheet" type="text/css" href="http://forum.minxltd.com/Themes/default/style.css?rc1" />

It's using the default theme's stylesheet.  Do you have this in your template_init?

$settings['use_default_images'] = 'never';

-[Unknown]

Advertisement: