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.

Threads in category smaller

View previous topic View next topic Go down

In progress Threads in category smaller

Post by Swamp Fox on 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

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 on 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
Forumaster

Male Posts : 13021
Reputation : 2681
Language : EN10, FR5
Location : Pennsylvania

http://fmdesign.forumotion.com

Back to top Go down

In progress Re: Threads in category smaller

Post by Swamp Fox on 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.

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 on March 6th 2015, 12:32 am

Okay let's clarify before I do anything. When you say "topics" do you mean the topics-topics :


or the forum list of this category :

Ange Tuteur
Forumaster

Male Posts : 13021
Reputation : 2681
Language : EN10, FR5
Location : Pennsylvania

http://fmdesign.forumotion.com

Back to top Go down

In progress Re: Threads in category smaller

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

I mean the forum list sorry.

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 on 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
Forumaster

Male Posts : 13021
Reputation : 2681
Language : EN10, FR5
Location : Pennsylvania

http://fmdesign.forumotion.com

Back to top Go down

In progress Re: Threads in category smaller

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

Thanks so much!

Swamp Fox
New Member

Posts : 14
Reputation : 1
Language : English

http://swampfox.forumotion.com/

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