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 Wed 4 Mar 2015 - 23:24

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 Thu 5 Mar 2015 - 9:51

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 : 13246
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 Thu 5 Mar 2015 - 13:35

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 Fri 6 Mar 2015 - 0:32

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 : 13246
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 Fri 6 Mar 2015 - 0:53

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 Fri 6 Mar 2015 - 1:34

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 : 13246
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 Fri 6 Mar 2015 - 14:11

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


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