Slider Revolution- Header column changing on refre

2019-09-09 11:31发布

I'm trying to remove the padding from my slider revolution header, however the column id seems to be changing after every refresh. The style I am using to remove the padding is

div#column-28eac7eab21857970fc76a0201ab0fe2 {
padding: 0;

I cannot get it to change due to the id changing on refresh. Any ideas on how this is happening?

Thanks Image is here

Page builder can be seen here

1条回答
女痞
2楼-- · 2019-09-09 12:00

An ID is supposed to be unique to each element and so if the banner on one page has an ID of "1234" if the same banner is on another page, the ID should be the same. If there happens to be a banner on another page but is a different banner i.e. has different images, it should have its own ID.

Can you try the css below on your site?

section#section-58ac615d427d3 .fw-container {
    margin: 0;
    padding: 0;
}

Because the padding is on the "fw-container" class and not the section that has an ID, we call the ID followed by a space and then the class of the element that we want to edit which is "fw-container" this way the rule will only apply to elements with a class of "fw-container" that are inside the element with the id of "section-58ac615d427d3"

查看更多
登录 后发表回答