Site logo

[Resolved] GP equivalents to GB-buttons-presets

Home Forums Support [Resolved] GP equivalents to GB-buttons-presets

Home Forums Support GP equivalents to GB-buttons-presets

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #2535323
    AM

    Hi,

    I’m trying to apply the general GP-button settings to the GB-buttons, as per this post.

    But I want to extend it a bit more to also the button-typography. But I can’t get it to work.
    What I’m looking for are the GeneratePress-equivalents to the following GenerateBlocks presets:

    'fontFamily' => '',
    'fontFamilyFallback' => '',
    'googleFont' => false,
    'googleFontVariants' => '',
    'fontWeight' => '',
    'fontSize' => false,
    'fontSizeUnit' => 'px',
    'textTransform' => '',
    'letterSpacing' => '',

    Greatly appreciated if you can point me in the right direction.

    #2536658
    David
    Staff
    Customer Support

    Hi there,

    GP doesn’t write CSS for border-radius etc. So there are no equivalent properties to match those to.

    For the typography options, you can use the Customizer > Typography -> New Typography and select the Target Element of Custom in the list and the add .gb-button to the field provided, and you now have a rule specifically for GB buttons in the customizer.

    #2538535
    AM

    Ah, of course. A custom target element is much easier. Thanks.

    #2538606
    David
    Staff
    Customer Support

    You’re welcome

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