Put title under logo of header in sense theme

I currently have a logo in the header of all of my pages. I want to add a written title under or next to the logo that displays on all pages. like this. I have tried adding the following code to my theme.liquid file but it doesnt seem to work

I am currently using the sense theme

code:

.header__heading-link:after {
content: “Mystery Dates”;
font-size: 20px;

}
.header__heading-link {
display: flex;
flex-direction: column;
}

your pseudo-selector should be like ::after like

change header__heading-link:after to header__heading-link::after then try hope so it will work

still does not seem to work, the code seems to show up in the bottom of the page though

and the code does not seem to get recognized

you are doing it wrong if you want to use it inline code should be inside

{% style %}
your code
{% endstyle %}
but you should use it in theme base.css
or go to your store > theme > customize > header > custom css then just add code like this
header__heading-link::after {
content: “Mystery Dates”;
font-size: 20px;

}
.header__heading-link {
display: flex;
flex-direction: column;
}

Screenshot 2024-02-20 at 08-39-11 Floating Shelves · Customize Floating Shelves · Shopify.png

Thanks for your reply, but for some reason this also does not seem to work when i add it in the css code it doesnt appear

It also does not let me save the changes when adding this code