0
Welcome Guest! Login
0 items Join Now

[Duplicate] Background image height in a Custom HTML Particle

    • Riccardo's Avatar
    • Riccardo
    • Elite Rocketeer
    • Posts: 1082
    • Thanks: 29

    [Duplicate] Background image height in a Custom HTML Particle

    Posted 7 years 7 months ago
    • In a Custom HTML Particle I created the div with a custom style, but I can't display the background image at 100% of its height. Is anything to be added to the particles?

      The custom HTML particle:
      <div style="text-align: center; height: 100%; width: 100%;">
      	SLOGAN</div>

      The custom style:
      .above1 {
      	background-image: url(images/home_image01.jpg);
      	background-repeat: no-repeat;
      	background-size: cover;
      	background-position: 100% top;
      	text-align: center;
      	vertical-align: middle;
      }
    • Riccardo Rausch
      www.rausch.it
    • MrT's Avatar
    • MrT
    • Preeminent Rocketeer
    • Posts: 101084
    • Thanks: 13484
    • Web Designer/Developer

    Re: [Duplicate] Background image height in a Custom HTML Particle

    Posted 7 years 7 months ago

Time to create page: 0.045 seconds