Viewing 4 replies - 1 through 4 (of 4 total)
  • for the title
    .carousel-caption h1

    for the paragraph
    .carousel-caption .lead

    Thread Starter shelleyann

    (@shelleyann)

    .carousel-caption h1 {font-size: 12px;}
    Thank you, that is the css I had previously tried using and I cannot get the carousel caption h1 size to reduce.
    Maybe that is not what I need to do but rather make the carousel-caption move up on the page???

    EDIT: You have an extra bracket on line 44, please remove it ( the } ). It should work perfectly after that ??

    I have made this code for different fonts due to web resolution;

    /* Iphone 4/5 portrait mode*/
    @media (max-width: 425px){
    #customizr-slider.carousel .item {
    height: 230px;
    min-height: 230px;
    line-height: 190px;

    }
    .carousel-caption h1 {
    font-size: 1.7em;
    }
    .carousel-caption p {
    font-size: 1.0em;
    }
    }

    So I ended upp with around 8 sizes to match most.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Css to change H1 in Carousel-Caption in Slider’ is closed to new replies.