Header image background

Posted in: Newspaper
Post count: 9

Hello,
I want to set a background image for the whole header.I’ve tried the following code :


.td-logo-wrap-full {
  background-image: url("wp-content/uploads/2015/10/header_bkg.png");
  background-repeat: repeat-x;
}

It works for homepage but not for the article and category page.Can you give me any suggestions?I am using style 9 header.

Thanks

  • This topic was modified 10 years by claudiuX.
Post count: 22421

Hello Claudiu,
I have tried this code with an external image on posts/pages/category pages and it works on all versions:

.td-logo-wrap-full {
background-image: url("https://upload.wikimedia.org/wikipedia/commons/5/56/Canons_Ashby_House_and_Mulberry_Tree_-_geograph.org.uk_-_22987.jpg");
background-repeat: repeat-x;
}

post: http://screencast.com/t/PPMku2tE
page: http://screencast.com/t/vblQ7qHE
category: http://screencast.com/t/ygmjueUeba9

Thank you!

Post count: 9

I’ve solve it.The problem was that I was not using the full URL, but just the local path “wp-content/….

Thanks anyway.

PS: another short questions.Why google chrome displays retina logo instead of main logo?

  • This reply was modified 10 years by claudiuX.
  • This reply was modified 10 years by claudiuX.
Post count: 22421

Salutare,

Tot Chrome folosim si noi si nu pare a fi afisat retina logo: http://screencast.com/t/mwbu3e1Vuoen. Dupa cum se vede, logo-ul are dimensiuni de 0x0. Ne poti da mai multe detalii te rog sa vedem unde apare retina logo.

Mersi.

Post count: 9

Nu e pus nimic la logo retina,tocmai din cauza asta.O problema ar fi ca logo principal e foarte mare,ca asa a fost cererea.Am pus logo retina 544×180,care e mai mic decat cel de baza.Pe mobile afisa ok,insa in chrome aparea cel de retina,asa ca e scos temporar.Pot sa il pun temporar.Poti sa te uiti acum?La mine se vede ok.In alta parte … nu.Doar pe chrome

Post count: 22421

Am verificat site-ul din nou si nu este afisat logo-ul mic(retina). Intr-adevar daca ai specificat un logo retina, isi va lua clasa td-retina-data, dar nu va prelua logoul retina. http://screencast.com/t/zrl7pRdNEAnx
Am testat la mine si nu apare alt logo in loc de cel specificat. Am pus la retina alt logo: http://screencast.com/t/T7YhSSkIy si afisaza doar cel de newspaper pe toate browserele.
Incearca si la tine cu logouri diferite si vezi care va fi afisat.
Anunta-ne te rog daca se preia intr-adevar retina si fa-ne niste screen-uri cu logouri diferite cum am facut eu in exemplul de mai sus.

O zi buna!

Viewing 6 posts - 1 through 6 (of 6 total)
The forum ‘Newspaper’ is closed to new topics and replies.