2 Column vertical separator desktop, crushes to horizontal line separator mobile.
SOLVE
Hello,
I have a custom split content block, to be used as a header with a search on one half, and a button on the other. I'd like to add a separator between the two, vertically on desktop, and switch to horizontal on mobile. How would you resolve this challenge?
2 Column vertical separator desktop, crushes to horizontal line separator mobile.
SOLVE
@Anton, thank you for your help on this. I wanted to share the successful code, adjusting break points, and a few other things, just trial and error until it worked. Wouldn't have gotten here without your help.
2 Column vertical separator desktop, crushes to horizontal line separator mobile.
SOLVE
@Anton, thank you for your help on this. I wanted to share the successful code, adjusting break points, and a few other things, just trial and error until it worked. Wouldn't have gotten here without your help.
It wasn't working at first, I added important tags, and a blue line on the right side shows up in both viewports. I see you've written border-bottom for under 480px, however the above 481px is the only one working here. Any ideas?
I don't recommend to use "!important" on everything - because it will cause this exact behavior.
Can you provide a preview link for users outside of your hub(no preview link from the design manager). Maybe this requires specific CSS bits and pieces.