Recent Tutorials
Who is online?
In total there are 7 users online :: 2 Registered, 0 Hidden and 5 Guests

djblah, SLGray

[ View the whole list ]


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

Div for the sub-forum

View previous topic View next topic Go down

avatar
DDril

Title :
Gender : Unspecified
Posts : 30
Points : 1259
Reputation : 16
Language : French & English
Browser : Browser : Google Chrome Forum Version : Forum Version : Forumactif Edge
Awards :
View all awards
View user profile

PostDDril on Thu 24 Nov 2016, 13:33

Hello,

Would it be possible to put the sub-forums in DIV separate from the description? This would facilitate for placement of items with CSS.

Thanks in advance.
avatar
Ange Tuteur
Administrator
Title :
Coffee Addict
Gender : Male
Age : 21
Posts : 4675
Points : 9689
Reputation : 2331
Location : Macungie, PA
Language : EN10, FR5
Browser : Browser : Brave 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 28 Nov 2016, 12:52

@DDril yes it's possible ! Go to AP > Display > Templates > General > index_box

Replace : ( line 42 )
Code:
<strong>{forumrow.L_SUBFORUM_STR}</strong> {forumrow.SUBFORUMS}

By :
Code:
<div class="sub-forum"><strong>{forumrow.L_SUBFORUM_STR}</strong> {forumrow.SUBFORUMS}</div>

Then save and publish. Wink

I might add this in an update since it makes editing with CSS easier like you mentioned. Smile
avatar
DDril

Title :
Gender : Unspecified
Posts : 30
Points : 1259
Reputation : 16
Language : French & English
Browser : Browser : Google Chrome Forum Version : Forum Version : Forumactif Edge
Awards :
View all awards
View user profile

PostDDril on Mon 28 Nov 2016, 12:53

Thanks Ange Tuteur !
avatar
Ange Tuteur
Administrator
Title :
Coffee Addict
Gender : Male
Age : 21
Posts : 4675
Points : 9689
Reputation : 2331
Location : Macungie, PA
Language : EN10, FR5
Browser : Browser : Brave 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 28 Nov 2016, 13:06

Anytime Cool

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