WP Car Rental Forum

Please or Register to create posts and topics.

Purchase - form slider image trouble

Page 1 of 5Next

Hi, I purchased the theme, very clean, I enjoy it.

I only have one trouble, my pics in the background form on homepage don't resize or centered on tablet and smartphones.
Look perfect on WPBakery preview, on computer, but the pics are on the left on other devices.

Any solutions ? https://luxury-rentalcar.com.

Thanks.

Hello Pacosxm, Thank you.

Yes, best way would be to create diferent image for diferent sizes.  I would remove image background from the wpbakery row or theme settings, and add custom css.

This can be done on several ways;

  1. At page edition with wpbakery (top right gear)
  2. At theme options -> custom codes -> custom CSS
  3. At child theme style file

Css you would need to add is the following:

.custom_back{
background-position: center !important;
background-repeat: no-repeat !important;
background-size: cover !important;
}

@media screen and (max-width:768px){
.custom_back{
background-image:url('URLTOSMALLIMAGE');
}
}

@media screen and (min-width:769px){
.custom_back{
background-image:url('URLTOLARGEIMAGE');
}

}

Finally you will need to add the class custom_back to the row.

Hope it helps!

Thanks,
I understand all the first part : At page edition with wpbakery, etc...
I upload new images and change the URL in the CSS code

but I'm confused about :
“add the class custom_back to the row“ ???
how can I do that ?

Hello Pacosxm,

Im sorry for the late reply, for some reason we were not notified about your question.

You need to edit the visual composer row, and add the class "custom_back" at "Extra class name" field, which is located at the bottom of the options.

Please check the image below:

Edit row

Add extra class

Ok it works in another row (my fist on the homepage : “espace vide“, but I can find the row of the form...
I got nothing over the content of my page.
see what I got :

you have a wonderful blog here! do you want to make some invite posts in this little weblog?토토

This sort of appears completely greatest. Each one of these small info tend to be produced as well as plenty of background info. I favor which a great deal.how to start a payment processing company

Fireboy and Watergirl is a fun two-player game that is completely free. Your mission is to assist fireboy and watergirl in finding their way out of the Forest Temple while collecting diamonds. But be careful not to let Fireboy fall into the water and burn Watergirl!

You…are…my…hero!!! I cant believe something like this exists on the internet! Its so true, so honest, and more than that you dont sound like an idiot! Finally, someone who knows how to talk about a subject without sounding like a kid who didnt get that bike he wanted for Christmas.cash discount dual pricing

Wohh precisely what I was looking for, thankyou for putting up.North American Bancard Edge Program

Page 1 of 5Next