Streaming live at 10am (PST)

Rounded tab buttons

Hi there,
I’ve created tabs but I want to style them so that the far left and right are rounded. I can’t seem to figure out how to create custom classes in this specific instance where I need the inactive left button to have rounded corners on the top and bottom left and the opposite when the right button is inactive. The same would be true for the selected/active tab.

You can check out what’s happening here by clicking on Monthly


Here is my site Read-Only: LINK
(how to share your site Read-Only link)

@kylehaapala - Please share your Read-Only link. It is easier to get help that way.

Here it is. Didn’t know this was possible :slight_smile:

You need to select the ‘current’ state of the tab. Here’s a video on how to style the different states of a tab
Here’s an easy way to acces the ‘current’ state

Thanks @sarahfrison but this doesn’t work. It just reverses the problem. If you do what you did and then click on Annual again, the issue is reversed. There needs to be two current states, one for the left and right buttons and same for regular states, just not sure how to do achieve that.

@kylehaapala - is this what you want it to look like when you switch tabs?


If you want the pill look, just add a left and right combo class, set the radius on left then right. Current would be for color.

Got it! Thank you very much :slight_smile: