Landing Page

Posted in: Newsmag
Post count: 52

Hi! Im trying to create a landing page to my site for 1 page, how can i Hide main navigation bar, the header and the footer on single pages. help please

Post count: 6535

Hi

To remove the header from the pages you need to edit the file corresponding with the header style used and add a condition like here: http://screencast.com/t/5BO7ShL3Bhttp://pastebin.com/KKdusNXM Also you will need this css in theme panel > custom code > custom css:

.td-header-menu-wrap {
min-height: 0;
}

This code will hide the header in all pages.
The same step must be done for footer: http://screencast.com/t/9O3A21aRpve9http://screencast.com/t/QePMMbva7m
Please note that I’ve test this only with header style 1 and footer template 1. For a different header style or footer template you may need additional conditions. If you can’t manage to this by yourself my advice is to look for someone to help you as we can’t offer custom work at the moment.

Thanks!

  • This reply was modified 10 years by Andrei L..
Post count: 52

I mean to disable Header and Footer on a specific Page not all page. i wanna create a completely BLANK page, no nain navigation bar,header and footer.just ability to have the content area t=to create landing page.

Post count: 6535

Hi

To achieve that you just need to add the page id in the indicated condition like here: http://screencast.com/t/DZ5N4QKBS1RN

if(!is_page'page-id'))

Just replace the page-id with the numeric id of the page. To get the id follow this link: http://screencast.com/t/p1DSNdj1R

Thanks!

Post count: 52

I did with the Header but the titre of the page is display how cant i hire it. I did with footer but i get this message a botter of the footer “Parse error: syntax error, unexpected end of file in /home4/aliou89/public_html/wp-content/themes/Newsmag/footer.php on line 62” https://www.dropbox.com/s/6rh6brqk2ycuqeh/Screen%20Shot%202016-03-05%20at%202.53.07%20AM.png?dl=0

Post count: 6535

Hi

If you’re using page-builder+title as a page template then you can use this css in theme panel > custom code > custom css to hide the page tile:

.td-page-title{
display: none;
}

Regarding the error make sure you made the changes exactly as I indicated in previous screens as the indicated error appear when the php code returns an invalid html structure. The php code have a syntax which must be respected otherwise will return errors.
If you still need guidance on this or you’re not aware of the steps you need to take in this regard please consider hiring a developer or a freelancer to do this for you as we can’t offer customization services at the moment.

Thanks!

Post count: 52

In the header you give me this code to past http://pastebin.com/KKdusNXM
but in the footer i don’t get no code i just follow the instruction screenshot http://screencast.com/t/9O3A21aRpve9http://screencast.com/t/QePMMbva7m i add only this code (line 1) <php if(page_(‘8999″)) and (line 30) { ?> <php } ?> in the (td_footer_template_1php) and the footer_php. like i saw in the screenshot

Post count: 6535

Hi

Just replace the content from footer.php with this one: http://pastebin.com/ddSKLnUZ and update the page id in is_page() function. The code it’s tested and should work fine.

Let me know how it goes.
Thanks!

Post count: 52

i put the code but it only hide the sub footer i want to hide the footer too for Pacific page

Post count: 6535

Hi

I gave you only the code for sub-footer because according with this screen https://www.dropbox.com/s/6rh6brqk2ycuqeh/Screen%20Shot%202016-03-05%20at%202.53.07%20AM.png?dl=0 the error appeared in footer.phph file, so there was the wrong code.
I can’t provide the code for footer as I don’t know what footer template you’re using. However you can follow this screen and add the indicated conditions in the file corresponding with the footer template used: http://screencast.com/t/9O3A21aRpve9
For example if in theme panel you have set the footer template 3 the required file is td_footer_template_3.php

Thanks!

Post count: 52

Ok it work great thanks.
What is the width of theme heard is 940 or 960

Post count: 6535

Hi

Theme’s width have a fixed value by 1021px: http://screencast.com/t/30okuI2ckA
Thanks!

Post count: 52
Post count: 10

Yes, you can turn it off or change the color by going to your dashboard >>>
1. theme panel,
2. theme color
3. general theme color at the top and click the GRID LINE COLOR when you there set the color to black like your lading page or make transparent to make disapear.

” I ave been to your landing page think, it beautiful the white defaut color by the side, i like it. well it your own site you can try it out and see which you prefer”

Post count: 6535

Hi

Thanks @drdella for your help.

@aliou89
let us know if you still need help on this.
Thanks!

Viewing 15 posts - 1 through 15 (of 15 total)
You must be logged in to reply to this topic.