We're calling on all EU-based Mozillians with iOS or iPadOS devices to help us monitor Apple’s new browser choice screens. Join the effort to hold Big Tech to account!

Ovo će web mjesto raditi na ograničen način, dok obavljamo održavanje stranice. Ako neki članak ne riješi tvoj problem i ako želiš postaviti pitanje, naša zajednica za podršku spremna je pomoći na Twitteru @FirefoxSupport i na Redditu /r/firefox.

Pretraži podršku

Izbjegni prevare podrške. Nikad te nećemo tražiti da nas nazoveš, da nam pošalješ telefonski broj ili da podijeliš osobne podatke. Prijavi sumnjive radnje pomoću opcije „Prijavi zlouporabu”.

Saznaj više

How to create a persona header bar that displays correctly in all resolutions - Firefox 20 Linux

  • 2 odgovora
  • 1 ima ovaj problem
  • 3 prikaza
  • Posljednji odgovor od the-edmeister

more options

I'm in the process of learning how to create Personas for Firefox, and have already created one which I am using locally, but I ran into an unexpected behavior: If I create a header bar that is 3000 X 200 pixels as specified in the guidelines, only the right third or so displays in my browser when the theme is applied. To get this header to display "properly" (as I find aesthetically pleasing) I have to resize the header to 1280 X 85 pixels.

Should not the header bar scale automatically, or do I need to produce a persona header at each possible resolution width to get it to display properly?

For what it's worth, the footer appears to be displaying the left hand third, but this is not so objectionable in this case.

A screenshot of the persona is available at http://www2.netdoor.com/~horus/Persona_2013-04.png.

Thanks for any insights. I feel as though I must be misunderstanding something here.

(I tried to post troubleshooting information the first time, but it overflowed the character limit...)

I'm in the process of learning how to create Personas for Firefox, and have already created one which I am using locally, but I ran into an unexpected behavior: If I create a header bar that is 3000 X 200 pixels as specified in the guidelines, only the right third or so displays in my browser when the theme is applied. To get this header to display "properly" (as I find aesthetically pleasing) I have to resize the header to 1280 X 85 pixels. Should not the header bar scale automatically, or do I need to produce a persona header at each possible resolution width to get it to display properly? For what it's worth, the footer appears to be displaying the left hand third, but this is not so objectionable in this case. A screenshot of the persona is available at http://www2.netdoor.com/~horus/Persona_2013-04.png. Thanks for any insights. I feel as though I must be misunderstanding something here. (I tried to post troubleshooting information the first time, but it overflowed the character limit...)

Izabrano rješenje

Persona images don't 'scale', only as much of the image is displayed as you have resolution for. IOW, at 1280px wide only approx 1/3 of the image is displayed, as you have discovered. That is the manner in which Personas were designed to work.

Pročitaj ovaj odgovor u kontekstu 👍 1

Svi odgovori (2)

more options

Probably best to ask that sort of question, or research the answer in one of the AMO forums (Addons Mozilla). I think this one may be appropriate:

I am wondering where are you doing the learning ?
There are also resources on MDN

Detailed discussion of the subject is probably off topic for this forum, but linking to resources or giving as imple answer is not so I hope some of the above are helpful. (You may even find someone else interested and knowledgeable posting a direct answer)

more options

Odabrano rješenje

Persona images don't 'scale', only as much of the image is displayed as you have resolution for. IOW, at 1280px wide only approx 1/3 of the image is displayed, as you have discovered. That is the manner in which Personas were designed to work.