Creating a smaller collapse button
-
Hi there! I’ve looked for about an hour and a half now for someone describing the same issue/topic as I. I’ve found similar things but I haven’t been able to apply the principles outlined by you towards my own concept.
Essentially, I would like the make the width of the expand/collapse button smaller. It looks fine on desktop but when we open the website on mobile, the button is wider than the rest of the page, causing some white space to appear.
I know that it should be simple but I can’t wrap my head around the css fully.
Currently we have:
[expand title=”Click for Additional Details” swaptitle=”Collapse” trigclass=”noarrow my_button” tag=”div”]
Can you help me write some CSS as well as rewriting that shortcode?
The topic ‘Creating a smaller collapse button’ is closed to new replies.