The forum of the forums
Would you like to react to this message? Create an account in a few clicks or log in to continue.

Threads in category smaller

2 posters

Go down

In progress Threads in category smaller

Post by Swamp Fox March 4th 2015, 11:24 pm

Hello! I was wondering if there was a way to make all the topics in a certain category smaller so that they don't take up so much room.

Thanks
avatar
Swamp Fox
New Member

Posts : 14
Reputation : 1
Language : English

http://swampfox.forumotion.com/

Back to top Go down

In progress Re: Threads in category smaller

Post by Ange Tuteur March 5th 2015, 9:51 am

Hello @Swamp Fox,

It can be possible by using CSS or JavaScript depending on what you want to do. Could you provide the following information ?

  • The URL of your forum
  • Do you want this applied to a specific forum, or all forums ? If a specific forum could you provide the URLs of these forums ?


Thanks Smile
Ange Tuteur
Ange Tuteur
Forumaster

Male Posts : 13207
Reputation : 3000
Language : English & 日本語
Location : Pennsylvania

https://fmdesign.forumotion.com

Back to top Go down

In progress Re: Threads in category smaller

Post by Swamp Fox March 5th 2015, 1:35 pm

Hello thank you for the response. 

http://usnp.nstars.org
that is the link for the forum.

I only want the topics on the National Parks category to be smaller , the one with them all listed out.
avatar
Swamp Fox
New Member

Posts : 14
Reputation : 1
Language : English

http://swampfox.forumotion.com/

Back to top Go down

In progress Re: Threads in category smaller

Post by Ange Tuteur March 6th 2015, 12:32 am

Okay let's clarify before I do anything. When you say "topics" do you mean the topics-topics :
Threads in category smaller Captu134

or the forum list of this category :
Threads in category smaller Screen14
Ange Tuteur
Ange Tuteur
Forumaster

Male Posts : 13207
Reputation : 3000
Language : English & 日本語
Location : Pennsylvania

https://fmdesign.forumotion.com

Back to top Go down

In progress Re: Threads in category smaller

Post by Swamp Fox March 6th 2015, 12:53 am

I mean the forum list sorry.
avatar
Swamp Fox
New Member

Posts : 14
Reputation : 1
Language : English

http://swampfox.forumotion.com/

Back to top Go down

In progress Re: Threads in category smaller

Post by Ange Tuteur March 6th 2015, 1:34 am

If you're looking to reduce scrolling you can also hide the forum moderators.
( Administration Panel > Display > Structure and Hierarchy > Display forum moderators : no )

For the forum go to Administration Panel > Modules > JavaScript codes management > Make sure JS code management is enabled then create a new script

Placement : In the homepage
Paste the following code and submit :
Code:
$(function(){
  $('.main-head', document.getElementById('main-content')).filter(function(){ return $(this).text().trim() === 'National Parks' }).next()[0].className += ' overflowable';
});

Then go to Display > Colors > CSS stylesheet and add the following rules to your sheet :
Code:
.main-content.overflowable {
  height:250px;
  overflow-y:auto;
}

.main-content.overflowable span.status {
  position:static !important;
  margin-right:10px !important;
}
Ange Tuteur
Ange Tuteur
Forumaster

Male Posts : 13207
Reputation : 3000
Language : English & 日本語
Location : Pennsylvania

https://fmdesign.forumotion.com

Back to top Go down

In progress Re: Threads in category smaller

Post by Swamp Fox March 6th 2015, 2:11 pm

Thanks so much!
avatar
Swamp Fox
New Member

Posts : 14
Reputation : 1
Language : English

http://swampfox.forumotion.com/

Back to top Go down

Back to top

- Similar topics

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