简体   繁体   中英

css element dissapears behind padding border

I need your help.

The Title in the green Box "News" appears right under this Link. http://www.mjart.ch/category/news/

But because of this weird Template I'm using, there are sometimes some imperfections. On this Site here http://www.mjart.ch/portfolio/ the Green title seems to disappear behind the padding border. I really don't know why.

What I found out is that there are 2 different CSS styles. The first one that works is a .blog-title and the second one is a .single-title . But both are same styled. I would be happy about some help.

Hi if you dont want to change the structure of the template you can add this css rules

.page-id-21 .single-page{
    margin:0;
}
.page-id-21 .single-page .single-content{
    margin-left: 25px;       
}

I added a .page-id-21 class, otherwise in the contact page you will add a margin. This can be a solution, another is to search the correct template page, if it's a premium plugin it will have it, and you dont need to add the css rules.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM