How to overwrite some aspects of the about page in zephyr theme? #13821
-
DescriptionHi, I would like to overwrite some rules used in the zephyr theme and the trestles template: I do not like the email box on the about page and that on a small screen it is very wide. So I created the following file (named theme.scss) in order to remove the box, make the width smaller and the font a bit larger: However, when using format:
html:
theme: [zephyr, theme.scss]
toc: true
toc-expand: 3
footnotes-hover: true
code-copy: true
code-link: true
code-overflow: wrap
fig-align: right
link-external-icon: false
link-external-newwindow: true
include-in-header: "files/includes/_academic.qmd"in the _quarto.yml file, nothing changes on the about page. Do you have any ideas? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
When you debug in browser console, and you look at the applied CSS on the page, do you see your rules? I'll try to reproduce on my end to try out, but I'll need to recreate a reproducible example. |
Beta Was this translation helpful? Give feedback.

When I try with a default blog
by setting
templatetotrestlesand your theme, I can see the rule specificity problem.Your rules does not have precedence over the default one.
You need to be more specific (See how CSS works on that (e.g. https://specifishity.com/)
For this one, you are just missing a div for example
Hope it helps