Intro blurb button

resolved (5 posts) (3 voices)

  1. Hayaain
    Member

    How do you change the size of the intro blurb home page button?

    Posted 1 year ago #
  2. Ruderic
    Support

    Hi,

    The button automatically adjusts it's size to the caption inside it. In case you want to add more space to the sides of it, I will provide you the code needed to accomplish that.

    Go to the theme folder and open the file "header.php". Just before the </head> tag, paste this code:

    <style type="text/css">
    .button_link.large_button span {
    padding-left: 10px;
    padding-right: 30px;
    }
    </style>

    That will add 10px to each side of the button. If you want to add, for example, 10px more, the "padding-left" should be 20px and the "padding-right" 40px.

    Posted 1 year ago #
  3. Hayaain
    Member

    Hi Ruderic

    I should have asked how to reduce the size of this button. I presume removing "large_button" from the same line in the code will do this?

    Posted 1 year ago #
  4. Elliott
    Support

    Hello Hayaain, sorry for the late reply.

    Did you get this worked out? Removing the "large_button" in line 38 on /wp-content/themes/awake/index.php will give you the regular sized button. We can also try playing around with the padding as Ruderic has done above to help you size it.

    Posted 1 year ago #
  5. Hayaain
    Member

    Yes Elliot, thanks.

    Posted 1 year ago #

Reply

You must log in to post.

Construct WordPress Theme
Construct wordpress theme
Myriad WordPress Theme
Myriad wordpress theme
Method WordPress Theme
Method wordpress theme
Fusion WordPress Theme
Fusion wordpress theme
Elegance WordPress Theme
Elegance wordpress theme
Echelon WordPress Theme
Echelon wordpress theme
Dejavu WordPress Theme
Dejavu wordpress theme
Modular WordPress Theme
Modular wordpress theme