Landing page without top menu , header and any further delay

Posted in: Newspaper
Post count: 436

Hey,
I read this thread: https://forum.tagdiv.com/topic/landing-page-without-menu-etc-at-the-top/

This code worked well :

.page-id-27 .td-header-wrap, .td-footer-wrapper, .td-sub-footer-container{
display:none;
}

Since it’s a custom CSS, it loads after some delay ( because of slow server speed or slow slider loading by revolution slider) . How can I modify the code CSS files to prevent these loading delays?

Thank you.

Post count: 285

Hi Nano,
Put that line into the main .css

Regards.

Post count: 436

Hi nairolf,
Do I need to simply put this code at the end of main style.css or at any specific place there?

Thanks.

Post count: 285

Yes, at the end of the main style.css (of course after that, delete cache, bla bla bla 🙂 )

That delay happen because the main .css load before any other custom.

  • This reply was modified 9 years by nairolf.
Post count: 436

I see. Thank you 🙂

Post count: 436

Hi nairolf,

Today I actually tried it, but it didn’t work 🙁

I have asked Bogdan for help. Let me know if you have tested it.

Thank you.

Post count: 23312

Hello nano2408,

The code which has added above still working as properly and if you want to add it directly to the theme you should edit the style.css CSS.

Thanks for your understanding!

Post count: 436

Yes, As I said, it works when I add this to custom CSS, but it doesn’t work if I add it directly at the very bottom of style.css. Here is how I did it:

I am only removing top header, and top navigation with this code:


.page-id-246 .td-header-wrap {
display:none;
}
.page-id-28 .td-header-wrap {
display:none;
}
.page-id-27 .td-header-wrap {
display:none;
}
.vc_separator.vc_separator_align_center h4 { font-size: 30px !important; }
.td-main-content-wrap {
padding-bottom: 0;
}

Yes, I have cleared all cache and everything. Let me know if you want to do further checking.

Thank you.

Post count: 23312

Hello nano2408,

Please try to edit the theme core file style.css and directly add there. It is possible that you above method to not work and that’s why you see nothing changed.

Thanks for the message!

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