Reason for Edit Style Help
2 posters
Page 1 of 1
Reason for Edit Style Help
Hello, I was trying to style my reason for edit in topics using this code but seems to have no effect, maybe it;s not correct?
Here is an image of what it should look like.
punbb
Forum Link: http://www.team-psn.net/
Thank in advance!
- Code:
.posthead [id] + .postmain entry-content div p:not (:empty) {
background: #ffebc8 url (http://imgur.com/PIQA4LA.png) no-repeat 6px 10px;
border: 1px solid #ecc272;
color: #ac6328;
font-family: "Trebuchet MS",tahoma,Helvetica,Arial,sans-serif;
font-size: 11px;
font-style: Normal;
font-variant: Normal;
font-weight: 700;
line-height: 18px;
margin-top: 15px;
padding: 8px 8px 8px 28px;
text-shadow: 0 1px 0 #fffaf1;
}
.entry-content p :not (:empty) br {display: none;}
Here is an image of what it should look like.
punbb
Forum Link: http://www.team-psn.net/
Thank in advance!
Re: Reason for Edit Style Help
Hi,
Try changing the code to this :
Try changing the code to this :
- Code:
.postmain .entry-content p:not(:empty) {
background:#ffebc8 url(http://imgur.com/PIQA4LA.png) no-repeat 6px 10px;
border: 1px solid #ecc272;
color: #ac6328;
font-family: "Trebuchet MS",tahoma,Helvetica,Arial,sans-serif;
font-size: 11px;
font-style: Normal;
font-variant: Normal;
font-weight: 700;
line-height: 18px;
margin-top: 15px;
padding: 8px 8px 8px 28px;
text-shadow: 0 1px 0 #fffaf1;
}
.entry-content p:not(:empty) br {display: none;}
Re: Reason for Edit Style Help
@Ange That worked to make t show but in all my private messages it's there too, weird here is the image
Re: Reason for Edit Style Help
Go to Administration Panel > Display > Templates > General > viewtopic_body
Find :
Replace by :
Save and publish.
Then change your CSS to this :
Then you should be good. ^^
Find :
- Code:
<p>
{postrow.displayed.EDITED_MESSAGE}
</p>
Replace by :
- Code:
<p class="editpost">
{postrow.displayed.EDITED_MESSAGE}
</p>
Save and publish.
Then change your CSS to this :
- Code:
p.editpost:not(:empty) {
background:#ffebc8 url(http://imgur.com/PIQA4LA.png) no-repeat 6px 10px;
border: 1px solid #ecc272;
color: #ac6328;
font-family: "Trebuchet MS",tahoma,Helvetica,Arial,sans-serif;
font-size: 11px;
font-style: Normal;
font-variant: Normal;
font-weight: 700;
line-height: 18px;
margin-top: 15px;
padding: 8px 8px 8px 28px;
text-shadow: 0 1px 0 #fffaf1;
}
p.editpost:not(:empty) br {display: none;}
Then you should be good. ^^
Similar topics
» Remove Reason For Edit
» Mandatory edit register/reason
» Banned inactive user and entered reason; reason doesn't appear under Ban Control
» Further edit problems re members cannot edit their messages
» 2 Free Style Avatars and a free style signature!
» Mandatory edit register/reason
» Banned inactive user and entered reason; reason doesn't appear under Ban Control
» Further edit problems re members cannot edit their messages
» 2 Free Style Avatars and a free style signature!
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum