Hi Roberto Alsina,

Thank you very much. I am able to hide the title now.

Also, thank you for pointing me towards creating a custom page. However, I 
am not that well versed with CSS and am not sure where to begin. I 
wondering if there's a quicker way to remove the margins from top and sides?

I think (and I may be wrong) that the body formatting comes from this part 
of the code in base.tmpl. Is there a way to tweak it instead of creating a 
custom template?

```
<div class="container" id="content" role="main">
    <div class="body-content">
        <!--Body content-->
        ${template_hooks['page_header']()}
        <%block name="extra_header"></%block>
        <%block name="content"></%block>
        <!--End of body content-->
```

Regards,
JK
On Friday, October 2, 2020 at 2:18:29 PM UTC+5:30 Roberto Alsina wrote:

> To hide the title, just use this in the page's metadata:
>
> hidetitle
>
> Set "True" if you do not want to see the page title as a heading of the 
> output html file (does not work for posts).
>
> You probably need to use a custom template for that page. There's 
> documentation on how you can tweak a single page here: 
> https://getnikola.com/creating-a-custom-page.html
>
> On Fri, Oct 2, 2020 at 5:36 AM J K <[email protected]> wrote:
>
>> Hi,
>>
>> My query is two fold.
>>
>>    1. How do I create a full width landing page? 
>>    I created a basic HTML file as index.html but its contents appear to 
>>    be held inside a container and don't expand full width. How do I create 
>> the 
>>    index page to display in full width without any padding on the left, 
>> right 
>>    and top?
>>    This special condition should apply only to the landing page 
>>    (index.html) and not to other pages or posts.
>>    2. How to remove the title on the landing page?
>>    Is there an option not to display title on this particular page?
>>
>> Currently, this is how my landing page looks. I would like to get rid of 
>> the spaces shown in red along with the title.
>> [image: r0055000.png]
>>
>> Thanks a lot!
>> JK
>>
>> -- 
>> You received this message because you are subscribed to the Google Groups 
>> "nikola-discuss" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to [email protected].
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/nikola-discuss/758b3cbf-a1f0-4f3b-93af-dccb6cdbd7adn%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/nikola-discuss/758b3cbf-a1f0-4f3b-93af-dccb6cdbd7adn%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"nikola-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/nikola-discuss/7b138d7d-e40a-43b8-9d58-21e55286a0e9n%40googlegroups.com.

Reply via email to