News:

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

Main Menu

CSS for Lazy People Like Me

Started by KirkhamsEbooks, September 16, 2015, 03:26:22 AM

Previous topic - Next topic

KirkhamsEbooks

At first I did this in the ad mod, but it wasn't affecting the forum until opened a category, so I used the html tag in the Newsletter feature in the upper right hand corner like this



[html]

<style>

/* Styles for the general looks for the Curve theme.
------------------------------------------------------- */

/* Normal, standard links. */
a:link, a:visited
{
   color: navy;
   text-decoration: underline;
font-weight: bold;
}
a:hover
{
   text-decoration: underline;
   cursor: pointer;

color: white ;
  background-color: green ;
}

/* Links that open in a new window. */
a.new_win:link, a.new_win:visited
{
   color: navy;
   text-decoration: underline;
font-weight: bold;
}
a.new_win:hover
{
   text-decoration: underline;
}

</style>

[/html]




I know real basic and dumb, but it's a quick way for me now to make changes after an upgrade and I can keep the code in my Google Drive in a text file.

Rick

Illori

you are not even telling us what that does or what is changed. why would anyone want to use it?

if you dont want your stuff lost in upgrades, why not create an additional css file and add a call to it in your themes header?

i believe you can also use hooks to load the css file.

it is also not valid html to put your css in that location, it has to be in the header.

KirkhamsEbooks

Quote from: Illori on September 16, 2015, 05:22:16 AM
you are not even telling us what that does or what is changed. why would anyone want to use it?

if you dont want your stuff lost in upgrades, why not create an additional css file and add a call to it in your themes header?

i believe you can also use hooks to load the css file.

it is also not valid html to put your css in that location, it has to be in the header.

And yet it works. I put it in there so I wouldn't have to edit the css files

Advertisement: