Orange box in upper left corner

Started by kryptokeskustelu.org, August 29, 2018, 12:20:03 PM

Previous topic - Next topic

kryptokeskustelu.org

Hello everyone,

i have search solution now almost a whole day :D So please can someone help me?

My forum is in hxxp:kryptokeskustelu.org [nonactive]

How/where i can change that orange color in "selection box" to another color? I mean the box left up corner, like in here support forum it is... Home, Help, Search etc. what you select, its color is orange...



Sorry about my bad english and thank you if someone can help me! :)

Sir Osis of Liver

That's a sprite, you'd have to change color in the image -



/* the active button */
.dropmenu li a.active
{
background: url(../images/theme/menu_gfx.png) no-repeat 100% 0;
color: #fff;
font-weight: bold;
}


Ashes and diamonds, foe and friend,
 we were all equal in the end.

                                     - R. Waters

kryptokeskustelu.org

Okay thanks, but i now tried and only can change color of text inside the orange "box". That orange color is that i want to change ..

Bigguy

In your index.css file look for this:


.dropmenu li a.active, #top_info li


That should be what you want to change the color.

Bigguy

Actually...that might not work as I am running 2.1 not 2.0.x so yeah...sorry bout that. It may work though, not sure.

SychO

Edit the image located in Themes/default/images/theme/menu_gfx.png
Checkout My Themes:
-

Potato  •  Ackerman  •  SunRise  •  NightBreeze

Sir Osis of Liver

Ashes and diamonds, foe and friend,
 we were all equal in the end.

                                     - R. Waters

kryptokeskustelu.org

Yeah thanks i found it. I just cannot edit the file like i can edit  .css files. Dont know the reason. Maybe because my webhotel.

But i think i need to live with that orange color. Thank you all :)

Sir Osis of Liver

It's not difficult to change the color -



What color do you want to make it?
Ashes and diamonds, foe and friend,
 we were all equal in the end.

                                     - R. Waters

kryptokeskustelu.org

I liked that same grey color what is in title text. Hex code is #465165

Sir Osis of Liver

Ashes and diamonds, foe and friend,
 we were all equal in the end.

                                     - R. Waters

Antechinus

Guys, you can change the css to call a background colour instead of the sprite. All it needs is the appropriate hex code and a suitable border radius.

The only reason the sprite was used is because at the time we were supporting old versions of Internet Explorer, which had limited CSS capabilities, and we wanted the Curve look (coz flat stuffz wasn't trendy back then). With modern browsers, there is no need to use the sprite for any buttons if you don't want to.

It's also possible to get exactly the same look as the default Curve header and footer with pure CSS, although that does require rewriting some of the markup in index.template.php. I made an example once upon a time (during 2.1 alpha days, IIRC). It's probably in some board here somewhere, but I have no idea where it would be.

kryptokeskustelu.org

Quote from: Sir Osis of Liver on August 30, 2018, 05:47:06 PM


Wow it worked!!!!

Thank you very much, and everyone of you and have a nice weekend :) Cool community!

Advertisement: