kysil Posted May 5, 2015 Share Posted May 5, 2015 Hello,how to remove the word "Forums" from the top? That is, that once was the category "Welcome to IPS" Link to comment Share on other sites More sharing options...
kysil Posted May 5, 2015 Author Share Posted May 5, 2015 On my site, of course Link to comment Share on other sites More sharing options...
-FP Posted May 5, 2015 Share Posted May 5, 2015 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')"} Link to comment Share on other sites More sharing options...
kysil Posted May 5, 2015 Author Share Posted May 5, 2015 Thank you!And the last question How to remove the distance appeared? Link to comment Share on other sites More sharing options...
-FP Posted May 5, 2015 Share Posted May 5, 2015 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. Link to comment Share on other sites More sharing options...
不中用 Posted May 5, 2015 Share Posted May 5, 2015 Thank you!And the last question How to remove the distance appeared? , .ipsApp .ipsSpacer_bottom, .ipsApp .ipsSpacer_both { margin-bottom: 0px; } . Link to comment Share on other sites More sharing options...
kysil Posted May 5, 2015 Author Share Posted May 5, 2015 .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 Link to comment Share on other sites More sharing options...
-FP Posted May 5, 2015 Share Posted May 5, 2015 Add it to custom.css so it's easy to locate and won't be wiped on upgrades. Core > Front > Custom. Link to comment Share on other sites More sharing options...
Christopher Bergsten Posted May 5, 2015 Share Posted May 5, 2015 For the record, these changes i have done were not done in the Custom CSS, hasnt been wiped yet for some reason.. Link to comment Share on other sites More sharing options...
kysil Posted May 5, 2015 Author Share Posted May 5, 2015 .ipsApp .ipsSpacer_bottom, .ipsApp .ipsSpacer_both { margin-bottom: 0px; }Hmm, some reason there is no effect ... Link to comment Share on other sites More sharing options...
kysil Posted May 5, 2015 Author Share Posted May 5, 2015 Maybe should delete the block? Or change somehow ... Can you tell me in more detail? Link to comment Share on other sites More sharing options...
-FP Posted May 5, 2015 Share Posted May 5, 2015 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. Link to comment Share on other sites More sharing options...
kysil Posted May 5, 2015 Author Share Posted May 5, 2015 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! Link to comment Share on other sites More sharing options...
Meddysong Posted May 5, 2015 Share Posted May 5, 2015 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; } Link to comment Share on other sites More sharing options...
Dermot Posted May 5, 2015 Share Posted May 5, 2015 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. Link to comment Share on other sites More sharing options...
kysil Posted May 6, 2015 Author Share Posted May 6, 2015 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 ( Link to comment Share on other sites More sharing options...
不中用 Posted May 6, 2015 Share Posted May 6, 2015 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; } . Link to comment Share on other sites More sharing options...
kysil Posted May 6, 2015 Author Share Posted May 6, 2015 Thank you! And for each separately? Link to comment Share on other sites More sharing options...
Meddysong Posted May 6, 2015 Share Posted May 6, 2015 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. Link to comment Share on other sites More sharing options...
kysil Posted May 6, 2015 Author Share Posted May 6, 2015 Tell me, please, for SEO - it does not affect? Link to comment Share on other sites More sharing options...
Meddysong Posted May 6, 2015 Share Posted May 6, 2015 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. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.