Uutiset:

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

Main Menu
Advertisement:

an help with core 2.0 customization

Aloittaja Crissm, kesäkuu 22, 2011, 02:44:30 IP

« edellinen - seuraava »

Crissm

Hello, i use smf since 2004 but basically i'm new with theme customizations. I'm trying to do some small changes to Core for 2.0 gold (buttons, logo, etc), btw my main problem is when i try to add a logo on the top left

i would need catbg.jpg (the red gradient on top) as background of all the logo, while i have only a part of this.
How could i do, to have catbg.jpg on all the area? i tried to search in index.css but without success.

index.css in attachment, btw i did not make changes to this for the moment.

Crissm

#1
sorry maybe you need the index.template too (this is trhe index.template for core on  2.0, no changes made)

ahh, and the logo/banner is 454x158

EDIT: TinyPortal installed.

ARG01

A link to your site may help things move a little faster.  ;)
No, I will not offer free downloads to Premium DzinerStuido themes. Please stop asking.

Crissm

Lainaus käyttäjältä: ARG - kesäkuu 22, 2011, 03:16:18 IP
A link to your site may help things move a little faster.  ;)
Lainaus käyttäjältä: ARG - kesäkuu 22, 2011, 03:16:18 IP
A link to your site may help things move a little faster.  ;)

The site is on a temporary link, i'll move in the next days my website from 1.1.4 to 2.0 gold and i'm doing for the moment some live tests for the new site.
btw, this is the temporary link
http://www.vivamafarka.com/forumnuovo/index.php?action=forum

CyberAlien

In css changebackground: url(../images/catbg.jpg) #88A6C0 repeat-x;tobackground: url(../images/catbg.jpg) #ae3433 repeat-x;

Crissm

Lainaus käyttäjältä: CyberAlien - kesäkuu 22, 2011, 06:14:34 IP
In css changebackground: url(../images/catbg.jpg) #88A6C0 repeat-x;tobackground: url(../images/catbg.jpg) #ae3433 repeat-x;

i tried but nothing is changed?

Crissm

Maybe the problem is in my englsh, sorry. What i'm asking is to have the gradient "catbg.jpg" on al the area of the logo, and not half bordeaux gradient, half celeste colour as now

Antechinus


Crissm

Lainaus käyttäjältä: Antechinus - kesäkuu 22, 2011, 07:02:47 IP
Edit the main_block.png image. There's a full PSD of it freely available.

http://custom.simplemachines.org/themes/index.php?action=download;lemma=2428;id=14166

Thanks Antechinus, but i can't see the main_block.png in the image folders of Core theme, i can find it only in the /images/theme/ folder of the default (curve) theme. If i change the file there it will affect the Core theme too (which i'm using)?

Antechinus

Ah, sorry. In that case the change suggested by CyberAlien should work. I would suggest clearing your browser cache and reloading the page. CSS files are cached. ;)

Crissm

Lainaus käyttäjältä: Antechinus - kesäkuu 22, 2011, 07:26:22 IP
Ah, sorry. In that case the change suggested by CyberAlien should work. I would suggest clearing your browser cache and reloading the page. CSS files are cached. ;)

i cleared the cache and also tried with another pc but i keep to see that celeste colour, i don't know where this is set :/

Antechinus

It's set in the catbg class in index.css.

.catbg, .catbg2, tr.catbg td, tr.catbg2 td, tr.catbg th, tr.catbg2 th
{
color: #fff;
font-family: Verdana, Helvetica, sans-serif;
font-weight: bold;
background: url(../images/catbg.jpg) #88A6C0 repeat-x;
}

Crissm

Lainaus käyttäjältä: Antechinus - kesäkuu 22, 2011, 07:54:50 IP
It's set in the catbg class in index.css.

.catbg, .catbg2, tr.catbg td, tr.catbg2 td, tr.catbg th, tr.catbg2 th
{
color: #fff;
font-family: Verdana, Helvetica, sans-serif;
font-weight: bold;
background: url(../images/catbg.jpg) #88A6C0 repeat-x;
}


now it's changed to
.catbg, .catbg2, tr.catbg td, tr.catbg2 td, tr.catbg th, tr.catbg2 th
{
   color: #fff;
   font-family: Verdana, Helvetica, sans-serif;
   font-weight: bold;
   background: url(../images/catbg.jpg) #ae3433 repeat-x;
}


but i can't see any changes..can you check it?
http://vivamafarka.com/forumnuovo/index.php?action=forum

Antechinus

Delete this:

.catbg, .catbg2, tr.catbg td, tr.catbg2 td, tr.catbg th, tr.catbg2 th
{
   background: url(../images/catbg2.jpg) #A1BFD9 repeat-x;
}

Crissm

Lainaus käyttäjältä: Antechinus - kesäkuu 22, 2011, 08:09:58 IP
Delete this:

.catbg, .catbg2, tr.catbg td, tr.catbg2 td, tr.catbg th, tr.catbg2 th
{
   background: url(../images/catbg2.jpg) #A1BFD9 repeat-x;
}

i deleted it and nothing changed :(

Crissm

Ok sorry to both ..i discovered that
background: url(../images/catbg.jpg) #88A6C0 repeat-x;

is showed 2 times in the index.css, and i was modifying the other one...ouch._.

Now it's ok, than you very much to CyberAlien and Antechinus for their help

Antechinus

Bother. It shouldn't be there twice. We have some redundant css in Core by the look of it.

Advertisement: