Home › Forums › Basel support forum › hover background change
hover background change
- This topic has 11 replies, 2 voices, and was last updated 6 years, 5 months ago by Elise Noromit.
-
AuthorPosts
-
August 2, 2018 at 1:46 pm #70690
brunoParticipantHI,
Have created 4 colomns in a row and was wondering if possible to change colour on hover, from grey to dark grey for example?
Thanks
August 2, 2018 at 2:46 pm #70717
Elise NoromitMemberHello,
You will need to assign classes to columns and create a custom CSS. Please provide your site admin access and page URL, we shall provide custom CSS
Best Regards
August 2, 2018 at 3:14 pm #70733
brunoParticipantOkay thank you, page is aboutme
August 2, 2018 at 8:03 pm #70788
Elise NoromitMemberHello,
1. Remove the color from the columns.
2. Add the class
hoverblock
to each column.3. Add this code to the Theme Settings > Custom CSS
.hoverblock{ background:red; transition:background 1s linear; } .hoverblock:hover{ background:#1A4D8C; }
Change the colors as per your needs.
Best Regards
August 3, 2018 at 10:32 am #70890
brunoParticipantthank you that worked but the gaps between the columns are no longer there?
Attachments:
You must be logged in to view attached files.August 3, 2018 at 10:47 am #70893
Elise NoromitMemberHello,
You can move class hoverblock from columns to text block and set the margins, you will have the gaps.
Best Regards
August 3, 2018 at 12:29 pm #70928
brunoParticipantYes but them each item that is that coloum create gaps between one an other?
as you can see on the changes.August 3, 2018 at 1:43 pm #70940
Elise NoromitMemberHello,
What do you mean? You can create one row with columns and texts blocks inside. You assign a class to text blocks and set the gaps (margins) as per your needs http://prntscr.com/ke9sie
Save this row as a template and clone not to create each time from scratch.Best Regards
August 3, 2018 at 1:58 pm #70949
brunoParticipantI understand what you are saying and it works but instead of the whole column changing colour you now have to hoover the mouse in each section inside the column and i dont want that i need everything inside the column background to change and not separate? Please check the link if you still not sure.
Thanks
August 3, 2018 at 2:43 pm #70957
Elise NoromitMemberHello,
If you want to have columns enter columns Design tag and configure margins/padding there
Best Regards
August 3, 2018 at 2:56 pm #70958
brunoParticipantI have done this and it does not work?
August 3, 2018 at 7:49 pm #71003
Elise NoromitMemberHello,
You will need to move the class to the text block otherwise blocks would be without gaps. Rows and columns are WP Bakery Page builder our theme does not influence that.
Best Regards
-
AuthorPosts
- You must be logged in to create new topics. Login / Register