Wordpress Page Buttons

I have uploaded buttons to my front page in WordPress.org. When you click on one of the buttons it takes you to another page. all the buttons work perfectly. However, I would like to create the effect of the button actually being pressed when clicked on. What would be the best approach to create this effect in WordPress?


I think you're looking for :active

.myBtn:active {


Tags: PHP / Css / Wordpress

Similar questions

How Can I Update wp_enqueue_scripts () From WordPress Option Page Radio Buttons
Can you please take a look at this script and let me know how can I update the wp_enqueue_scripts () in theme functions.php based on radio select in custom option page? what I have in function.php is Now I need to change the to Or the other way around on changing the Radio in
What would cause edit buttons for plugins in wordpress plugins page to disappear?
in the plugins page, under each plugins' name usually there are buttons/links like "Deactivate | Edit | Settings". Recently on one of my sites the "Edit" (and "Settings") button has disappeared. I have just "Deactivate" or "Activate | Delete". My question is - what could cause this? I am logged in as an administrator, so I should see the buttons. I...
Wordpress theme Jobroller login page not displaying radio buttons
I have a jobroller theme installed. When the login button is clicked which is present in top right corner, it displays two options with radio buttons. 1. Employer 2.Job-Seeker and Admin I want to remove the first option i.e Employer and keep the Job-Seeker option. I have amended the file named register-form.php. The problem is that it works for two...
jquery dialog in Wordpress plugin admin page, buttons all appear overlapping in top right hand corner, not in the lower button pane
I am writing a Wordpress plugin which adds some menu items to the admin view. These menu items open pages which allow me to make some settings and access data, and I am using jquery dialogs to display and edit the data. Everything works fine except, when the dialogs are opened (any of them, there are several) they always open with all the defined b...
How do I change text in the product buttons of category page on wordpress website?
I have not been able to edit the buttons as there is not way to use visual composer for the category page. I want to enter the name of each product instead of 'view product' which is currently on the button. Screenshot:
How to Remove Custom Share Buttons from Single page in Wordpress
I have just add Sharing buttons in WordPress. I want to show it on Posts only but it's showing on Pages also. How can i remove buttons from Pages. This is my Website link http://mycodeskill.com I used this Code

Also ask

We use cookies to deliver the best possible experience on our website. By continuing to use this site, accepting or closing this box, you consent to our use of cookies. To learn more, visit our privacy policy.