Support » Plugin: Redirect URL to Post » How to change button size and font size?

  • Resolved foxhidden

    (@foxhidden)


    Hi, there!
    I use [redirect_to_post_button] on my website. I want to know how to change the button and font size of the button. Thank you!

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Chris

    (@camthor)

    Hi,

    First you need to define a class name with the button. You can do it like this:
    [redirect_to_post_button button_class="my-custom-button"]

    Then you refer to the same class name (with a prepended dot) in you CSS.

    The easiest way how to do it is via the Customizer and then search the field where you enter “Additional CSS”. If you launch the Customizer from the toolbar on the page where you have the button, you can see the button change while you try different options.

    Here is an example to get started, using the same class name as above:

    .my-custom-button {
    	color:white;
    	background-color:red;
    	font-size:20px;
    }

    Hi Chris,
    It works. Thank you for your prompt reply! Have a nice day!

    Plugin Author Chris

    (@camthor)

    Thanks, same to you!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘How to change button size and font size?’ is closed to new replies.