Jump to content

Forums, subforums


Recommended Posts

3 hours ago, kmk said:

There any css way to hide Description and topic or post elements of Forums and Subforums? 🤔 

@Ehren

IMG_20210409_181051.jpg

Hi, just update my idea:

1. For Forums page and Subforums pages, hide last topic or post element. 

2. For Forums and Subforums pages, hide Description area if they haven't contain descriptions. 

Link to comment
Share on other sites

.cForumGrid__last.ipsBorder_top.ipsPadding_vertical\:half.ipsPadding_horizontal {
	display: none;
}

I use above code to hide the last post element, by now I see it work, the last post item is already hide, anyone can correct me if I did something correct?

Link to comment
Share on other sites

html[dir="ltr"] .ipsList_inline > li:last-child, html[dir="ltr"] .ipsList_inline.ipsList_noSpacing > li {
    margin-right: 0;
    display: none;
}
.ipsApp .ipsSpacer_top, .ipsApp .ipsSpacer_both {
    margin-top: var(--sp-5);
    display: none;
}
.ipsType_minorHeading {
    color: rgb( var(--theme-text_light) );
    text-transform: uppercase;
    font-size: 12px;
    margin: 0;
    display: none;
}
html[dir="ltr"] .ipsList_inline > li {
    margin-right: 15px;
    display: none;
}

I use above to hide elements of subforums of the forums index page, it work, subforums information are hidden. But the problem is the topic content disapeared too...

Link to comment
Share on other sites

16 minutes ago, kmk said:

html[dir="ltr"] .ipsList_inline > li:last-child, html[dir="ltr"] .ipsList_inline.ipsList_noSpacing > li {
    margin-right: 0;
    display: none;
}
.ipsApp .ipsSpacer_top, .ipsApp .ipsSpacer_both {
    margin-top: var(--sp-5);
    display: none;
}
.ipsType_minorHeading {
    color: rgb( var(--theme-text_light) );
    text-transform: uppercase;
    font-size: 12px;
    margin: 0;
    display: none;
}
html[dir="ltr"] .ipsList_inline > li {
    margin-right: 15px;
    display: none;
}

I use above to hide elements of subforums of the forums index page, it work, subforums information are hidden. But the problem is the topic content disapeared too...

After so many times, I have this to achieve what I want...please if anyone can correct something...

html[dir="ltr"] .ipsList_inline > li:last-child, html[dir="ltr"] .ipsList_inline.ipsList_noSpacing > li {
    margin-right: 0;
    display: none;
}
.ipsType_minorHeading {
    color: rgb( var(--theme-text_light) );
    text-transform: uppercase;
    font-size: 12px;
    margin: 0;
    display: none;
}
html[dir="ltr"] .ipsList_inline > li {
    margin-right: 15px;
    display: none;
}

 

Link to comment
Share on other sites

1 hour ago, Morrigan said:

I think you're making this far more complicated than it needs to be.


.cForumGrid__description, .cForumGrid__last {
  display: none;
}

 

Thanks, you saved me...

Is possible only hide description area when the grid card without description? or say, if the forum contain description show description, if not hide it.

Link to comment
Share on other sites

2 hours ago, kmk said:

Is possible only hide description area when the grid card without description? or say, if the forum contain description show description, if not hide it.

Technically that area is meant to be hidden if there's no description, but it's not exactly working as intended. I'll look into this for a future update.

You can remove it manually using the following (change the ID to the correct one):

/* Hide description area on grid view for certain forums */
[data-forumid="3"] .cForumGrid__description{
  display: none;
}

 

Link to comment
Share on other sites

1 hour ago, Ehren said:

Technically that area is meant to be hidden if there's no description, but it's not exactly working as intended. I'll look into this for a future update.

You can remove it manually using the following (change the ID to the correct one):


/* Hide description area on grid view for certain forums */
[data-forumid="3"] .cForumGrid__description{
  display: none;
}

 

Thanks so much...

I forget ask for in case of forum with subforums? I want to leave the description, but without subforums enlist.

Link to comment
Share on other sites

3 hours ago, kmk said:

Thanks so much...

I forget ask for in case of forum with subforums? I want to leave the description, but without subforums enlist.

This will remove subforums in grid view:

.cForumGrid .ipsType_minorHeading,
.cForumGrid .ipsType_minorHeading + .ipsList_inline{
	display: none;
}

 

Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...