Problems with Bootstrap-4-carousel-text-only

I’ve been working with the following code: Bootstrap-4-carousel-text-only

I’m experiencing problems with the carousel content when resizing it down to smaller screens.

If I stick to just a few words inside the h3 tags as in the first slide example the carousel content displays okay on smaller screens, but when I add more text as in the second slide example, the carousel content becomes truncated halfway down on smaller screens. I can get around this by increasing the height of the carousel-inner and all of my content becomes visible again on smaller screens, but I am then left with a larger area of unnecessary space below the bottom of the content on laptops and desktops.

Is there a simple way to adapt the existing code so as to make the carousel height expand and contract in both larger and smaller screen sizes depending on the available content?

Any constructive advice would be greatly appreciated.


body{
background-color: #000;
}
.carousel{
margin-top: 50px;
}
.carousel-inner{
height: 150px;
}
.carousel-caption{
color: #fff;
top: 50%;
}
<div id="carouselExampleControls" class="carousel slide" data-ride="carousel">
<div class="carousel-inner">
<div class="carousel-item active">
<div class="carousel-caption">
<h3>Boyd W.</h3>
<p>TEXT</p>
</div>
</div>
<div class="carousel-item">
<div class="carousel-caption">
<h3>Diane L</h3>
<p>« Lorem ipsum dolor sit amet, consectetur adipisci elit, sed eiusmod tempor incidunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrum exercitationem ullam corporis suscipit laboriosam, nisi ut aliquid ex ea commodi consequatur.» </p>
</div>
</div>
<div class="carousel-item">
<div class="carousel-caption">
<h3>Randall L</h3>
<p>TEXT</p>
</div>
</div>
<div class="carousel-item">
<div class="carousel-caption">
<h3>John D.</h3>
<p>TEXT</p>
</div>
</div>
<div class="carousel-item">
<div class="carousel-caption">
<h3>Jody B.</h3>
<p>TEXT</p>
</div>
</div>
</div>
<a class="carousel-control-prev" href="#carouselExampleControls" role="button" data-slide="prev">
<span class="carousel-control-prev-icon" aria-hidden="true"></span>
<span class="sr-only">Previous</span>
</a>
<a class="carousel-control-next" href="#carouselExampleControls" role="button" data-slide="next">
<span class="carousel-control-next-icon" aria-hidden="true"></span>
<span class="sr-only">Next</span>
</a>
</div>

You’d need to put the elements back in the flow rather than position:absolute.

You could try changing these two rules as follows.

.carousel-inner{
  height: auto;
}
.carousel-caption{
  color: #fff;
  top: 0;
  position:relative;
}

The problem with fluid carousels is that the content below the carousel will move down when a larger item appears. That’s just the way it would have to be without setting a fixed height.

Here’s a similar bootstrap5 example to show the same effect.

Alternatively you could add overflow:auto to .carousel-inner original code and then the user could at least scroll the content in the carousel.

Or lastly (and perhaps the least best option) you could supply a series of media queries to increase the height as required but then again that would be wrong if a user zoomed the text.

Thanks, PaulOB. I appreciate your time and effort in replying to my earlier post. I’ve read through the information you’ve shared and have changed the styling to reflect the changes you suggest. Now, when viewed in smaller screens my text is visible from top to bottom without needing to scroll, with the carousel resizing itself automatically, but my text is now offset and hidden horizontally to the righthand side instead. Is there any way for the text to reduce in width while expanding in height within the carousel window without becoming lost either vertically or horizontally, without the need to scroll, and while maintaining the left and right positioning of the direction arrows? If not, and as I have seen other websites that include similar carousels or sliders with several rows of text only and which resize properly, please can you suggest any other way for me to achieve a similar result that works properly - examples of carousel, sliders, etc?

In my example you just need to reset the positions of left and right as follows. I should have noticed that :blush:

.carousel-inner{
  height: auto;
  border:1px solid white;
}
.carousel-caption{
  color: #fff;
  top: 0;
  right:0;
  left:0;
   bottom:0;
  position:relative;
}

Updated example.

The text is now centred and the height is accommodated automatically to the amount of content. The arrows are in the correct position as they are vertically centred in relation to the amount of content which is the sensible way to do it.

As I said your options are pretty limited for a fluid carousel.

  1. You have a fluid height as in my example.

Or

  1. You have a fixed height but use overflow:auto.

or

  1. You resize your text smaller so that it fits in the required height. This is a bad option as a user could zoom text and the whole thing breaks or you add more content without realising that you need to rejig the heights and sizes.

There are no other choices as such as the limitations will always be the same no matter how you dress them :slight_smile:

If you can show an example of something you’ve seen then maybe we can work towards a similar example?

Hello Paul, and apologies for my delay in reply.

Having followed your advice I altered my original code to the example you shared below

.carousel-inner{
  height: auto;
}
.carousel-caption{
  color: #fff;
  top: 0;
  position:relative;
}

which allows the user to scroll the content, although, on desktop and laptop, the horizontal and vertical scroll bars were always visible when not necessary making the end result rather less visually appealing. I’m not sure whether it’s correct coding, but I altered your code to this

.carousel-inner{
height: 160px;
overflow:auto;
overflow-x:hidden;/* Hide horizontal scrollbar /
}/

.carousel-caption{
color: #000;
top: 50%;
}

which removed the horizontal and vertical scroll bars on desktops and laptops, while leaving a vertical scroll bar visible on smaller screens.

I then found your second post and have since changed my code to this

.carousel-inner{
height: auto;
border:1px solid white;
}
.carousel-caption{
color: #000;
top: 0;
right:0;
left:0;
bottom:0;
padding-left:70px;
padding-right:70px;
position:relative;
}

which allows the carousel to expand and contract in height depending on the available content, and is exactly what I’d wanted in the first place. The only slight glitch is that the horizontal text runs right to the very edges of the container and is also underneath the forward and back arrows. Again, not sure if my coding is technically correct, but I got around this by adding padding to the left and right, meaning that my text now lies nicely between the direction arrows instead of underneath them, and does not run right to the edges of the width of the container.

This now works perfectly on both larger and smaller screens.

Thank you very much for your help with this, because without your advice I’d most likely still be struggling to find a way.

One final quick question. Is there a way to make the direction arrows a different colour, because they don’t stand out on my light grey background?

All good wishes. H.

If you look at the background-image svg you will see the ‘fill’ attribute embedded in the data uri. You can change that to a different color. I changed it to red here for one of the arrows.

e.g.
background:url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='red' viewBox='0 0 8 8'%3E%3Cpath d='M4 0l-4 4 4 4 1.5-1.5-2.5-2.5 2.5-2.5-1.5-1.5z'/%3E%3C/svg%3E");

Thanks, Paul.

My code is not the same as in the example you’ve shared.

 <a class="carousel-control-prev" href="#carouselExampleControls" role="button" data-slide="prev">
    <span class="carousel-control-prev-icon" aria-hidden="true"></span>
    <span class="sr-only">Previous</span>
  </a>
  <a class="carousel-control-next" href="#carouselExampleControls" role="button" data-slide="next">
    <span class="carousel-control-next-icon" aria-hidden="true"></span>
    <span class="sr-only">Next</span>
  </a>

How do I change the arrow colour with this code?

Unless something has changed the first codepen you posted had this in place.

.carousel-control-prev-icon {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23fff' viewBox='0 0 8 8'%3E%3Cpath d='M4 0l-4 4 4 4 1.5-1.5-2.5-2.5 2.5-2.5-1.5-1.5z'/%3E%3C/svg%3E");
}
.carousel-control-next-icon {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23fff' viewBox='0 0 8 8'%3E%3Cpath d='M1.5 0l-1.5 1.5 2.5 2.5-2.5 2.5 1.5 1.5 4-4-4-4z'/%3E%3C/svg%3E");
}

If you look in the data uri where it says this: fill='%23fff'

Change it to a more suitable color. The %23 stands for hash (#)
.e.g.fill="%23f00f00"

.carousel-control-prev-icon {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23f00' viewBox='0 0 8 8'%3E%3Cpath d='M4 0l-4 4 4 4 1.5-1.5-2.5-2.5 2.5-2.5-1.5-1.5z'/%3E%3C/svg%3E");
}
.carousel-control-next-icon {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23f00' viewBox='0 0 8 8'%3E%3Cpath d='M1.5 0l-1.5 1.5 2.5 2.5-2.5 2.5 1.5 1.5 4-4-4-4z'/%3E%3C/svg%3E");
}

I have now changed the colour of the direction arrows following your example. Thank you.

One other quick question. Before posting my previous message I copied and pasted your code and checked to see whether this made my carousel expand vertically in smaller screens so as to accommodate the available content, which it did indeed. However, it wasn’t until today when I changed the colour of the arrows that I realised the direction arrows don’t actually work any more. I’ve rolled back to my previous code where it’s necessary for me to scroll to see the content and this is still working fine with the direction arrows functioning properly. I can see in your example that the arrows are working properly, and yet when I copy and paste this exact code to my editor the controls are unresponsive. Any suggestions?

If it helps at all, I’ve noticed that in your example the left-hand arrow is white and the right-hand arrow becomes white when the mouse is held over it. Both arrows work properly. In my example, both arrows are apparently grey and inactive.

I’d need to see an updated codepen of all your new code as the demo of mine is working fine.

It sounds as though you may have put some invisible element on top of the arrows to stop them being clicked. The anchor that surrounds the arrow is set to a partial opacity and then on hover the opacity is removed making them lighter.

It may be a z-index issue if you have something else going on in there but I’d need to see the problem to fix easily,

Thanks for your reply.

I’ve posted below a copy of the HTML and CSS for the entire page. The carousel direction arrows don’t seem to work. I’ve spent a fair while trying to identify what’s wrong but can’t seem to find the answer. Perhaps you can identify the problem.

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<meta name="description" content="">
<meta name="author" content="">
<meta name="robots" content="all follow">
<meta name="rating" content="general">
<meta name="dcterms.rightsHolder" content="">
<meta name="google-site-verification" content="" />
<meta name="msvalidate.01" content="" />
<title></title>
<!-- Favicon CSS -->
<link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png">
<link rel="manifest" href="/site.webmanifest">
<!-- Bootstrap core CSS -->
<link href="vendor/bootstrap/css/bootstrap.min.css" rel="stylesheet">
<!-- Custom styles for this template -->
<link href="css/business-frontpage.css" rel="stylesheet">
<!--Lazy Load-->
<link rel="stylesheet" href="assets/plugins/lazy-load/jquery.lazyloadxt.spinner.css">
<!-- Cookiealert CSS -->
<link rel="stylesheet" href="cookies/cookiealert.css">
</head>
<body>
<!-- Cookiealert Bar -->
<div class="alert alert-dismissible text-center cookiealert" role="alert">
<div class="cookiealert-container">
<div style="margin:5px;"><b>Do you like cookies?</b> &#x1F36A; This website uses cookies to improve your experience.&nbsp;&nbsp;</div><a href="http://cookiesandyou.com/" target="_blank">More</a>&nbsp;&nbsp;<button type="button" class="btn btn-primary btn-sm acceptcookies" aria-label="Close" style="margin:4px;">I agree</button>
</div>
</div>
<!-- Navigation -->
<nav class="navbar navbar-expand-lg navbar-custom fixed-top">
<div class="container">
<a class="navbar-brand" href="#"></a>
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarResponsive" aria-controls="navbarResponsive" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span></button>
<div class="collapse navbar-collapse" id="navbarResponsive">
<ul class="navbar-nav ml-auto">
<li class="nav-item">
<a class="nav-link" href="index.html" title="Home" style="color:white;" onMouseOver="this.style.color='##e0dcdc'"
   onMouseOut="this.style.color='#ffffff'">Home</a>
</li>
<li class="nav-item">
<a class="nav-link" href="about.html" title="About" style="color:white;" onMouseOver="this.style.color='#e0dcdc'"
   onMouseOut="this.style.color='#ffffff'"></a>
</li>
<li class="nav-item">
<a class="nav-link" href="" title="" style="color:white;" onMouseOver="this.style.color='#e0dcdc'"
   onMouseOut="this.style.color='#ffffff'"></a>
</li>
<li class="nav-item dropdown">
<a class="nav-link dropdown-toggle" href="#" title="" style="color:white;" onMouseOver="this.style.color='#e0dcdc'"
   onMouseOut="this.style.color='#ffffff'" id="navbarDropdown1" role="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false"></a>
<div class="dropdown-menu">
<a class="dropdown-item" href="" title=""></a>
<a class="dropdown-item" href="" title=""></a>
<a class="dropdown-item" href="" title=""></a>
<!--<div class="dropdown-divider"></div>-->
</div>
</li>
<li class="nav-item dropdown">
<a class="nav-link dropdown-toggle" href="#" title="" style="color:white;" onMouseOver="this.style.color='#e0dcdc'"
   onMouseOut="this.style.color='#ffffff'" id="navbarDropdown2" role="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false"></a>
<div class="dropdown-menu">
<a class="dropdown-item" href="" title=""></a>
<a class="dropdown-item" href="" title=""></a>
<a class="dropdown-item" href="" title=""></a>
<a class="dropdown-item" href="" title=""></a>
<a class="dropdown-item" href="" title=""></a>
<a class="dropdown-item" href="" title=""></a>
<a class="dropdown-item" href="" title=""></a>
<a class="dropdown-item" href="" title=""></a>
<a class="dropdown-item" href="" title=""></a>
<a class="dropdown-item" href="" title=""></a>
<a class="dropdown-item" href="" title=""></a>
<a class="dropdown-item" href="" title=""></a>
<a class="dropdown-item" href="" title=""></a>
<a class="dropdown-item" href="" title=""></a>
<a class="dropdown-item" href="" title=""></a>
<!--<div class="dropdown-divider"></div>-->
</div>
</li>
<li class="nav-item">
<a class="nav-link" href="" title="" style="color:white;" onMouseOver="this.style.color='#e0dcdc'"
   onMouseOut="this.style.color='#ffffff'"></a>
</li>
<li class="nav-item">
<a class="nav-link" href="" title="" style="color:white;" onMouseOver="this.style.color='#e0dcdc'"
   onMouseOut="this.style.color='#ffffff'"></a>
</li>
</ul>
</div>
</div>
</nav>
<!-- Page Content -->
<div class="container" style="padding:0px 10px 80px 10px;">
<article style="margin-bottom:-20px;">
<h1 style="padding-bottom:25px;"></h1>

<div id="carouselExampleControls" class="carousel slide" data-ride="carousel">
  <div class="carousel-inner">
    <div class="carousel-item active">
      <div class="carousel-caption">
        <h3>Boyd W.</h3>
        <p>TEXT</p>
          <p>TEXT</p>  <p>TEXT</p>  <p>TEXT</p>  <p>TEXT</p>  <p>TEXT</p>  <p>TEXT</p>  <p>TEXT</p>  <p>TEXT</p>  <p>TEXT</p>  <p>TEXT</p>  <p>TEXT</p>  <p>TEXT</p>  <p>TEXT</p>
      </div>
    </div>
    <div class="carousel-item">
      <div class="carousel-caption">
        <h3>Diane L</h3>
        <p>TEXT</p>
      </div>
    </div>
    <div class="carousel-item">
      <div class="carousel-caption">
        <h3>Randall L</h3>
        <p>TEXT</p>
      </div>
    </div>
    <div class="carousel-item">
      <div class="carousel-caption">
        <h3>John D.</h3>
        <p>TEXT</p>
      </div>
    </div>
    <div class="carousel-item">
      <div class="carousel-caption">
        <h3>Jody B.</h3>
        <p>TEXT</p>
      </div>
    </div>
  </div>
  <a class="carousel-control-prev" href="#carouselExampleControls" role="button" data-slide="prev">
    <span class="carousel-control-prev-icon" aria-hidden="true"></span>
    <span class="sr-only">Previous</span>
  </a>
  <a class="carousel-control-next" href="#carouselExampleControls" role="button" data-slide="next">
    <span class="carousel-control-next-icon" aria-hidden="true"></span>
    <span class="sr-only">Next</span>
  </a>
</div>

 <p>TEXT</p>  <p>TEXT</p>  <p>TEXT</p>  <p>TEXT</p>  <p>TEXT</p>  <p>TEXT</p>  <p>TEXT</p>  <p>TEXT</p>  <p>TEXT</p>  <p>TEXT</p>  <p>TEXT</p>
 
 </article>
</div>
<!-- /.container -->
<!-- Scroll to Top -->
<button onclick="topFunction()" id="myBtn" title="Go to top">Top</button>
<!-- Footer -->
<footer class="py-5 bg-custom">
<div class="container">
<p class="m-0 text-center text-white">Copyright</p><br>
</div>
<!-- /.container -->
</footer>
<!-- Bootstrap core JavaScript -->
<script src="vendor/jquery/jquery.min.js"></script>
<script src="vendor/bootstrap/js/bootstrap.bundle.min.js"></script>
<!-- Cookiealert JS -->
<script src="cookies/cookiealert.js"></script>
<!-- Lazy Load -->
<script src="assets/plugins/lazy-load/jquery.lazyloadxt.js"></script>
<!-- Scroll to Top -->
<script src="assets/js/myBtn/myBtn.js"></script>
</body>
</html>
/*!
 * Start Bootstrap - Busines Frontpage (https://startbootstrap.com/template-overviews/business-frontpage)
 * Copyright 2013-2019 Start Bootstrap
 * Licensed under MIT (https://github.com/BlackrockDigital/startbootstrap-business-frontpage/blob/master/LICENSE)
 */
body {
  padding-top: 56px;
}
* {
  box-sizing: border-box;
}
.row {
  display: flex;margin:0 0 0 2px;
}
/* Create three equal columns that sits next to each other */
.column {
  flex: 50.00%;padding: 5px;
}
.navbar-custom {
  background-color: #205081;
}
/* change the brand and text color */
.navbar-custom .navbar-brand,
.navbar-custom .navbar-text {
  color: rgba(255,255,255,.9);
}/* change the link color */
.navbar-custom .navbar-nav .nav-link {
  color: rgba(255,255,255,.5);
}
/* change the color of active or hovered links */
.navbar-custom .nav-item.active .nav-link,
.navbar-custom .nav-item:hover .nav-link {
  color: #ffffff;
}
/* change the color of footer */
.bg-custom {
  background-color: #205081;
}	
/* back to top button */
#myBtn {
  display: none;
  position: fixed;
  bottom: 20px;
  right: 30px;
  z-index: 99;
  font-size: 18px;
  border: solid #ccc;
  outline: none;
  background-color: #205081;
  color: white;
  cursor: pointer;
  padding: 15px;
  border-radius: 4px;
}
#myBtn:hover {
  background-color: #555;
}

body{
  background-color: #000;
}
.carousel{
  margin-top: 50px;
}
.carousel-inner{
  height: auto;
  border:1px solid white;
}
.carousel-caption{
  color: #fff;
  top: 0;
  right:0;
  left:0;
  bottom:0;
  position:relative;
}
p {color:#fff;}
 
.emoji{vertical-align: middle;}type or paste code here

I forgot to say thanks for all your help so far and for any further help you may be able to provide :smile:

As far as I can test your code still works if I plug into a codepen with bootstrap enabled and the arrows click as required.

You do have a couple of css files called after the frontpage css so I’d need to know what css they have in place just in case its relevant.

<link rel="stylesheet" href="assets/plugins/lazy-load/jquery.lazyloadxt.spinner.css">
<!-- Cookiealert CSS -->
<link rel="stylesheet" href="cookies/cookiealert.css">

I’m also assuming you are linking to the correct version of bootstrap but if the only issue is the arrows then that sounds as though its probably set up ok.

I would suggest you open devtools and highlight the elements in the page and see if there’s something blocking the arrow. For instance your dropdown may be bleeding over to the arrows and stopping the element from being clicked. Try adding a z-index of 999 to .carousel.

This is one of those issues I could probably solve in a few seconds if I could see the problem page :slight_smile:

Hi Paul.

The lazy-load CSS contains this:

.lazy-hidden {
    background: #eee url('loading.gif') no-repeat 50% 50%;
}

and the cookie alert this

/*
 * Bootstrap Cookie Alert by Wruczek
 * https://github.com/Wruczek/Bootstrap-Cookie-Alert
 * Released under MIT license
 */
.cookiealert {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    margin: 0 !important;
    z-index: 999;
    opacity: 0;
    border-radius: 0;
    transform: translateY(100%);
    transition: all 500ms ease-out;
    color: #ecf0f1;
    background: #212327 url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAASwAAAEECAIAAAAd4J55AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyhpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkI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cH5AXTlKbJnUyuTcbbZO88wqNLa5s1Gt7/r1xQwAAbgUoK4cNXbu9r5eueiGULPxgL6YASAAlwJ8IEfpt2VZRjLd2EnskKsKkIfDge44HW08xPahmAEgAJcHHPL19CtCquSI3I3ckbnicblc2OeT6+99A0aUDAABGAjgYCoTKWwfZW32MvDH4aiqC0uRXnszkggDQAAGAig6zvdXZodFZe8ZfH1nnOTgZeLO6QAIwNABv7x+a9l6MzvcDjVPxO2o63dZJ/dpMAAEYJiAovXs81QRcO7rFQl+5WKSRNSRLgAEYJiA4vX1ixSmV/tY2wV9vaLC3wpFEh0AARg44P8LMACM4cURIdXaEQAAAABJRU5ErkJggg==');
}

.cookiealert.show {
    opacity: 1;
    transform: translateY(0%);
    transition-delay: 1000ms;
}

.cookiealert a {
    text-decoration: underline
}

.cookiealert .acceptcookies {
    margin-left: 10px;
    vertical-align: baseline;
}

Would it help if I were to upload the page to hosting and share with you the URL?

Hi again.

I’ve tried everything and still can’t get this to work properly.

Here’s my test page uploaded to hosting

https://cleardirectionhypnotherapy.co.uk/carousel.html

Perhaps you’ll succeed where I’ve failed :slight_smile:

Its the zindex here needs to be raised.

.carousel-control-next, .carousel-control-prev {
    z-index: 99;
}

I’ve made the changes you suggest, uploaded the stylesheet, and it works! Thank you so much for your help with this. Your time and effort are genuinely appreciated. Take a look at the URL I posted earlier and you’ll see my working carousel. Please, if I have any further issues with this (hopefully I won’t) can I post again to this same thread and ask for your help? Thanks again and enjoy the rest of your week. All good wishes.

1 Like

Yes of course you can ask for further help but probably best to start a new thread with a link to this thread for context. In that way if I’m away then someone else will chime in, whereas if you continue an old thread then people tend not to reply as they think it’s covered. :slight_smile:

Thanks again for your help with the carousel which is now fully integrated into my page and working as intended. I’ve no more questions to ask on this topic or any other just at the moment, but if I do I’ll surely follow your advice about starting a new thread. In the meantime, and as a thank you for your help, would it be possible for me to include on the links page of my new site a link back to your own? Please let me know. All good wishes, H.