Closed. This question is off-topic. It is not currently accepting answers.admin管理员组文章数量:1405531
Your question should be specific to WordPress. Generic PHP/JS/SQL/HTML/CSS questions might be better asked at Stack Overflow or another appropriate Stack Exchange network site. Third-party plugins and themes are off-topic for this site; they are better asked about at their developers' support routes.
Closed 5 years ago.
Improve this questionHow can I resize the mentioned header/div of my WordPress website? I have already tried it through checking the div name by going into Inspect Element but it is not working. One thing more the size changes and it gets normal when I click on the customize option. Please help me. I have attached a picture
Link for the screenshot of the webpage
Closed. This question is off-topic. It is not currently accepting answers.Your question should be specific to WordPress. Generic PHP/JS/SQL/HTML/CSS questions might be better asked at Stack Overflow or another appropriate Stack Exchange network site. Third-party plugins and themes are off-topic for this site; they are better asked about at their developers' support routes.
Closed 5 years ago.
Improve this questionHow can I resize the mentioned header/div of my WordPress website? I have already tried it through checking the div name by going into Inspect Element but it is not working. One thing more the size changes and it gets normal when I click on the customize option. Please help me. I have attached a picture
Link for the screenshot of the webpage https://ibb.co/KXVyyML
Share Improve this question asked Dec 11, 2019 at 11:37 A HadiA Hadi 112 bronze badges 3- Clear cache after adding the CSS – user145078 Commented Dec 11, 2019 at 12:01
- Okay i will try that and let you know – A Hadi Commented Dec 11, 2019 at 12:23
- Always do a Force Refresh after making CSS changes. Ctrl + F5 on PC or Cmd + Shift + R on a Mac. – TomC Commented Dec 12, 2019 at 8:20
1 Answer
Reset to default 0It's not possible to give a solution without a link. In general you would add a max-width value to the div that is your header. For example let's imagine that the following code is your header code:
<div id="header">
<div id="menuHolder">
HERE WILL BE OTHER CODES SUCH AS YOUR MENU
</div>
</div>
Then to make your entire header smaller in width you can use this CSS:
#header {
max-width: 800px;
margin: 0 auto;
}
Or you can apply the same CSS to the inner div such as this:
#menuHolder {
max-width: 800px;
margin: 0 auto;
}
本文标签: customizationResizing of a headerdiv in a website through css in wordpress
版权声明:本文标题:customization - Resizing of a headerdiv in a website through css in wordpress 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1744911467a2631944.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论