-
AuthorPosts
-
September 24, 2014 at 4:46 pm #111776
Aida MParticipanthi,
my customer asked me to recreate the styling of boxed content from this page http://www.thegreencreator.com (please see the boxed articles in the middle of the page). my customer is asking me to create 4 blocks which are outlined (have a border) and this outline/border changes color when you hover over it.
can you please help me with this? my website is http://oilivia.nl/wordpress/ i already made 2 rows with 2 columns, but now need to add the outline/border and add hover color.
thanks in advance for your help!
regards,
aidaSeptember 24, 2014 at 5:13 pm #111803
DarshanaModeratorHi there,
Add a special class to reflect those columns (Eg:”my-block”) and follow the example below. Place the CSS code into the Customizer, Custom > CSS section using the menu Appearance -> Customize.
.my-block { border: 1px solid black; } .my-block:hover { border: 1px solid red; }Hope that helps.
September 25, 2014 at 2:44 am #112051
Aida MParticipantthis worked fine! thank you so much!!! 🙂
September 25, 2014 at 4:31 am #112093
Paul RModeratorYou’re welcome Aida. 🙂
August 24, 2015 at 5:35 pm #368073
AquorParticipantDoes this method work with hex colors as well? I’ve tried replacing “border: 1px solid black;” with “border: 1px #000;” and it stops working — what am I overlooking?
Thanks!
August 24, 2015 at 10:17 pm #368273
Prasant RaiModeratorHello There,
Thanks for writing in!
Request you to kindly update your code with the following
border: 1px solid #000 !important;. If your are still facing the problem kindly share URL of your website.Thanks.
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-111776 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
