Skip to content
This repository has been archived by the owner on May 5, 2022. It is now read-only.

Change location of dots to the top of the component #65

Open
michaelcuneo opened this issue May 11, 2021 · 2 comments
Open

Change location of dots to the top of the component #65

michaelcuneo opened this issue May 11, 2021 · 2 comments

Comments

@michaelcuneo
Copy link

Just wondering if there is a way to change the location of the dot component to be at the top of the Carousel instead of the bottom of the Carousel?

@antony
Copy link
Member

antony commented Jun 3, 2021

Probably just using CSS

@timoanttila
Copy link

timoanttila commented Jun 4, 2021

.carousel ul {
position: absolute;
top: 0; // or maybe little bit minus is needed
left: 0;
width: 100%;
text-align: center
}

But it would be nice to have dots under the carousel and not top of content in default. I have never understood why people want to put dots over carousel content. margin-top should be zero in default.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants