Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Option to change navigation control design/images in Carousel #211

Open
toPrabhat opened this issue Nov 25, 2024 · 4 comments
Open

Option to change navigation control design/images in Carousel #211

toPrabhat opened this issue Nov 25, 2024 · 4 comments
Labels
enhancement New feature or request

Comments

@toPrabhat
Copy link

Before opening:

Feature requests must include:

  • As much detail as possible for what we should add and why it's important to Bootstrap
  • Relevant links to prior art, screenshots, or live demos whenever possible
@toPrabhat toPrabhat changed the title Option to change navigation control design/images Option to change navigation control design/images in Carousel Nov 25, 2024
@xidedix
Copy link
Member

xidedix commented Nov 26, 2024

@toPrabhat
You can change navigation control images using the custom content for c-carousel-controls sub-component.
This information appears to be missing from the docs. Thank you for bringing it to our attention.

<c-carousel ...>
  <c-carousel-inner>
    ...
  </c-carousel-inner>
  <c-carousel-control [tabIndex]="0" direction="prev">
    <svg cIcon name="cil-chevron-left" size="3xl"></svg>
    <span class="visually-hidden">Previous</span>
  </c-carousel-control>
  <c-carousel-control [tabIndex]="0" direction="next">
    <svg cIcon name="cil-chevron-right" size="3xl"></svg>
    <span class="visually-hidden">Next</span>
  </c-carousel-control>
</c-carousel>

@dbarrerap
Copy link

Can this be done with the indicators?

@xidedix
Copy link
Member

xidedix commented Dec 22, 2024

@dbarrerap
At the moment, the only option is to modify the .carousel-indicators CSS class.
How would you like to modify the indicators’ visual appearance?

@dbarrerap
Copy link

Instead of lines, use thumbnails of the actual images

@xidedix xidedix added the enhancement New feature or request label Dec 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants