Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1110247
    mksubherw
    Participant

    is there a way to add an upside down triangle to any section? It’s very common on websites.

    #1110248
    mksubherw
    Participant

    my website for reference: http://www.softskillsfordesigners.com

    another person this forum shared the triangle for reference:
    http://screencast.com/t/6tGv9RLg6

    I 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/

    #1110263
    Thai
    Moderator

    Hi 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-arrow CSS class to the class field of your section.

    Hope it helps 🙂

    #1110265
    mksubherw
    Participant

    Thanks for the quick reply! Do I just add “section-arrow” to the Class for the section?

    #1110545
    Rue Nel
    Moderator

    Hello There,

    Yes you need to add a custom section-arrow in the section settings.

    Please let us know how it goes.

    #1112363
    mksubherw
    Participant

    Didn’t work. :/ Am I adding the code right? I’ve added it to the class, within the “Row” settings.

    See attached image.

    #1112369
    Thai
    Moderator

    Hi There,

    Please add section-arrow class to your section NOT row:

    http://i.imgur.com/8vupx2U.png

    Regards!

    #1112783
    mksubherw
    Participant

    Fantastic! 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.

    #1112784
    mksubherw
    Participant

    And is there a way to make the triangle bigger?

    #1112978
    John Ezra
    Member

    Hi 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 gray or section-arrow white or section-arrow purple to your section class field.

    Hope this helps – thanks!

    #1113898
    mksubherw
    Participant

    thank you! you are most helpful!

    #1114015
    Joao
    Moderator

    Glad to hear it we managed to help.

    Joao

  • <script> jQuery(function($){ $("#no-reply-1110247 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>