Make Tesseract theme header fixed for all pages

荒凉一梦 提交于 2020-03-06 03:12:17

问题


I'm constructing a website using the Tesseract theme by Tyler Moore. I want to make the header fixed and 80% opaque for every page of the website. The header for the home page has a slider for transparency under customization and I managed to make it fixed by changing its position by editing the site-banner css file in cpanel. My question is, how can I apply the same setting to all the other pages of my website? Thank you in advance!


回答1:


On the wordpress dashbord, hover on the appearance tab, then click on editor. On the right, select stylesheet. Then paste this code at the end of the stylesheet.

#masthead_TesseractTheme {
position: fixed;
margin:auto;
z-index:100000;
opacity: 0.8;
}

Then click Update file.

Click here the see the Procedure on how to locate and edit the stylesheet



来源:https://stackoverflow.com/questions/35107730/make-tesseract-theme-header-fixed-for-all-pages

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!