Tagged: x
-
AuthorPosts
-
November 1, 2016 at 10:14 am #1239279
yhshin1020ParticipantHey,
I am trying to set up boxes like you see here on this site: https://get.slack.help/hc/en-us
where when you hover over the section a box with a shadow enlarges.
What would be the best way to set this up on my homepage?
Could you provide me with some css for this to work?
Thanks.
November 1, 2016 at 10:15 am #1239280
yhshin1020ParticipantThis reply has been marked as private.November 1, 2016 at 11:52 am #1239415
JadeModeratorHi there,
You can create a row with sections then set a background for every section and a common class name then add this CSS code in the customizer (assuming that the class name you added for the sections is highlight-box):
.highlight-box:hover { -webkit-transform: scale(1.045) rotate(0.0001deg); -moz-transform: scale(1.045) rotate(0.0001deg); -ms-transform: scale(1.045) rotate(0.0001deg); -o-transform: scale(1.045) rotate(0.0001deg); transform: scale(1.045) rotate(0.0001deg); background-color: #FFFFFF !important; box-shadow: 0px 5px 20px 0px rgba(0, 0, 0, 0.15) !important; }Hope this helps.
November 1, 2016 at 11:52 am #1239416
JadeModeratorHi there,
You can create a row with sections then set a background for every section and a common class name then add this CSS code in the customizer (assuming that the class name you added for the sections is highlight-box):
.highlight-box:hover { -webkit-transform: scale(1.045) rotate(0.0001deg); -moz-transform: scale(1.045) rotate(0.0001deg); -ms-transform: scale(1.045) rotate(0.0001deg); -o-transform: scale(1.045) rotate(0.0001deg); transform: scale(1.045) rotate(0.0001deg); background-color: #FFFFFF !important; box-shadow: 0px 5px 20px 0px rgba(0, 0, 0, 0.15) !important; }Hope this helps.
November 1, 2016 at 12:28 pm #1239449
yhshin1020ParticipantThis reply has been marked as private.November 1, 2016 at 1:28 pm #1239547
RupokMemberHi there,
You can set a border-right for one column on the left to get the line. You can create two Rows within a single section. Not sure what you are referring by “Is there a way to make the sections take up a smaller part of the width of the section”. Would you clarify a bit with a screenshot?
Thanks!
November 2, 2016 at 7:14 am #1240625
yhshin1020ParticipantThis reply has been marked as private.November 2, 2016 at 10:04 am #1240857
RupokMemberHi there,
Let’s select the Row that contains the two columns and add max-width: 800px; to the style field. Then it will be like this – http://prntscr.com/d261pu
Cheers!
November 2, 2016 at 10:31 am #1240914
yhshin1020ParticipantThis reply has been marked as private.November 2, 2016 at 12:09 pm #1241102
RupokMemberHi there,
I have suggested you to apply this to the Row but you have applied it to the section instead. You need to place the code for the container/row to get expected result.
Thanks!
November 2, 2016 at 5:48 pm #1241540
yhshin1020ParticipantThis reply has been marked as private.November 2, 2016 at 11:58 pm #1241916
RupokMemberHi there,
If you are using Visual Composer then use this custom CSS :
.home #x-content-band-1 .x-container.wpb_row { max-width: 800px; }Cheers!
November 3, 2016 at 4:41 am #1242117
yhshin1020ParticipantThis reply has been marked as private.November 3, 2016 at 4:55 am #1242134
yhshin1020ParticipantThis reply has been marked as private.November 3, 2016 at 5:12 am #1242149
Paul RModeratorHi,
Regretfully this isn’t a feature offered by X. It could be possible with custom development, but this would be outside the scope of support we can offer. You may wish to consult a developer to assist you with this. X is quite extensible with child themes, so there are plenty of possibilities. Thanks for understanding. Take care!
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1239279 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
