No search results were found in Documentation!
Hello,
@Mijaz please try the manual activation https://www.screencast.com/t/u42DUufc
As for the header, you can use this code to bring the content closer to it:
.td-main-page-wrap{
padding-top: 25px!important;
}
Thank you!
hello there.. could u help me to check on my web ? i have little issue with the gap between the header menu and the content below.. i have tried to set css :
.td-main-page-wrap {
padding-top: 0px;
padding-bottom: 0px;
it looks ok in chrome.. but in firefox.. the gap does still exist.. what code should i attach to solve this ?
thanks before..
Hello gunngx,
1)If you want to reduce that white gap, you should use a bit of CSS code to do that. Try the code below and place it in Theme panel -> Custom CSS area.
The code is ->
.td-main-page-wrap {
padding-top: 15px;
}
The result is here -> https://www.screencast.com/t/O6g81zm0U
2)You should regenerate your thumbnails using the Force Regenerate Plugin and Regenerate Thumbnails. For more information about this problem, please check here -> https://forum.tagdiv.com/thumbnails-fix-strange-looking-images-on-blocks/
Thanks for your understanding!
Good evening, I would like to remove the white space in my category.
I’ve already been removed from homepage with the following code:
.td-main-page-wrap {
Padding-top: 0;
Padding-bottom: 0;
}
How can I do the same thing on category pages?
Thanks and good work and compliments for this beautiful theme.
NB:How can i put pictures in the forum?
Salut Simion,
În primul rând mulțumesc pentru răsopuns!
Referitor la problema cu Style 7, aparent problema a fost cauzată de mine; era în acel articol o clasă aiurea… Am șters-o și textul apare corect.
Referitor la forum, problema nu-mi dă pace; am dezactivat toate plugin-urile cu excepția Visual Composer, Yoast SEO și LiteSpeed Cache… Nimic. În privința codurilor, singurele pe care le am sunt:
.td-header-menu-wrap.td-affix {
background-color: white;
}
.test {
margin-top: 5px;
margin-bottom: 5px;
}
.td_block_trending_now.td_block_wrap{
padding-bottom:0!important;
}
.test{
margin-bottom: 0!important;
}
.td-main-page-wrap{
padding-top:20px!important
}
De asemenea, ca și modificări în codul temei am adaugat o a doua secțiune „Sursa” și bara cu știri în header. Poate fi aici?
Similar instalării pe curat a temei este și actualizarea?
Mulțumesc!
Hi,
You can use this code that will remove the padding set on top of the page, as well as the bottom padding
– https://www.screencast.com/t/TgF71sWIoo
The code must be entered in Theme panel->Custom Css
.td-main-page-wrap {
padding-top: 0;
padding-bottom: 0;
}
Thanks
Hey there,
Following the image and url of the website, the smart sidebar (right side of website) implemented seems to be (cut) off when scrolling. Two things just to clarify,
1. I did remove the top padding which was in the template (for alignment of the other website elements). But it seems to not be the cause of the smart sidebar spacing (Might be wrong).
.td-main-page-wrap {
padding-top: 0px; /*DESKTOP TOP PADDING. komenta: removed for space at top of page from 48px*/
/* responsive portrait phone */
}
2. I checked that with the removal of the 4 images at the bottom right doesn’t seem to cause the cropping of the smart sidebar too.
Website Url: https://leapdsc.com/leapdsc/client/astar/techdepot/overall-equipment-effectiveness-monitoring-system3-oeems3/
Image: https://1drv.ms/i/s!Ai3uwVtbSehutfx5EnHHta6Bo2W9Dg
Please suggest on how I should approach this.
Hope to hear from you soon!
Hi,
You could reduce the padding top of the page – https://www.screencast.com/t/9fkMc2BYde4d using a code like this – https://www.screencast.com/t/SpAt4GrM This is the code used and it must be entered in Theme panel->Custom Css – https://www.screencast.com/t/vDQOjXrw
Please let us know if this is working for you, or you need further help.
.td-main-page-wrap {
padding-top: 24px;
}
Thanks
Hello Arianna,
1)Notice that the Weather Widget is fully tested with our theme and it should work for most cities. For more references about how you can set it, please consult here -> https://forum.tagdiv.com/weather-widget-newsmag/
2)You do not use the correct HTML tag to add an image link to your website. Try to check the guide from here -> https://www.w3schools.com/tags/att_a_href.asp and check the results.
3)If you want to remove the white space which is placed above to your footer section, you simply use the code below and place it in Theme panel->Custom CSS area.
The code is ->
.td-footer-template-4{
padding-top:0!important;
}
.td-footer-wrapper{
padding-top:0!important;
}
.td-main-page-wrap {
padding-bottom:5px!important;
}
The result is here -> https://www.screencast.com/t/bAqAwjC8W
Thanks for the message!
Hello,
The code must be adapted to other pages as well using the page id. You can see the page id like so: https://www.screencast.com/t/YrtUpCMJ
You can use the same code for multiple pages by adding them like so:
.home .td-main-page-wrap, .page-id-2647 .td-main-page-wrap, .page-id-2648 .td-main-page-wrap, .page-id-2649 .td-main-page-wrap{
padding-top: 0!important;
}
You can change the id’s in the code to match your own.
Thank you!
Hello,
The white part you see is the top padding added on the page content. You can remove it for the homepage using this css code:
.home .td-main-page-wrap{
padding-top: 0!important;
}
Thank you!
Hi,
If you mean the padding on the page wrap – https://www.screencast.com/t/f6glx01Y you could modify it using some custom css like this, just enter it in Theme panel->Custom Css. Here is a guide about the browser inspector tool to help you identify the elements on the page and their classes in order to create custom code – https://forum.tagdiv.com/create-custom-code-using-the-browsers-inspector/
.home .td-main-page-wrap {
padding-top: 24px;
}
If this not working for you or it is not what you meant, please provide a link to your website so I can give you a more accurate solution.
Thanks
-
This reply was modified 9 years by
Simion C..
Hello,
For the first issue, you can use this code:
.home .td-main-page-wrap{
padding-top: 2px;
}
As for the latest articles you can change the page template to one that does not contain the latest articles section: https://forum.tagdiv.com/page-templates-2/
Thank you!
Hi Bogdan,
I was able to increase the height of the menu for mobile as well the height of the logo on my newly developed website:
I used the following CSS for Mobile:
.td-main-menu-logo img {
max-height: 100px;
}
.td-header-wrap .td-header-main-menu {
height: 110px !important;
}
.td-main-page-wrap {
padding-top: 106px;
}
#td-top-mobile-toggle i {
line-height: 110px;
}
.header-search-wrap .td-icon-search {
line-height: 110px;
}
.td-post-template-4 .td-crumb-container {
padding-top: 52px;
}
However, When you scroll down, some of the header still shows at the top of the screen. I don’t know how to fully hide it like it hides with the default settings.
Can you please assist?

I found it ! I should have searched a bit more before asking, i’ll try to remember for future questions.
Here is the solution :
.td-main-page-wrap {
background-color: #efefef;
}
Many thanks for your help Slmlon 🙂
Hi,
You can remove the space between the menu and the slider by using this code, just enter it in Theme panel->Custom Css
.td-main-page-wrap {
padding-top: 0;
}
Result – https://www.screencast.com/t/9y1dHt8nD2
Also please note that if you choose to use Header style 9,10 or 11 – https://forum.tagdiv.com/logo-favicon/ you can use bigger sized full width logos like in this demo – http://demo.tagdiv.com/newspaper_cars/
Hope this helps you
Thanks
Hi,
1. Try this code, enter it in Theme panel->Custom Css
.td-header-style-10 .td-header-top-menu-full {
border-top: 4px solid #009688;
}
.td-header-style-10 .td-header-gradient::before {
height: 4px;
position: absolute;
bottom: 0;
background-color: #009688;
}
Result – https://www.screencast.com/t/qhd6Hsf96n
2. You can use this code for the space between the menu and slider
.td-main-page-wrap {
padding-top: 0;
}
Result with the previous code and this one – https://www.screencast.com/t/ntnXouH1qiGm
Please let me know if this works for you.
Thanks
Hi,
For the white color around the blocks enter this code in Theme panel->Custom Css
.td-main-page-wrap {
background-color: #efefef;
}
Result – https://www.screencast.com/t/Tb9Xjnawi325
The top menu inherits the width of the container when the site is boxed and it would be dificult to make it full width.
Thanks
Hi,
Try this code, enter it in Theme panel->Custom Css (you can modify the margin values to what suits you best)
.td-header-style-8 .td-header-top-menu-full {
margin-top: 48px;
}
@media (min-width: 768px) {
.td-main-page-wrap {
margin-top: 48px;
}
}
Before – https://www.screencast.com/t/YARiAdR3vM
With code added – https://www.screencast.com/t/APMZJxIISn
Please let me know if this works for you
Thanks
Hello,
I have inserted this custom css code on my homepage
.page-id-2127 .td-header-style-1 {
display:none;
}
.page-id-2127 .td-main-page-wrap{
padding-top:0;
}
.td-header-menu-wrap-full{
display:none
}
.home .td-main-page-wrap{
padding-top:0!important;
}
I got this code from looking at other posts and suggestions. It has removed my main menu and header but leaves a large white space at the top of the page. Fullofevents.com
Is there a way to remove this large white space completely and have the revolution slider to the top? If not, even reducing this space by 50% would work as well.
Thank you,
Brandon
Hello,
Please use this code:
.td-main-page-wrap{
padding-top: 0!important;
}
This css will affect ALL pages so you must be careful on the other pages to what element you have on top asw not all pages have the same grid on top of them so maybe you do not want it to affect all p[ages. In that case you will need the page id;s where you want the code to apply to. You cna get a page id like so: http://screencast.com/t/xSGmFLnTj
Thanks.
Hello everyone,
I did a small change in the custom css and now nothing works any more.
Can someone help me to find the error?
Here are my custom css:
.single_job_listing .company img { width: 3em !important; }
.category .td-category-pulldown-filter.td-wrapper-pulldown-filter {
display: none;
}
.td-header-sp-top-menu .td_data_time {
color: #fff !important;
}
.div.company { min-height: 4.5em !important; }
.td-post-content a {
color: #000089;
}
.wpb_text_column a {
color: #000089;
}
@media (max-width: 767px) {
.td-header-top-menu-full, .td-header-sp-top-menu {
display: block !important;
}
.single-job_listing .td_block_related_posts, .single-job_listing .comments {
display: none;
}
.div.woocommerce-tabs .ul.tabs .li.additional_information_tab {
display: none !important;
}
.single-job_listing .td-post-template-default .td-post-featured-image .img {
display: none !important;
}
}
.single-job_listing .td-g-rec-id-content_inlineleft {
display: none !important;
}
.page-id-2802 .td-main-page-wrap {
padding-top: 15px;
}
.asterofont-search {
font-size: 4em;
}
.single-resume .td-g-rec-id-content_inlineleft {
display: none !important;
}
Thanks in advance for any help!
Best,
Adam
Hello Support,
We are looking after http://gpalpoint.pt/ and have a question about adding a leader-top advert.
Specifically I am trying to control the gap around the banner ad (specifically top and bottom).
For instance, through the web console, We can eliminate the gap below the banner ad with the following JS:
jQuery(“.td-main-page-wrap”).css(“padding-top”,”0px”);
This however does not work for all pages, and we are not so keen in trying to guess and implement “workarounds” for all the possible use cases in the existing (or future pages).
How would you recommend to approach a “fix” for this?
We are using WP 4.7 and Newspaper 7.6
Regards,
Pedro
Ok, no problem If you want to affect all pages at once, then simply copy this code:
.td-main-page-wrap{
padding-top:0!important;
}
And paste it in the theme panel-> custom css box like so: http://screencast.com/t/zu1pD3UAeh
That’s it. No other steps needed.
Now there should not be any white space above the page content.
Thank you!
Hi Bogdan,
Thank you for your prompt response. I have never used Custom CSS before, so please bear with me.
I have entered the code at the end of the Custome CSS box (I have taken those steps: Theme Panel/Custom CSS), however, the white space is still there.
.l-about-me-desc h3{
margin-top: 0;
color: #f1f3ce;
text-transform: uppercase;
120 }
121
122.td-main-page-wrap{
123 padding-top:0!important;
124}
Can you please advise?
Thank you very much,
Anna