• Skip to main content
  • Skip to forum navigation

StudioPress

  • Shop for Themes
  • My StudioPress

Forum navigation

  • Home
  • General Genesis Discussions
  • StudioPress Themes
  • Genesis Blocks
    • Genesis Blocks
    • Genesis Custom Blocks
  • Retired Themes
  • FAQs
  • Forum Rules
  • Internationalization and Translations
  • Forum Bugs and Suggestions
  • Forum Log In

Are You Using The WordPress Block Editor?

Genesis now offers plugins that help you build better sites faster with the WordPress block editor (Gutenberg). Try the feature-rich free versions of each plugin for yourself!

Genesis Blocks Genesis Custom Blocks

Code for adding link on button

Welcome!

These forums are for general discussion on WordPress and Genesis. Official support for StudioPress themes is offered exclusively at My StudioPress. Responses in this forum are not guaranteed. Please note that this forum will require a new username, separate from the one used for My.StudioPress.

Log In
Register Lost Password

Community Forums › Forums › Archived Forums › Design Tips and Tricks › Code for adding link on button

This topic is: not resolved

Tagged: button html, HTML link

  • This topic has 21 replies, 4 voices, and was last updated 3 years, 1 month ago by Anita.
Viewing 2 posts - 21 through 22 (of 22 total)
← 1 2
  • Author
    Posts
  • December 11, 2019 at 7:58 am #495432
    camscorner
    Participant

    Thank you, that worked! However, it still has the text portion smaller (see https://simplystatedbusiness.com). How can I increase the font size in the code to make it larger?

    Thank you for educating the uneducated. 😉

    December 11, 2019 at 8:06 am #495433
    Anita
    Keymaster

    If you would like to increase all of fonts to the same size, use this and increase the font size to your desired size.

    .front-page-2 #custom_html-7,
    .front-page-2 #text-30 {
        float: right;
        font-size: 12px;
        clear: both;
    }

    If you want the top text to be larger than the button, add this version of the code and modify the fonts accordingly:

    .front-page-2 #custom_html-7,
    .front-page-2 #text-30 {
        float: right;
        clear: both;
    }
    .front-page-2 #custom_html-7 {
        font-size: 12px;
    }
    .front-page-2 #text-30 {
        font-size: 12px;
    }
    

    Love coffee, chocolate and my Bella!

  • Author
    Posts
Viewing 2 posts - 21 through 22 (of 22 total)
← 1 2
  • The forum ‘Design Tips and Tricks’ is closed to new topics and replies.

CTA

Ready to get started? Create a site or shop for themes.

Create a site with WP EngineShop for Themes

Footer

StudioPress

© 2023 WPEngine, Inc.

Products
  • Create a Site with WP Engine
  • Shop for Themes
  • Theme Features
  • Get Started
  • Showcase
Company
  • Brand Assets
  • Terms of Service
  • Accptable Usse Policy
  • Privacy Policy
  • Refund Policy
  • Contact Us
Community
  • Find Developers
  • Forums
  • Facebook Group
  • #GenesisWP
  • Showcase
Resources
  • StudioPress Blog
  • Help & Documentation
  • FAQs
  • Code Snippets
  • Affiliates
Connect
  • StudioPress Live
  • StudioPress FM
  • Facebook
  • Twitter
  • Dribbble