-
liquidonthedrums
Hi,
I’ve installed the new “Bookkeeping” starter site in my local environment and made no other changes. It includes a global style class “.gbp-section__tagline”.
Elements with this class are appearing as expected in the front end. However, the back end doesn’t have the same styling (eg. colored border-left). When i view the global styles (wp-admin/admin.php?page=generateblocks-styles) there are only 3 lines of css related to that class:
.gbp-section__tagline {
font-size: 1rem;
font-weight: 600;
margin-bottom: 0.75rem;
}These 3 styles are also the only ones that are set in the block editor sidebar (eg. when editing the .gbp-section__tagline class on a page).
Where are the other styles coming from and how do i edit them? (see below)
.gbp-section__tagline {
align-items: flex-start;
color: var(–contrast-3);
display: flex;
font-size: 1rem;
font-weight: 700;
letter-spacing: 2px;
line-height: 1;
margin-bottom: 2rem;
margin-left: 2px;
padding-left: .75rem;
padding-top: 2px;
text-transform: uppercase;
border-left: 4px solid var(–global-color-9);I have tried setting the GB CSS Print Method to inline and all of the above styles are copied to an inline <style> tag, but there is still no way to edit these styles that I can find.
Am I missing something?
Thanks
-
Alvind
Hi there,
That’s an odd issue. Can you share the page where this global style is applied so I can inspect it?
-
liquidonthedrums
Hi Alvind,
Currently I only have this setup locally so can’t share it. Can you confirm that you are not seeing the same behavior on a fresh install?
-
Alvind
I see the correct properties for the class: https://cln.sh/nnTH5698
-
liquidonthedrums
Hi Alvind,
That is strange indeed. I have spun up a new local site and am now seeing the correct styles. Must be some issue with the way i set it up.
Thanks for your assistance.
-
Alvind
There’s probably something that went wrong during the import process. Anyway, glad to know it’s all good now!
- You must be logged in to reply to this topic.