How do you change the size of the intro blurb home page button?
Intro blurb button
(5 posts)
(3 voices)
-
Posted 1 year ago #
-
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 # -
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 # -
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.phpwill 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 # -
Yes Elliot, thanks.
Posted 1 year ago #
Reply
You must log in to post.













