There is a 15px margin at the top of the first element in the component area. If there are left sidebar modules (whether there are right sidebars or not), then it is added to the top of the sidebar-left-container using the class .sidebar-left-container
:
If there is no sidebar-left module, but a sidebar-right module, the margin is added to the top of component area with the class container-component
:
It would be tidy
Inspecting the code in Firefox shows that this code is the culprit:
.site-grid .container-header + div:not(.container-banner) { margin-top: 15px; }
Changing the margin to 0 does the trick:
I think this code is in (templates/cassiopeia/scss/blocks/_css-grid.scss) lines 64 to 71:
(sorry - that is an image. I don't know how to 'quote' from a file other than using the code tags in the editor.)
If that is the correct code, would it affect anything else if it was removed?
Labels |
Added:
?
|
Labels |
Added:
J4 Issue
|
Status | New | ⇒ | Discussion |
Maybe J4 comes with 2 Frontend-Templates?
Oh please no. Has nobody learned over the last 10 years why shipping two templates for either application is a bad idea?
@Scrabble96 Here is an explanation how to insert a link to code: https://github.blog/2017-08-15-introducing-embedded-code-snippets/
Status | Discussion | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2019-09-08 08:59:38 |
Closed_By | ⇒ | franz-wohlkoenig |
@Scrabble96 Here is an explanation how to insert a link to code: https://github.blog/2017-08-15-introducing-embedded-code-snippets/
Many thanks, @astridx
@Scrabble96 I had the same problem using the "code" button in git. The solution is to use ``` preceding your code. If you follow that by the language used ( php css, etc ) its supposed to style it for you also.
Then paste in your text.
At https://community.joomla.org/gsoc-2019/gsoc-project-page-builder-third-coding-phase.html i read about:
Maybe J4 comes with 2 Frontend-Templates?