This topic contains a post which is marked as Best Answer. Press here if you would like to see it.
*

mwindey

  • *****
  • 465 posts
Remove space in between header and plugin (custom page)
« on: February 03, 2022, 09:18:19 AM »
In some pages there is a space in between the header and the pages. I know that when you create a custom page it is like that but it doesn't look nice and a little bit messy....
Is there a way to make it fit the rest off the pages and remove the space and text in between?
Thanks

*

MB Themes

Re: Remove space in between header and plugin (custom page)
« Reply #1 on: February 03, 2022, 09:32:40 AM »
@mwindey
It can be usually adjusted via margin.
Each page should also have unique ID or class on body.
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

mwindey

  • *****
  • 465 posts
Re: Remove space in between header and plugin (custom page)
« Reply #2 on: February 03, 2022, 10:37:07 AM »
@MB Themes,

With element inspector it shows that the space is <div class="breadcrumb"> Since hiding breadcrumbs in admin is there, isn't it possible to hide it there (maybe?) I tried but i do not understand the correct setting for that.
It says: Enter custom pages where to hide breadcrumbs, i.e. for plugin pages, in format: location-section. Delimit with comma (,). Example: osp-cart, osp-promote, blg-home
In my case this would be oc-content,plugins,user_rating,index  ???

Marked as best answer by mwindey on February 03, 2022, 11:10:08 AM
*

MB Themes

Re: Remove space in between header and plugin (custom page)
« Reply #3 on: February 03, 2022, 10:53:26 AM »
@mwindey
body#body-custom should do the job to identify
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

mwindey

  • *****
  • 465 posts
Re: Remove space in between header and plugin (custom page)
« Reply #4 on: February 03, 2022, 11:04:32 AM »
@MB Themes,
Thanks but it did not work... I found the solution with google and was able to solve in the meantime  :)
Solution was simple....
In style from theme:
Code: [Select]
body#body-user-custom .breadcrumb {display: none;}
Thanks for your help! :-*

EDIT:
Your solution also works! It was because of my skills it didn't work LOL  :D :D
Again thank you for helping!
« Last Edit: February 03, 2022, 01:22:22 PM by mwindey »