Viewing 14 replies - 1 through 14 (of 14 total)
  • Thread Starter Deon

    (@deon-b)

    While I wait for your reply, I am playing with this.

    I took as assumption that for your theme you cannot just pick any page and set it as homepage (like for every other theme) and I hope to be wrong, so I went ahead and edited the front-page by “edit site”. I was able to remove the sidebar, but the front page now looks like with no margins and the text goes from one end of the screen to the other.

    Want to create a simple 1 page content 750px wide, with only images being full width.

    It seems I have created that as a “page” but it’s not working on the “front page”

    I did play with advanced settings and added margins, but I only want to add horizontal margins, instead now it adds also vertical margins and the blocks look too far apart.

    I will keep updating this while I wait for your insight ??

    • This reply was modified 1 year, 8 months ago by Deon.
    Thread Starter Deon

    (@deon-b)

    Interesting update, now padding has also disappeared from the “No title” page template, but only on mobile ??

    Could you please tell me how to re-instate that? I have 100 blocks there, doing it one by one is gonna be annoying.

    Thread Starter Deon

    (@deon-b)

    Hello Anders,

    I am kindly waiting for a reply to my topic above, still haven’t solved it!

    I have also a new problem, the theme doesn’t support emojis? when I add emojis and save the page I get an error.

    Theme Author Anders Norén

    (@anlino)

    Hi @deon-b,

    Since Bj?rk includes the Front Page template, you can’t set any sub page as the front page – the contents of the Front Page template in Appearance → Editor will always override that content.

    You can remove the sidebar on the Front Page template and any other template in Bj?rk, but you’ll need to update the structure to get the right horizontal margins. It is a bit finicky to do, since the default structure in the theme is built with the sidebar in mind.

    Bj?rk doesn’t modify the emoji enqueues in any way, so emojis should work the same as in any other WordPress theme. There could be a conflict with plugins or caching solutions on your site, though.

    — Anders

    Thread Starter Deon

    (@deon-b)

    Hi @anlino

    Thanks for your reply!

    You can remove the sidebar on the Front Page template and any other template in Bj?rk, but you’ll need to update the structure to get the right horizontal margins. It is a bit finicky to do, since the default structure in the theme is built with the sidebar in mind.

    Could you give me the code to do this?

    I have already finished preparing the custom page and I thought you would reply and tell me how to make it a home page, but that didn’t happen.

    Or could you please tell me some workaround?

    Maybe I can just go in PHP, find the “no title” template and copy paste it in the “front page” template? Would that work?

    Or can you give me some other workaround for this?

    I am basically creating a 1 page website, which is only a sales page, with no sidebars, no menus, and nothing else. But I love the fonts, spacing and colors of your theme, so I would like to use it as a base.

    Theme Author Anders Norén

    (@anlino)

    Hi @deon-b,

    You’d do this inside of the Site Editor, so no code required. Since you don’t want to keep anything of the default content on the Front Page template, the easiest way would be to open the List View (list icon in the top left), select everything in it, and delete it. After that, you add whatever content you want there.

    If you already have added that content to a regular sub page, you can open that page in Pages → All Pages, copy all of the content in the editor (select everything in the top level, click the three dots, and click “Copy blocks”), open the Front Page template, and paste it in the editor.

    — Anders

    Thread Starter Deon

    (@deon-b)

    @anlino when I tried that the text had no side margins. How can I fix that on a page scale, so that I don’t have to go block by block?

    Theme Author Anders Norén

    (@anlino)

    @deon-b You need to wrap your content in a group block. That will give the content inside the group horizontal margins.

    Thread Starter Deon

    (@deon-b)

    @anlino

    Thank you for sticking to this thread, I managed to get the content on the front page but I still don’t see a way to only change side margins:

    Website topic is NSFW

    https://www.loom.com/share/94b36f3f01054da6a5f9ec66b0160842

    Theme Author Anders Norén

    (@anlino)

    @deon-b No worries. As I wrote in the previous post, you need to wrap the content in a group block. You can find a tutorial about the group block here: https://www.elegantthemes.com/blog/wordpress/group-block

    Thread Starter Deon

    (@deon-b)

    Thank you @anlino, I made it work.

    Thread Starter Deon

    (@deon-b)

    @anlino

    I love your theme, but it’s very glitchy. Now I just discovered that you have different templates, and I clicked on the black background one, I didn’t like it, so when I clicked back to the default one, now my whole website margins have changed, the header image is aligning left, and things are messed.

    All I did was clicking the other black/red template and then click back to default.

    Can you please fix these things? I know it’s a free theme, but it’s very annoying that after I spent a day fixing things now I have to do it all over.

    https://www.loom.com/share/38a7d6a893f942abb6d0d31ed212b33e

    • This reply was modified 1 year, 8 months ago by Deon.
    Theme Author Anders Norén

    (@anlino)

    @deon-b If you select one of the styles (called “Style Variations” in block theme lingo), that will update all theme settings to the ones in that style. That’s not behavior in Bj?rk specifically, but the way all block themes work. The changes won’t be saved unless you click the “Save” button, though.

    Thread Starter Deon

    (@deon-b)

    Don’t worry thankfully my hosting had a backup.

    Yes I clicked save, but then when I went back to the default style and clicked save again on the default style, the padding didn’t go back to how it was before.

Viewing 14 replies - 1 through 14 (of 14 total)
  • The topic ‘Static home page’ is closed to new replies.