Are you a GenerateCustomer?

Do you have an active GP Premium or GenerateBlocks Pro license key?

Create a GenerateSupport account for GeneratePress and GenerateBlocks support in one dedicated place.

Create an account
Already have a GenerateSupport account? Login

Just browsing?

Feel free to browse the forums. Support for our free versions is provided on WordPress.org (GeneratePress, GenerateBlocks).

Want to become a premium user? Learn more below.

Starter Site Global Styles

  • 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

  • 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?

  • 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.

  • There’s probably something that went wrong during the import process. Anyway, glad to know it’s all good now!

Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.