The forum of the forums
Welcome to the Official Support Forum of Forumotion!

To take full advantage of everything offered by our forum, please log in if you are already a member, or join our community if you've not yet.



Create a free forum like this one.

Reason for Edit Style Help

View previous topic View next topic Go down

Solved Reason for Edit Style Help

Post by FrOsTyXi on January 17th 2015, 2:35 pm

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?

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!

FrOsTyXi
Forumember

Male Posts : 460
Reputation : 12
Language : english

http://team-psn.forum-board.net/

Back to top Go down

Solved Re: Reason for Edit Style Help

Post by Ange Tuteur on January 17th 2015, 3:42 pm

Hi,

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;}

Ange Tuteur
Forumaster

Male Posts : 13021
Reputation : 2684
Language : EN10, FR5
Location : Pennsylvania

http://fmdesign.forumotion.com

Back to top Go down

Solved Re: Reason for Edit Style Help

Post by FrOsTyXi on January 17th 2015, 7:24 pm

@Ange That worked to make t show but in all my private messages it's there too, weird here is the image

FrOsTyXi
Forumember

Male Posts : 460
Reputation : 12
Language : english

http://team-psn.forum-board.net/

Back to top Go down

Solved Re: Reason for Edit Style Help

Post by Ange Tuteur on January 18th 2015, 4:31 pm

Go to Administration Panel > Display > Templates > General > viewtopic_body Edit

Find :
Code:
                        <p>
                           {postrow.displayed.EDITED_MESSAGE}
                        </p>

Replace by :
Code:
                        <p class="editpost">
                           {postrow.displayed.EDITED_MESSAGE}
                        </p>

Save and publish. Add

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. ^^

Ange Tuteur
Forumaster

Male Posts : 13021
Reputation : 2684
Language : EN10, FR5
Location : Pennsylvania

http://fmdesign.forumotion.com

Back to top Go down

Solved Re: Reason for Edit Style Help

Post by FrOsTyXi on January 18th 2015, 4:44 pm

@Ange 100% perfect! Thank you kindly for the support!

Regards
FrOsTyXi

FrOsTyXi
Forumember

Male Posts : 460
Reputation : 12
Language : english

http://team-psn.forum-board.net/

Back to top Go down

Solved Re: Reason for Edit Style Help

Post by Ange Tuteur on January 18th 2015, 4:44 pm

You're welcome Smile

Topic archived

Ange Tuteur
Forumaster

Male Posts : 13021
Reputation : 2684
Language : EN10, FR5
Location : Pennsylvania

http://fmdesign.forumotion.com

Back to top Go down

View previous topic View next topic Back to top


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