Prohledat stránky podpory

Vyhněte se podvodům. Za účelem poskytnutí podpory vás nikdy nežádáme, abyste zavolali nebo poslali SMS na nějaké telefonní číslo nebo abyste sdělili své osobní údaje. Jakékoliv podezřelé chování nám prosím nahlaste pomocí odkazu „Nahlásit zneužití“.

Zjistit více

Stack firefox logo on top of wordmark on newtab page

more options

I am trying to stack the firefox logo on top of the wordmark on the newtab page. I've tried doing using "display: block;" in my userContent.css, but it doesn't work. I'm not super good at CSS, so any ideas?

I am trying to stack the firefox logo on top of the wordmark on the newtab page. I've tried doing using "display: block;" in my userContent.css, but it doesn't work. I'm not super good at CSS, so any ideas?

Zvolené řešení

Try this:

/*** Firefox Home / New tab ***/

/* Position Logo and Text Brand above-below Fx96 */
.search-wrapper .logo-and-wordmark {
  flex-direction: column !important;
}

/* Reduce Height of Text Brand to actual image height Fx96 */
.search-wrapper .logo-and-wordmark .wordmark {
  height: 42px !important;
}
Přečíst dotaz v kontextu 👍 0

Všechny odpovědi (1)

more options

Zvolené řešení

Try this:

/*** Firefox Home / New tab ***/

/* Position Logo and Text Brand above-below Fx96 */
.search-wrapper .logo-and-wordmark {
  flex-direction: column !important;
}

/* Reduce Height of Text Brand to actual image height Fx96 */
.search-wrapper .logo-and-wordmark .wordmark {
  height: 42px !important;
}