The forum of the forums
Would you like to react to this message? Create an account in a few clicks or log in to continue.

Last edited CSS question

2 posters

Go down

Last edited CSS question Empty Last edited CSS question

Post by Tonight 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?
Tonight
Tonight
Forumember

Male Posts : 312
Reputation : 80
Language : Estonian, English, Russian
Location : Estonia

Back to top Go down

Last edited CSS question Empty Re: Last edited CSS question

Post by Ange Tuteur 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;}
Ange Tuteur
Ange Tuteur
Forumaster

Male Posts : 13246
Reputation : 3000
Language : English & 日本語
Location : Pennsylvania

https://fmdesign.forumotion.com

Back to top Go down

Back to top


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