I used this tutorial to add diagonal slanting lines for a website I am working on. When in Designer mode, as well as in the published preview, the diagonals don’t span the height of the parent. However, if I resize the browser, then they snap into place. I can’t expect users to figure that out, and I’d like them to load in at the correct height. Anyone dealt with this before, or have any ideas?
The page in question is “North Kansas City” visible on web here.
Problem 2
In my tuturial, I use position absolute trick inside relative parent for the vertical- Diagonal - and you use regular flexbox (So your issue not related to my tutorial).
Hello! Thanks for the tip on min-height, and for the original tutorial.
I should have been more specific with my issue… the slider on the home page is actually working fine, because the image is simply a background on the slide itself. My problem is on the “North Kansas City” page - there are 3 bars there that have the image as a separate div so the full image is visible, and won’t go behind the content div (this isn’t an issue on the home page slider). Please take a look at that page if you have the time, and you should see what I mean.
I have tried clearing my cache, and it still persists… same with using incognito tab. I just checked in Firefox and Safari and it seems to be working in those browsers… must just be with Chrome.
With that style code you shared, do I just place that in the “custom code” area of the page settings, or add it to the html embed for the SVG?
That bit of code seems to have done the trick! I don’t know exactly what it did, as I am not much of a coder myself, but I can’t thank you enough. If it gets out of whack again, I will be sure to let you know.
Here is the screenshot, it looks like it matches yours: