Last edited CSS question

Go down

Last edited CSS question

Post by Tonight on January 14th 2015, 3:51 pm

Code:
        .postmain .entry-content p:not(:empty) {
        background: url("http://i58.servimg.com/u/f58/17/06/15/51/write110.png") no-repeat scroll 6px 10px #FFEBC8;
        border: 1px solid #ECC272;
        color: #AC6328;
        font-family: "Arial",tahoma,helvetica,arial,sans-serif;
        font-size: 11px;
        font-weight: 700;
        line-height: 18px;
        margin-top: 15px;
        padding: 8px 28px;
        text-shadow: 0 1px 0 #FFFAF1;
        }
        .entry-content p:not(:empty) br {display: none;}

This is for PunBB, how would the selectors be for PhpBB3?
avatar
Tonight
Forumember

Male Posts : 272
Reputation : 77
Language : Estonian, English, Russian
Location : Estonia

Back to top Go down

Re: Last edited CSS question

Post by Ange Tuteur on January 15th 2015, 5:11 am

Hello @Tonight,

Give this a try :
Code:
.postbody .content p:not(:empty) {
  background: url("http://i58.servimg.com/u/f58/17/06/15/51/write110.png") no-repeat scroll 6px 10px #FFEBC8;
  border: 1px solid #ECC272;
  color: #AC6328;
  font-family: "Arial",tahoma,helvetica,arial,sans-serif;
  font-size: 11px;
  font-weight: 700;
  line-height: 18px;
  margin-top: 15px;
  padding: 8px 28px;
  text-shadow: 0 1px 0 #FFFAF1;
}
.postbody .content p:not(:empty) br {display: none;}
avatar
Ange Tuteur
Forumaster

Male Posts : 13201
Reputation : 2917
Language : EN10, FR5, JA5
Location : Macungie, PA

https://github.com/SethClydesdale

Back to top Go down

Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum