Archived topic
Padding p but not padding img
6 replies · Started by Davide on April 5, 2018
Hi, GeneratePress Team.
I'm a noob in coding and I'm trying to create a padding for text only in a spacifica page. The CSS code I'm testing is the following
.page-id-228 p {
padding-top: 0px;
padding-left: 280px;
padding-bottom: 0px;
padding-right: 280px;
}
The problem is that I don't want images follow the rule; I'd like images follow padding set in customize->layout->container option. Why img follows rules that I set for p only tag? Where am I mmaking a mistake?
I solved the problem by myself! Sorry!
Glad you figured out!
Dear Davide,
I have a similar problem, so I am very curious how you solved this.
Please share if possible.
Thanks!
Hi there,
Can you start a new topic, describe your problem a bit and link me to the page in question?
I should be able to help you out :)
Hi Leo.
No problem, will do as soon as I get it out of Local.
Thanks!
No problem :)