简体   繁体   中英

Avada theme, Wordpress, Header Logo Customization,

i'm having an issue with WordPress Avada theme i'm not managing to solve myself. I need to have the logo in the menu like this:

body #header-sticky .logo, #header .logo {
margin-right: 0px;
margin-top: 20px;
margin-left: 0px;
margin-bottom: 16px;
}

but something override it to:

element.style {
margin-right: 0px;
margin-top: 31px;
margin-left: 0px;
margin-bottom: 31px;
}

and i don't see what is it in my style.css

I can't find where to modify the final HTML file the theme produces, does anyone knows how to achieve this?

NinjaMate.com

use !important

body #header-sticky .logo, #header .logo {
  margin-right: 0px !important;
  margin-top: 20px !important;
  margin-left: 0px !important;
  margin-bottom: 16px !important;
}

or use shorthand css

body #header-sticky .logo, #header .logo { 
  margin: 20px 0px 16px !important;
}

在您的后端中,转到外观 > 主题选项 > 徽标 ,您将在其中找到与徽标相关的所有选项(包括边距)

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM