[Resolved] Padding p but not padding img

Home Forums Support [Resolved] Padding p but not padding img

Home Forums Support Padding p but not padding img

  • This topic has 6 replies, 3 voices, and was last updated 3 years ago by Leo.
Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #541604
    Davide

    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?

    GeneratePress 2.0.2
    #541667
    Davide

    I solved the problem by myself! Sorry!

    #542055
    Leo
    Staff
    Customer Support
    #545655
    Vlidi

    Dear Davide,

    I have a similar problem, so I am very curious how you solved this.
    Please share if possible.

    Thanks!

    #545748
    Leo
    Staff
    Customer Support

    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 ๐Ÿ™‚

    #546115
    Vlidi

    Hi Leo.
    No problem, will do as soon as I get it out of Local.
    Thanks!

    #546437
    Leo
    Staff
    Customer Support
Viewing 7 posts - 1 through 7 (of 7 total)
  • You must be logged in to reply to this topic.