Comments 2whisper started the conversationDecember 22, 2019 at 12:22amHello,I am trying to find a widget that allows me to have a simple image swap on hover. ? Can you tell me how to do this with your theme please? 2whisper repliedDecember 22, 2019 at 12:35amAlso.. using the 'SiteOrigin Editor' widget, how can I center a title, some of my widgets are fine to have the title 'left aligned' however a couple need to have 'center aligned' titles :) 1,715Barry repliedDecember 22, 2019 at 12:48pmHi there,There is no specific widget for this but you can easily create this by adding a "Custom HTML" widget to the page builder and follow these steps:1. Add a custom div to the textarea: <div class="image-swap"></div>2. Navigate to Appearance -> Customize -> Additional CSS and add the following: .image-swap { width: 100%; height: 200px; // Change this to your own needs background-repeat: no-repeat; background-size: contain; } Then add the following line to add the default image: .image-swap { background-image: url('http://example.com/image.png'); } And the following line to add the hover image: .image-swap:hover { background-image: url('http://example.com/image-hover.png'); } ---To center the widget titles you can add "text-center" (without " ") in the Widget Class input field inside the Attributes panel Best regards,BarryQreativeThemes.com | WordPress Themes 2whisper repliedDecember 22, 2019 at 10:10pmThank you for these solutions, i'll try them now :)Thanks again for the assistance :) 1,715Barry repliedDecember 23, 2019 at 11:12amYou're welcomeIf you have any other questions please let me know Best regards,BarryQreativeThemes.com | WordPress Themes Sign in to reply ...
Hello,
I am trying to find a widget that allows me to have a simple image swap on hover. ? Can you tell me how to do this with your theme please?
Also.. using the 'SiteOrigin Editor' widget, how can I center a title, some of my widgets are fine to have the title 'left aligned' however a couple need to have 'center aligned' titles :)
Hi there,
There is no specific widget for this but you can easily create this by adding a "Custom HTML" widget to the page builder and follow these steps:
1. Add a custom div to the textarea:
2. Navigate to Appearance -> Customize -> Additional CSS and add the following:
Then add the following line to add the default image:
And the following line to add the hover image:
---
To center the widget titles you can add "text-center" (without " ") in the Widget Class input field inside the Attributes panel
Best regards,
Barry
QreativeThemes.com | WordPress Themes
Thank you for these solutions, i'll try them now :)
Thanks again for the assistance :)
You're welcome
If you have any other questions please let me know
Best regards,
Barry
QreativeThemes.com | WordPress Themes