为所有页面修复 Tesseract 主题标题 [英] Make Tesseract theme header fixed for all pages

查看:20
本文介绍了为所有页面修复 Tesseract 主题标题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用 Tyler Moore 的 Tesseract 主题构建一个网站.我想让网站的每个页面的标题固定并且 80%​​ 不透明.主页的标题在自定义下有一个透明度滑块,我设法通过编辑 cpanel 中的站点横幅 css 文件更改其位置来修复它.我的问题是,如何将相同的设置应用于我网站的所有其他页面?提前致谢!

解决方案

在 wordpress dashbord 上,将鼠标悬停在外观选项卡上,然后单击编辑器.在右侧,选择样式表.然后将此代码粘贴到样式表的末尾.

#masthead_TesseractTheme {位置:固定;保证金:自动;z-索引:100000;不透明度:0.8;}

然后点击更新文件.

点击此处查看如何定位和编辑样式表的程序>

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!

解决方案

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

这篇关于为所有页面修复 Tesseract 主题标题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆