Kombinierte Ansicht Flache Ansicht Baumansicht
Threads [ Zurück | Nächste ]
toggle
Niki Lin
How to adjust the banner logo's margin of top to 0?
6. Juni 2013 00:46
Antwort

Niki Lin

Rang: Junior Member

Nachrichten: 33

Eintrittsdatum: 8. Mai 2013

Neue Beiträge

Here is my site's index page and I changed the logo of site.
The image is as follows and I want the red frame is gone.
I search on google and this forum and try many ways, but it never works.
Could somebody please help me to config it? thx.

Before:


After:
Muradali Hasan
RE: How to adjust the logo banner margin of top to 0?
6. Juni 2013 00:44
Antwort

Muradali Hasan

Rang: Junior Member

Nachrichten: 83

Eintrittsdatum: 26. Juli 2010

Neue Beiträge

Hi Niki,

if you want to display logo in custom style you can write the css in your custom theme for logo.

Thanks-
Muradali
Niki Lin
RE: How to adjust the logo banner margin of top to 0?
6. Juni 2013 00:48
Antwort

Niki Lin

Rang: Junior Member

Nachrichten: 33

Eintrittsdatum: 8. Mai 2013

Neue Beiträge

Hi Muradali,
I change the main.css, custom.css and public page's css.
I add the css like this:
#banner .logo {
margin:0;
}
But it never works. I don't know why.
Would you please give me a hint? Thx.
Niki Lin
RE: How to adjust the logo banner margin of top to 0?
7. Juni 2013 02:08
Antwort

Niki Lin

Rang: Junior Member

Nachrichten: 33

Eintrittsdatum: 8. Mai 2013

Neue Beiträge

I've try many times and it drives me so crazy...I have no any idea about this.
Could anybody tell me how to solve this issue? Thanks.
chirag @ India
RE: How to adjust the logo banner margin of top to 0?
7. Juni 2013 02:15
Antwort

chirag @ India

Rang: Regular Member

Nachrichten: 129

Eintrittsdatum: 20. Dezember 2011

Neue Beiträge

hi niki ,

First You try with Inspect Element in browser (Google chrome F12-Shortcut ) & change according your need ,then see in right side of inspect element there are css style as well from which file it's comes also shown.Also trace Other css affected or not ..

HTH
Chirag@India
Anonym
RE: How to adjust the banner logo's margin of top to 0?
7. Juni 2013 07:40
Antwort

Anonym

Another thing you have to be careful of is CSS Specificity.

That's were you may define some CSS, but some other CSS has more weight and so then your changes don't get applied.

http://coding.smashingmagazine.com/2007/07/27/css-specificity-things-you-should-know/
Robert Moloney
RE: How to adjust the banner logo's margin of top to 0?
17. Juni 2013 07:09
Antwort

Robert Moloney

Rang: New Member

Nachrichten: 21

Eintrittsdatum: 11. Juni 2013

Neue Beiträge

I can't see anything there man is it just a padding problem ?

If its just something like padding or margin then you can go onto your index page (if admin) click on manage page =>page =>look and feel then scroll down to the bottom of the page and there is a text box where you can apply your own css after the theme is in place .If you put in your Id or Class there with the css it should work.