• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

Possibility to change news header color.

enriel

Big L
Joined
Dec 14, 2007
Messages
1,254
Reaction score
2
Location
Montenegro
Like topic says, how is it possible to change news header color. What I mean is:



Where the box is, can it be for example blue? look here:

Helgaot.com

check their news, how is it possible to have it like that? So there is a box under the text for news header.
 
It's probably in the CSS.

A div with the class "NewsHeadlineBackground".

Just change it to

background-image: url(layouts/new/images/news/newsheadline_background.gif);

or something.
That's at least what helgaots uses.
 
so if it's like this:

.Content #FeaturedArticle .NewsHeadlineBackground {
position: relative;
height: 28px;
margin-bottom: 5px;
background-repeat: repeat-x;
border-left: 1px solid #d0cdb4;
border-right: 1px solid #d0cdb4;
}

I'll change it so it's like this:

.Content #FeaturedArticle .background-image: url(layouts/new/images/news/newsheadline_background.gif);{
position: relative;
height: 28px;
margin-bottom: 5px;
background-repeat: repeat-x;
border-left: 1px solid #d0cdb4;
border-right: 1px solid #d0cdb4;
}

or i'm doing it wrong?
 
You're doing it wrong.

newsheadline_background.gif


That's what helgaot is using, make your own with the same dimensions and image-type, with the colors/look that you want.

save it in --

/layouts/new/images/news/newsheadline_background.gif

goto the CSS and change to

Code:
.Content #FeaturedArticle .NewsHeadlineBackground {
background-image: url(layouts/new/images/news/newsheadline_background.gif);
position: relative;
height: 28px;
margin-bottom: 5px;
background-repeat: repeat-x;
border-left: 1px solid #d0cdb4;
border-right: 1px solid #d0cdb4;
}

Done.
 
Back
Top