• 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

Help with button code

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 › Help with button code

This topic is: not resolved

Tagged: buttons

  • This topic has 6 replies, 4 voices, and was last updated 10 years, 8 months ago by vivekam.
Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • June 3, 2015 at 7:16 pm #154782
    codebot5000
    Member

    Hi, I know this is something really dumb I'm just not seeing but I cant figure out how to set up the buttons on my page. I currently have this code in the widget home section 1:

    <a class="button"
    href="http://demo.studiopress.com/parallax/sample/">Continue Reading

    When I go to the frontend of my site I see this in the button:

    href="http://demo.studiopress.com/parallax/sample/">Continue Reading

    I just cant figure out why this would be happening.

    Thanks in advance.

    June 3, 2015 at 8:07 pm #154786
    SusieQ
    Member

    The following code works for me on my site:

    <a href="http://demo.studiopress.com/parallax/sample/" class="button">Continue Reading</a>

    June 3, 2015 at 9:07 pm #154788
    codebot5000
    Member

    Thank you Susie! Interesting, I did not think it mattered if you put the class before or after the href. Even more interesting that Studiopress suggests code that doesn't work. Maybe there is some kind of syntax error I'm not seeing.

    Anyways thanks!

    June 3, 2015 at 9:21 pm #154791
    SusieQ
    Member

    You're most welcome if it works! Good luck. :o)

    June 3, 2015 at 9:24 pm #154792
    Erik D. Slater
    Member

    It does not matter where class="button" goes in your example. The problem is related to something else ...


    Erik D. Slater: Digital Platform Consultant • LinkedIn
    June 14, 2015 at 1:19 am #156154
    vivekam
    Member

    Hi guys,

    I like the simple button but I'm trying to modify the colors. In which area in the CSS do I have to go?

    June 14, 2015 at 1:30 am #156157
    vivekam
    Member

    Got it! easy 🙂

  • Author
    Posts
Viewing 7 posts - 1 through 7 (of 7 total)
  • 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

© 2026 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