This topic has 8 replies, 3 voices, and was last updated 3 years, 6 months ago ago by Olga Barlow
Hi
I would like the full home page to have a bit of border, left and right. I did it image per image but it doesn’t display well on cellphone.
How can I set a border on the home page on laptop only?
Thanks!
Hello,
Add the next code in Theme Options > Theme custom CSS > Tablet:
.home {
border: 2px solid red;
}
If this is not what you are looking for, describe the desired result in more detail.
Regards
I was more thinking a space on the left and right of the page, same color as the background, instead of having a full screen display.
Hello,
Do you want something like this https://gyazo.com/b7e20aaead952c1aa1ea12ad010354d0 ?
Then use
.home {
border-left: 20px solid #dbeddd;
border-right: 20px solid #dbeddd;
}
Regards
Hi.
Thanks. Will it be only for the laptop version, no cellphone?
Thanks
Thanks but that is cropping my pictures and not just adding some space on the size. It is also adding the border on my header and footer which I don’t want.
How can we add a margin only on the content (not footer and header) and not cropping the images.
Thanks
Hello,
It’s not possible that you have border at the top and bottom if you added the second code that I sent you.
.home {
border-left: 20px solid #dbeddd;
border-right: 20px solid #dbeddd;
}
To avoid cropping of the images add the 20px right/left padding in the row settings where you have images. You use stretch option for your rows, so there is no way to add custom border without cropping without adding right/left paddings for the row content.
Regards
You must be logged in to reply to this topic.Log in/Sign up