简体   繁体   English

Avada主题,Wordpress,标题徽标自定义,

[英]Avada theme, Wordpress, Header Logo Customization,

i'm having an issue with WordPress Avada theme i'm not managing to solve myself. 我在WordPress Avada主题上遇到问题,无法解决自己的问题。 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 而且我看不到我的style.css是什么

I can't find where to modify the final HTML file the theme produces, does anyone knows how to achieve this? 我找不到在哪里修改主题生成的最终HTML文件,有人知道如何实现吗?

NinjaMate.com 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 或使用速记CSS

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

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

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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