Hello

In first of all, thank you for your theme. I very like it.

I have tried to enable the theme Writer and I've got a trouble with the header. It doesn't looks as on your demo

Desktop:
screen1
Mobile:
screen2

Seems the reason of problem is that structure of the page.html.twig in D8 is not the same as structure of page.tpl.php in D7.
Logo, site name and slogan are provided by "System branding block" in D8, but not directly in the page.tpl.php as in D7.

I think that the best solution is override template block--system-branding-block.html.twig for theme Writer and adapt it's structure to display content as on your demo.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

eugene.ilyin created an issue. See original summary.

eugene.ilyin’s picture

Issue summary: View changes
eugene.ilyin’s picture

Status: Active » Needs review
FileSize
2.32 KB
12.81 KB
3.81 KB

I suggest this patch to correct the problem.

After applying this patch it looks correct.

Desktop:
screen3

Mobile:
screen4

bryanbraun’s picture

Thanks for finding and reporting the issue. Your fix looks promising. Give me a chance to test it out and if all looks well we'll get it updated.

eugene.ilyin’s picture

I've updated the patch to fix other issue with the crossed dates

bug

Also I have a question about this

$submission_info = \Drupal::config($config_file)->get('settings.node.submitted');

Seems there are no property 'settings.node.submitted'. I've found only property "display_submitted".
Why does it need? Right now 'settings.node.submitted' is always empty and it's the reason of issue with big padding in mobile version.

bug

eugene.ilyin’s picture

FileSize
27.77 KB
bryanbraun’s picture

Good question. That's probably left over from porting this theme from Drupal 7. I ported it early and the API was still changing a lot at that point. If you know of a fix, I can roll it into this issue, otherwise we can create a separate issue to track that.

eugene.ilyin’s picture

Okay, I'll investigate D7 version to find the true sence for this property.

bryanbraun’s picture

Status: Needs review » Closed (fixed)

@eugene.ilyin, I tested your fix and it works great.

I didn't realize it was so broken because I wasn't running the latest version of D8 locally. Once I updated to the latest, I saw the things you were seeing, along with several other issues. :/

I've pushed up your patch to 8.x-2.x-dev. I'm going to close this issue as fixed, an open new issues for the other things you mentioned. Thanks again for the help!

bryanbraun’s picture

FYI, I created #2668420: Oversized Padding at Mobile Widths for the padding issue you reported.

bryanbraun’s picture

One last note to @eugene.ilyin, the issue you reported with the extra padding has been fixed in #2668420: Oversized Padding at Mobile Widths and released as part of 8.x-2.2-rc1.

eugene.ilyin’s picture

@bryanbraun Thank you very much.