Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #1251228

    I am trying to stick the following chevron effect at the bottom of a color section. It is inspired by the diagonal border option. The issue i am having is two-fold;
    – When i try to create a code block and suck it up over-top of the color section with a negative margin i cannot see the chevron despite adding it to my general CSS.
    – The code block is not going to 100% width

    I’m fine in accomplishing this in any way, but the white needs to lead into the next section so none of the video should appear under the arrow shape that the video will create. Any advice would be greatly appreciated!

    http://www.pathfinderuav.ca/wp-content/uploads/2020/10/chevron.jpg

    this is the code i used to create the shape;

    #chevron {
    position: relative;
    text-align: center;
    padding: 0px;
    margin-bottom: 0px;
    height: 120px;
    width: 100%;
    }
    #chevron:before {
    content: ”;
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 51%;
    background: white;
    transform: skew(0deg, 15deg);
    }
    #chevron:after {
    content: ”;
    position: absolute;
    top: 0;
    right: 0;
    height: 100%;
    width: 50%;
    background: white;
    transform: skew(0deg, -15deg);
    }

    #1251618

    Hey Josh,

    Thanks for the screenshot, could you post a link to where we can see the results you are getting as well please?

    Best regards,
    Rikard

    #1252618

    Apologies for my slow reply, Rikard! We had a holiday. I ended up abandoning this effort as it was holding the rest of the design back. I do appreciate the prompt reply though.

    I would very much still like to use a chevron (downward pointing arrow spanning the width of the page with the same angle degree as the built-in diagonal) shape rather than a diagonal shape elsewhere on the site though if you have any suggestions — i would love to stick one at the bottom of a color section elsewhere. I don’t believe the way i was doing it was the best method, if there were a way to modify the diagonal border in the quick CSS that would be ideal.

    Please advise, cheers for now!

    #1253536

    Hi,
    Sorry for the late reply, please try this solution.

    Best regards,
    Mike

    #1253706

    thank you very much!

    #1253709

    Hi,
    Glad to help, unless there is anything else we can help with on this issue, shall we close this then?

    Best regards,
    Mike

    #1265062

    Apologies for the slow reply Mike, i was away. Yes please, go ahead and close the topic. Thank you for your assistance.

    #1265071

    Hi,

    If you need additional help, please let us know here the forums.

    Best regards,
    Jordan Shannon

Viewing 8 posts - 1 through 8 (of 8 total)
  • The topic ‘Coded overlay on a color section’ is closed to new replies.