Latest topics
» Forumactif Edge - Releases
by Ange Tuteur Tue 03 Sep 2019, 11:49
» GIFActif - Giphy Button for the Editor
by Ange Tuteur Wed 08 May 2019, 17:21
» Forum Closure
by Ange Tuteur Mon 01 Jan 2018, 01:28
» Chit Chat Thread
by Valoish Sun 31 Dec 2017, 19:15
» Font/Text background color.
by Valoish Sun 31 Dec 2017, 19:11
» Forumactif Messenger - Instant Message Application for Forumotion
by Wolfuryo Sun 31 Dec 2017, 18:24
» [GAME] Count to One Million!
by brandon_g Fri 29 Dec 2017, 18:58
» Post Cards
by manikbiradar Wed 20 Dec 2017, 07:50
» [GAME] Countdown from 200,000
by Valoish Wed 13 Dec 2017, 23:22
» GeekPolice Tech Support Forums - GeekPolice.net
by Dr Jay Mon 11 Dec 2017, 19:12
» Asking about some plugin for Forumotion
by Dr Jay Mon 11 Dec 2017, 19:10
» [GAME] What are you thinking right now?
by Van-Helsing Sat 09 Dec 2017, 14:51
» Widget : Similar topics
by ranbac Wed 06 Dec 2017, 18:11
» Change the Background of the Forum and put an image and how to make prefixs?
by Clement Wed 06 Dec 2017, 15:19
» Hello from Western Australia
by SarkZKalie Wed 06 Dec 2017, 05:34
by Ange Tuteur Tue 03 Sep 2019, 11:49
» GIFActif - Giphy Button for the Editor
by Ange Tuteur Wed 08 May 2019, 17:21
» Forum Closure
by Ange Tuteur Mon 01 Jan 2018, 01:28
» Chit Chat Thread
by Valoish Sun 31 Dec 2017, 19:15
» Font/Text background color.
by Valoish Sun 31 Dec 2017, 19:11
» Forumactif Messenger - Instant Message Application for Forumotion
by Wolfuryo Sun 31 Dec 2017, 18:24
» [GAME] Count to One Million!
by brandon_g Fri 29 Dec 2017, 18:58
» Post Cards
by manikbiradar Wed 20 Dec 2017, 07:50
» [GAME] Countdown from 200,000
by Valoish Wed 13 Dec 2017, 23:22
» GeekPolice Tech Support Forums - GeekPolice.net
by Dr Jay Mon 11 Dec 2017, 19:12
» Asking about some plugin for Forumotion
by Dr Jay Mon 11 Dec 2017, 19:10
» [GAME] What are you thinking right now?
by Van-Helsing Sat 09 Dec 2017, 14:51
» Widget : Similar topics
by ranbac Wed 06 Dec 2017, 18:11
» Change the Background of the Forum and put an image and how to make prefixs?
by Clement Wed 06 Dec 2017, 15:19
» Hello from Western Australia
by SarkZKalie Wed 06 Dec 2017, 05:34
Recent Tutorials
Top posting users this month
Top Achievers
Who is online?
In total there are 20 users online :: 0 Registered, 0 Hidden and 20 Guests :: 1 Bot
None
Most users ever online was 515 on Tue 14 Sep 2021, 15:24
None
Most users ever online was 515 on Tue 14 Sep 2021, 15:24
[EDGE] Lastpost Icon Colors
Page 1 of 1 • Share
The gray-highlighted area is usually shown as an image (and you can't change the color of images through CSS). But with the following code, it'll be possible.
ACP > Display > Colors > CSS Stylesheet
- Code:
.forum-lastpost span > strong ~ a:after, .newpost-img a:after {
font-family: FontAwesome !important;
content: '\f061';
font-size: 14px;
margin-left: 3px;
vertical-align: top;
color: #333;
}
.forum-lastpost span > strong ~ a:hover:after { color: #69C; }
.forum-lastpost span > strong ~ a[href*="view=newest"]:after, .newpost-img a:after { color: #F30; }
.forum-lastpost span > strong ~ a, .newpost-img a { position: relative; }
.forum-lastpost span > strong ~ a img, .newpost-img a img {
background-image: none;
opacity: 0;
top: 0; left: 0;
height: 100%; width: 100%;
position: absolute;
}
You can change the default color:
- Code:
color: #333;
default hover color:
- Code:
color: #69C;
and unseen post color:
- Code:
color: #F30;
Let me know if you guys like it.
Last edited by Ace 1 on Sun 20 Aug 2017, 13:39; edited 3 times in total
Oh nice modification ! I can't believe I didn't think of doing that when I was working on the theme. Totally makes changing the arrow color a whole lot easier, so nice work !
Yeah I used to use JS for some dumb reason to do this but now I'm like CSS ftw.
Ty for the compliment
Ty for the compliment
- Post Buttons Styling:
- For the "New Topic" and "Post Reply" buttons on Edge. With this you can change the color8 or background color7.
- Code:
.buttons a img { display: none; }
.buttons a[href] {
border: none;
padding: 5px 6px;
margin: 0 0 3px;
background-color: #69C;
color: #FFF;
font-size: 14px;
text-transform: uppercase;
}
.buttons a[href]:before { font: 16px FontAwesome !important; }
.buttons a[href]:after { vertical-align: top; }
.buttons a[href*="mode=newtopic"]:before { content: '\f0a9'; }
.buttons a[href*="&mode=newtopic"]:after { content: ' New Topic'; }
.buttons a[href*="&mode=reply"]:before { content: '\f055'; }
.buttons a[href*="&mode=reply"]:after { content: ' Post Reply'; }
Haha I now what you mean. Back in the day when I didn't know JS, I used to try and solve almost ALL problems with CSS only, learned quite a few tricks doing that. BUT yeah, it's always best to try and achieve something with HTML and/or CSS first before going full JavaScript.Ace 1 wrote:Yeah I used to use JS for some dumb reason to do this but now I'm like CSS ftw.
Ty for the compliment
- Post Buttons Styling:
For the "New Topic" and "Post Reply" buttons on Edge. With this you can change the color8 or background color7.
- Code:
.buttons a img { display: none; }
.buttons a[href] {
border: none;
padding: 5px 6px;
margin: 0 0 3px;
background-color: #69C;
color: #FFF;
font-size: 14px;
text-transform: uppercase;
}
.buttons a[href]:before { font: 16px FontAwesome !important; }
.buttons a[href]:after { vertical-align: top; }
.buttons a[href*="mode=newtopic"]:before { content: '\f0a9'; }
.buttons a[href*="&mode=newtopic"]:after { content: ' New Topic'; }
.buttons a[href*="&mode=reply"]:before { content: '\f055'; }
.buttons a[href*="&mode=reply"]:after { content: ' Post Reply'; }
Nice mod for the post buttons btw
@Ace 1 - What about this other lastpost icon that you can find embedded in forums and Newest Posts page: http://prntscr.com/e2ydyo
Code info: http://prntscr.com/e2yetu
References this line:
Thanks pal!
Code info: http://prntscr.com/e2yetu
References this line:
|
Thanks pal!
@Dr Jay
Idk what those screenshots are for but I updated the code so it includes new post icons and the lastpost icons within forums (it only worked for the homepage, now for all paths).
Idk what those screenshots are for but I updated the code so it includes new post icons and the lastpost icons within forums (it only worked for the homepage, now for all paths).
- Mr_Grande
- Gender :
Age : 26
Posts : 42
Points : 2900
Reputation : 9
Language : English
Browser : Forum Version :
This seems like a great Idea
- Sponsored content
Similar topics
Create an account or log in to leave a reply
You need to be a member in order to leave a reply.
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum