Slider Revolution- Header column changing on refresh

北城以北 提交于 2020-03-05 14:01:28

问题


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:


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"



来源:https://stackoverflow.com/questions/42371692/slider-revolution-header-column-changing-on-refresh

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!