Tagged: x
-
AuthorPosts
-
July 30, 2016 at 12:04 pm #1110247
mksubherwParticipantis there a way to add an upside down triangle to any section? It’s very common on websites.
July 30, 2016 at 12:05 pm #1110248
mksubherwParticipantmy website for reference: http://www.softskillsfordesigners.com
another person this forum shared the triangle for reference:
http://screencast.com/t/6tGv9RLg6I believe he had a different theme than me, so I didnt find this post helpful:
https://community.theme.co/forums/topic/adding-an-upside-down-triangle-in-the-content-band-border/July 30, 2016 at 12:26 pm #1110263
ThaiModeratorHi There,
Please add the following CSS under Customizer > Custom > Global CSS:
.section-arrow { position: relative; } .section-arrow:after { width: 0; height: 0; border-left: 20px solid transparent; border-right: 20px solid transparent; border-top: 20px solid #0c1d43; left: 50%; position: absolute; margin-left: -20px; }After that add the
section-arrowCSS class to the class field of your section.Hope it helps 🙂
July 30, 2016 at 12:33 pm #1110265
mksubherwParticipantThanks for the quick reply! Do I just add “section-arrow” to the Class for the section?
July 30, 2016 at 8:43 pm #1110545
Rue NelModeratorHello There,
Yes you need to add a custom
section-arrowin the section settings.Please let us know how it goes.
August 1, 2016 at 12:43 pm #1112363
mksubherwParticipantDidn’t work. :/ Am I adding the code right? I’ve added it to the class, within the “Row” settings.
See attached image.
August 1, 2016 at 12:48 pm #1112369
ThaiModeratorHi There,
Please add
section-arrowclass to your section NOT row:http://i.imgur.com/8vupx2U.png
Regards!
August 1, 2016 at 5:26 pm #1112783
mksubherwParticipantFantastic! it worked!
is there a way to change the color of the triangle within the section? sometimes I need it to be white, other times I want it to be purple.
August 1, 2016 at 5:27 pm #1112784
mksubherwParticipantAnd is there a way to make the triangle bigger?
August 1, 2016 at 8:10 pm #1112978
John EzraMemberHi there,
Thanks for updating the thread! Please change previously provided CSS to the following:
.section-arrow { position: relative; } .section-arrow:after { width: 0; height: 0; border-left: 20px solid transparent; border-right: 20px solid transparent; border-top: 20px solid #0c1d43; left: 50%; position: absolute; margin-left: -20px; margin-top:5px; } .section-arrow.gray:after { border-top: 20px solid #e6e5e6; } .section-arrow.white:after { border-top: 20px solid #ffffff; } .section-arrow.purple:after { border-top: 20px solid #141c41; }Then you can just add the class
section-arrow grayorsection-arrow whiteorsection-arrow purpleto your section class field.Hope this helps – thanks!
August 2, 2016 at 10:26 am #1113898
mksubherwParticipantthank you! you are most helpful!
August 2, 2016 at 11:41 am #1114015
JoaoModeratorGlad to hear it we managed to help.
Joao
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1110247 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
