Forum Discussion
The responsive arrow in the "cause and effect" custom block: how does it rotate?
Under the "comparisons" category in Rise's Custom Blocks, there's a template called "cause and effect". It's two text boxes with an arrow in between them.
Pretty simple stuff, but what has me curious is that when you reduce the screen to the mobile size preview, the text boxes stack as you would expect -- and the arrow rotates so it's pointing down instead of to the side.
I've spent a bit of time exploring how the responsiveness works in the Custom Blocks, and I can't for the life of me figure out how the arrow is able to respond by rotating. I see that there's an option for shape orientation -- but that doesn't explain how the orientation becomes responsive.
In CSS I would do this with a media query tag...does Rise have a media query happening in the background here? And if so is there any way we could utilize that on the front end?
4 Replies
- PhilMayorLegend
Is this just they have been ratated in the break points?
I dont see it rotate it just switches view when you hit a break point- JohnReddinger-0Community Member
Is this just they have been ratated in the break points?
So, how would I achieve that with a graphic that I placed myself in a blank Custom Block? There must be something about the break points that I'm not understanding?
I'll include screenshots in case the behavior is different for me -- so what I want to know is, if I were building that block from scratch, how would I configure my custom arrow graphic to change orientation?
Maybe the problem is that I'm thinking of it in terms of how a Code Block would work -- maybe this is a different thing entirely?
I'm leaning towards this last explanation now because I tried changing the shape from an arrow to a star, and when I reflowed the layout it actually changed back to an arrow.
- LisaK-b221f671-Community Member
Under the position settings, there is "shape orientation" at the bottom, which allows you to rotate the arrow for the tablet/mobile breakpoints:
Related Content
- 2 months ago
- 10 months ago