Jump to content

How to remove the name of the forum section?

Featured Replies

Posted

Hello,
how to remove the word "Forums" from the top?

forumsworld.thumb.png.4af15ac2dbd8d3529a

That is, that once was the category "Welcome to IPS"

  • Author

On my site, of course :)

Edit your theme -> Templates -> forums -> index -> index.

Remove or comment this line:

{template="pageHeader" group="global" app="core" params="\IPS\Member::loggedIn()->language()->addToStack('forums')"}
  • Author

Thank you!
And the last question :)
How to remove the distance appeared?

distance.thumb.png.96d0867e98d51b27d4991

Hmm I'm not sure, mine doesn't have that gap. Find the css classes on the top of the board to see if there's some padding or margin, or link your site so I can take a look.

Thank you!
And the last question :)
How to remove the distance appeared?

distance.thumb.png.96d0867e98d51b27d4991

​,

 

.ipsApp .ipsSpacer_bottom, .ipsApp .ipsSpacer_both {
    margin-bottom: 0px;
}

 

 

.

  • Author

 

.ipsApp .ipsSpacer_bottom, .ipsApp .ipsSpacer_both {
    margin-bottom: 0px;
}

​This code should be added or insert or change?

I understand that here? :

CSS > Forums > Front > forums.css

Add it to custom.css so it's easy to locate and won't be wiped on upgrades. Core > Front > Custom.

For the record, these changes i have done were not done in the Custom CSS, hasnt been wiped yet for some reason.. :) 

  • Author
.ipsApp .ipsSpacer_bottom, .ipsApp .ipsSpacer_both {
    margin-bottom: 0px;
}

​Hmm, some reason there is no effect ...

  • Author

Maybe should delete the block?

div2.thumb.png.ac93e81e7f8871793a9547e5c
Or change somehow ... :)
Can you tell me in more detail?

That's weird, I don't have that div, I can add widgets to the top of the board though, try adding a widget there, save, then remove it and save again.

  • Author

Oh! Thank you all very much!
There was a block of "announcements", but it was empty. Now it appears!
Once again, thanks for your help! :thumbsup:

If you add this to your custom.css, @kysil, then you don't have to worry about hacking your templates:

body[data-pageapp=forums][data-pagelocation=front][data-pagemodule=forums][data-pagecontroller=index] .ipsPageHeader 
{
    display:none;
}

 

If you add this to your custom.css, @kysil, then you don't have to worry about hacking your templates:

body[data-pageapp=forums][data-pagelocation=front][data-pagemodule=forums][data-pagecontroller=index] .ipsPageHeader 
{
    display:none;
}

 

​thank you for this.

  • Author

 

If you add this to your custom.css, @kysil, then you don't have to worry about hacking your templates:

body[data-pageapp=forums][data-pagelocation=front][data-pagemodule=forums][data-pagecontroller=index] .ipsPageHeader 
{
    display:none;
}

 

​Please, how to change this for all Applications, or for someone?

body[data-pageapp=pages][data-pagelocation=front][data-pagemodule=pages][data-pagecontroller=index] .ipsPageHeader 
{
    display:none;
}


body[data-pageapp=forums][data-pagelocation=front][data-pagemodule=forums][data-pagecontroller=index] .ipsPageHeader 
{
    display:none;
}


body[data-pageapp=blogs][data-pagelocation=front][data-pagemodule=blogs][data-pagecontroller=index] .ipsPageHeader 
{
    display:none;
}


body[data-pageapp=gallery][data-pagelocation=front][data-pagemodule=gallery][data-pagecontroller=index] .ipsPageHeader 
{
    display:none;
}


body[data-pageapp=downloads][data-pagelocation=front][data-pagemodule=downloads][data-pagecontroller=index] .ipsPageHeader 
{
    display:none;
}


body[data-pageapp=calendar][data-pagelocation=front][data-pagemodule=calendar][data-pagecontroller=index] .ipsPageHeader 
{
    display:none;
}


body[data-pageapp=chat][data-pagelocation=front][data-pagemodule=chat][data-pagecontroller=index] .ipsPageHeader 
{
    display:none;
}


body[data-pageapp=support][data-pagelocation=front][data-pagemodule=support][data-pagecontroller=index] .ipsPageHeader 
{
    display:none;
}


body[data-pageapp=commerce][data-pagelocation=front][data-pagemodule=commerce][data-pagecontroller=index] .ipsPageHeader 
{
    display:none;
}

Not working (

 

​Please, how to change this for all Applications, or for someone?

body[data-pageapp=pages][data-pagelocation=front][data-pagemodule=pages][data-pagecontroller=index] .ipsPageHeader 
{
    display:none;
}


body[data-pageapp=forums][data-pagelocation=front][data-pagemodule=forums][data-pagecontroller=index] .ipsPageHeader 
{
    display:none;
}


body[data-pageapp=blogs][data-pagelocation=front][data-pagemodule=blogs][data-pagecontroller=index] .ipsPageHeader 
{
    display:none;
}


body[data-pageapp=gallery][data-pagelocation=front][data-pagemodule=gallery][data-pagecontroller=index] .ipsPageHeader 
{
    display:none;
}


body[data-pageapp=downloads][data-pagelocation=front][data-pagemodule=downloads][data-pagecontroller=index] .ipsPageHeader 
{
    display:none;
}


body[data-pageapp=calendar][data-pagelocation=front][data-pagemodule=calendar][data-pagecontroller=index] .ipsPageHeader 
{
    display:none;
}


body[data-pageapp=chat][data-pagelocation=front][data-pagemodule=chat][data-pagecontroller=index] .ipsPageHeader 
{
    display:none;
}


body[data-pageapp=support][data-pagelocation=front][data-pagemodule=support][data-pagecontroller=index] .ipsPageHeader 
{
    display:none;
}


body[data-pageapp=commerce][data-pagelocation=front][data-pagemodule=commerce][data-pagecontroller=index] .ipsPageHeader 
{
    display:none;
}

Not working (

​.

For all of them ?

Just 1 tiny thingy ..

 

.ipsPageHeader h1 {
    display: none;
}

 

 

.

  • Author

Thank you! And for each separately?

 

​Please, how to change this for all Applications, or for someone? <snip>

Not working (

​It's slightly different depending on which app you use. An easy way is to look at the source. For Blogs, for example, you see this:

<body class='ipsApp ipsApp_front ipsJS_none ipsClearfix' data-controller='core.front.core.app,core.front.widgets.manager' data-message="" data-pageApp='blog' data-pageLocation='front' data-pageModule='blogs' data-pageController='browse' itemscope itemtype="http://schema.org/WebSite">

In the forums app data-pageController was 'index', which is why just swapping the data-pageApp to 'blog' didn't work.

So to target the Blogs page you'd need:

body[data-pageapp=blog][data-pagelocation=front][data-pagemodule=blogs][data-pagecontroller=browse] .ipsPageHeader 
{
    display:none;
}

You'd need to take a similar approach with the other apps when trying to target them too.

  • Author

Tell me, please, for SEO - it does not affect?

I don't know the answer scientifically, but why should there be an effect? The Googlebot is still downloading a page which contains the same text. It's just that it doesn't display on the screen because of a class applied to a div.

Archived

This topic is now archived and is closed to further replies.

Recently Browsing 0

  • No registered users viewing this page.