2 replies [Last post]
Lisa username
Lisa username's picture
Offline
newbie
Last seen: 1 year 7 weeks ago
Timezone: GMT+10.5
Joined: 2021-10-11
Posts: 2
Points: 3

Hi lovely people

I am trying to align an embedded form with the other blocks on the page.

Using google inspect I can fix it by changing padding to 0px, but when I paste in the css, it does not make the change on the website.

This is what I copied from google inspect which I then pasted in css (and changed padding to 0px):

#mlb2-4833518.ml-form-embedContainer .ml-form-embedWrapper .ml-form-embedBody, #mlb2-4833518.ml-form-embedContainer .ml-form-embedWrapper .ml-form-successBody {
padding: 20px 20px 0 20px;
}

What am I doing wrong here?

Any help would be hugely appreciated.

thank you!

Lisa username
Lisa username's picture
Offline
newbie
Last seen: 1 year 7 weeks ago
Timezone: GMT+10.5
Joined: 2021-10-11
Posts: 2
Points: 3

Padding set 0px not working in css

Hi lovely people

I am trying to align an embedded form with the other blocks on the page.

Using google inspect I can fix it by changing padding to 0px, but when I paste in the css, it does not make the change on the website.

This is what I copied from google inspect which I then pasted in css (and changed padding to 0px):

#mlb2-4833518.ml-form-embedContainer .ml-form-embedWrapper .ml-form-embedBody, #mlb2-4833518.ml-form-embedContainer .ml-form-embedWrapper .ml-form-successBody {
padding: 20px 20px 0 20px;
}

What am I doing wrong here?

Any help would be hugely appreciated.

thank you!

thepineapplehead
thepineapplehead's picture
Offline
Moderator
Last seen: 31 weeks 6 days ago
Timezone: GMT+1
Joined: 2004-06-30
Posts: 9683
Points: 819

Hi Lisa, we can't really

Hi Lisa, we can't really offer any useful advice with just a snippet of CSS. We've got no way of knowing what else may be interacting with the elements.

Do you have a link to the page you can send us? If it's not live anywhere can you post all the HTML and CSS in code tags please?

Verschwindende wrote:
  • CSS doesn't make pies