Invision Community 4: SEO, prepare for v5 and dormant account notifications Matt November 11, 2024Nov 11
Posted May 5, 201510 yr Hello,how to remove the word "Forums" from the top? That is, that once was the category "Welcome to IPS"
May 5, 201510 yr 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')"}
May 5, 201510 yr 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.
May 5, 201510 yr Thank you!And the last question How to remove the distance appeared? , .ipsApp .ipsSpacer_bottom, .ipsApp .ipsSpacer_both { margin-bottom: 0px; } .
May 5, 201510 yr 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
May 5, 201510 yr Add it to custom.css so it's easy to locate and won't be wiped on upgrades. Core > Front > Custom.
May 5, 201510 yr For the record, these changes i have done were not done in the Custom CSS, hasnt been wiped yet for some reason..
May 5, 201510 yr Author .ipsApp .ipsSpacer_bottom, .ipsApp .ipsSpacer_both { margin-bottom: 0px; }Hmm, some reason there is no effect ...
May 5, 201510 yr Author Maybe should delete the block? Or change somehow ... Can you tell me in more detail?
May 5, 201510 yr 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.
May 5, 201510 yr 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!
May 5, 201510 yr 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; }
May 5, 201510 yr 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.
May 6, 201510 yr 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 (
May 6, 201510 yr 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; } .
May 6, 201510 yr 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.
May 6, 201510 yr 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.