Latest topics
» FM Themes
by SLGray Today at 3:48 pm

» User - Made Creations
by SLGray Today at 3:48 pm

» The Football Forums
by Mati Today at 2:22 pm

» [BUG] Avatar doesn't resize when reading the profile
by Samantha NL Today at 11:33 am

» Search Bar Options
by Samantha NL Today at 10:38 am

» Chit Chat Thread
by Jazeon Today at 4:42 am

» Christmas logo
by Teo! Today at 2:56 am

» SyncEditor
by keko_ferkeko Yesterday at 11:31 pm

» Private message bg color
by Mr.Alam Yesterday at 9:54 pm

» Multi-step Login Form
by Samantha NL Yesterday at 11:54 am

» Member of the Month
by Samantha NL Yesterday at 11:38 am

» Forumactif Edge - Dutch Translation
by Samantha NL Yesterday at 9:49 am

» Widget : Staff Online
by Samantha NL Yesterday at 9:39 am

» Questions about styling the Main Search Box
by Samantha NL Yesterday at 9:24 am

» Found a typo in your default Edge CSS
by Samantha NL Yesterday at 2:07 am

Recent Tutorials
Who is online?
In total there are 6 users online :: 1 Registered, 0 Hidden and 5 Guests :: 1 Bot

SLGray

[ View the whole list ]


Most users ever online was 172 on Fri Feb 19, 2016 4:17 am

Remove "Posts"/"Topics" Text on Index

View previous topic View next topic Go down

Forumedic

Title :
Gender : Unspecified
Posts : 130
Points : 391
Reputation : 14
Language : English
Browser : Browser : Mozilla Firefox Forum Version : Forum Version : phpBB3
Awards :
View all awards
View user profile http://www.forumpromocean.com

PostForumedic on Mon Aug 01, 2016 1:39 pm

How can I remove the topics and posts text on index? I plan on putting a FontAwesome icon in front of each text instead of having the text. And how can I put the FontAwesome in front, would it be the same way as using content before?
Forumedic

Title :
Gender : Unspecified
Posts : 130
Points : 391
Reputation : 14
Language : English
Browser : Browser : Mozilla Firefox Forum Version : Forum Version : phpBB3
Awards :
View all awards
View user profile http://www.forumpromocean.com

PostForumedic on Mon Aug 01, 2016 1:55 pm

I plan on having this

*Number of Posts*
*Number of Topics*
*Number of views*

So I assume there will be template editing?
Ange Tuteur
Administrator
Title :
Coffee Addict
Gender : Male
Age : 21
Posts : 4091
Points : 8396
Reputation : 2010
Location : Macungie, PA
Language : EN10, FR5
Browser : Browser : Google Chrome Forum Version : Forum Version : Forumactif Edge
Awards :
View all awards
View user profile https://github.com/SethClydesdale https://twitter.com/sethc1995

PostAnge Tuteur on Mon Aug 01, 2016 2:02 pm

Hi @Forumedic,

No template editing required, you need only CSS. Wink

Use the following rules below :
Code:
.forum-stats small { display:none; }
.forum-stats .number:before { font-family:FontAwesome; }


.posts .number:before { content:"\f069"; }
.topics .number:before { content:"\f069"; }
.views .number:before { content:"\f069"; }

Replace the content with whatever you want. Smile
Forumedic

Title :
Gender : Unspecified
Posts : 130
Points : 391
Reputation : 14
Language : English
Browser : Browser : Mozilla Firefox Forum Version : Forum Version : phpBB3
Awards :
View all awards
View user profile http://www.forumpromocean.com

PostForumedic on Mon Aug 01, 2016 2:04 pm

Oh see I found that but I didn't know the variables to affect each topics, posts and views. I thought I had it when i found it but then I realized if I added FA in ftont of small and number all would have the same FA. Thanks Ange, I
Forumedic

Title :
Gender : Unspecified
Posts : 130
Points : 391
Reputation : 14
Language : English
Browser : Browser : Mozilla Firefox Forum Version : Forum Version : phpBB3
Awards :
View all awards
View user profile http://www.forumpromocean.com

PostForumedic on Mon Aug 01, 2016 2:12 pm

Ange Tuteur
Administrator
Title :
Coffee Addict
Gender : Male
Age : 21
Posts : 4091
Points : 8396
Reputation : 2010
Location : Macungie, PA
Language : EN10, FR5
Browser : Browser : Google Chrome Forum Version : Forum Version : Forumactif Edge
Awards :
View all awards
View user profile https://github.com/SethClydesdale https://twitter.com/sethc1995

PostAnge Tuteur on Mon Aug 01, 2016 2:13 pm

You have to replace \f069 with the icons you want.
Forumedic

Title :
Gender : Unspecified
Posts : 130
Points : 391
Reputation : 14
Language : English
Browser : Browser : Mozilla Firefox Forum Version : Forum Version : phpBB3
Awards :
View all awards
View user profile http://www.forumpromocean.com

PostForumedic on Mon Aug 01, 2016 2:20 pm

Oh oops lol. Thanks

Also, I need help with border-radius. How can I make the top and bottom completely flat but the left and right curved?

Ange Tuteur
Administrator
Title :
Coffee Addict
Gender : Male
Age : 21
Posts : 4091
Points : 8396
Reputation : 2010
Location : Macungie, PA
Language : EN10, FR5
Browser : Browser : Google Chrome Forum Version : Forum Version : Forumactif Edge
Awards :
View all awards
View user profile https://github.com/SethClydesdale https://twitter.com/sethc1995

PostAnge Tuteur on Mon Aug 01, 2016 2:31 pm

Try using this generator to make the border radius that you're looking for :
https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Background_and_Borders/Border-radius_generator

Very useful tool. Cool
Forumedic

Title :
Gender : Unspecified
Posts : 130
Points : 391
Reputation : 14
Language : English
Browser : Browser : Mozilla Firefox Forum Version : Forum Version : phpBB3
Awards :
View all awards
View user profile http://www.forumpromocean.com

PostForumedic on Mon Aug 01, 2016 2:47 pm

Solved, thanks!
Ange Tuteur
Administrator
Title :
Coffee Addict
Gender : Male
Age : 21
Posts : 4091
Points : 8396
Reputation : 2010
Location : Macungie, PA
Language : EN10, FR5
Browser : Browser : Google Chrome Forum Version : Forum Version : Forumactif Edge
Awards :
View all awards
View user profile https://github.com/SethClydesdale https://twitter.com/sethc1995

PostAnge Tuteur on Mon Aug 01, 2016 2:51 pm

No problem. Wink

View previous topic View next topic Back to top

Create an account or log in to leave a reply

You need to be a member in order to leave a reply.

Create an account

Join our community by creating a new account. It's easy!


Create a new account

Log in

Already have an account? No problem, log in here.


Log in

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