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.

Adding text via CSS.

View previous topic View next topic Go down

Adding text via CSS.

Post by Games4theworld on June 3rd 2015, 8:25 pm

Hello everyone,

I was recently looking at this topic: http://help.forumotion.com/t136448-phpbb-aggregate-double-posts#920533
This is a great feature!

Regarding the separator; is there a way to add text too? For example something like "----EDIT----" after each merged double-post.

Thank you for your help in advance!

Kind regards,

G4TW

Games4theworld
Forumember

Posts : 53
Reputation : 0
Language : English

http://www.games4theworld.bestgoo.com

Back to top Go down

Re: Adding text via CSS.

Post by Mike on June 4th 2015, 7:47 am

Not possible with CSS. This is possible with Javascript and HTML, though.

Mike
Hyperactive

Male Posts : 4242
Reputation : 466
Language : English, HTML, CSS
Location : Bozeman, Montana

Back to top Go down

Re: Adding text via CSS.

Post by Games4theworld on June 4th 2015, 10:55 am

@Mike wrote:Not possible with CSS. This is possible with Javascript and HTML, though.
Thanks, Mike!
Do you happen to know what piece of code I could use for that? (To make it show up between to merged posts)

Games4theworld
Forumember

Posts : 53
Reputation : 0
Language : English

http://www.games4theworld.bestgoo.com

Back to top Go down

Re: Adding text via CSS.

Post by Mike on June 6th 2015, 9:36 pm

The way the javascript is written is only for it to recall something in your CSS and then add a border to the new attribute. You could add text as an image, by modifying the CSS code to:

Code:
.doublepost { background: url('YOURIMG') no-repeat; }

And then your image could be just text.

Mike
Hyperactive

Male Posts : 4242
Reputation : 466
Language : English, HTML, CSS
Location : Bozeman, Montana

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