Search Results for 'header'

Results from the Forum
ecstaticperson
tagDiv Member

Like this for example, I pasted the google adsense code in the header ads section in the themepanel https://animalwellnessmagazine.com/product/latest-issue/ but how do I hide the header ads in woocommerce product page, cart and checkout? thanks for your time.

objetsdeplaisir
Participant
#0

Hello,

As per your documentation, to use with a Custom Post Type, I have created a custom template “single-myCPT.php” in Newspaper Child Theme.

It works great, on the regular desktop version but does not work in the Mobile theme, displaying header/footer of the website correctly, but no content, exactly as If I didn’t fill the Mobile Editor. ..But being a CPT, I do not have the Mobile Editor Showing up in WP admin when I edit the CPTs. ( the CPT is created using plugin POD )

Are there any solution or workaround ? besides disabling mobile theme of course.. ( I just want do display the same content as the Desktop theme )

Regards,

Viju
tagDiv Member

HI,
My site is Softfully | Daily Software Giveaways
In error_log i am receiving below error

[11-Sep-2018 01:23:33 UTC] PHP Fatal error: Uncaught Error: Call to undefined function get_header() in /home/xyz/public_html/wp-content/themes/news9/index.php:6
Stack trace:
#0 {main}
thrown in /home/xyz/public_html/wp-content/themes/news9/index.php on line 6

webtuscany
tagDiv Member

Maybe I can use this. It seems to work good.

.td-header-menu-wrap.td-affix .menu-item-585 .fa {
color: #ffffff;
}

legalmediacompany
Participant
#0

All my style sheets now have an additional front slash in the url example: https:/// and its causing any style sheets in the wp-content folder not to load. I have this narrowed down to either the tagdiv pagespeed plugin or my cdn. Is there anyone else who has experienced this issue? And can someone point me to where all the hyperlinks to the spreadsheets are? They don’t appear to be in the header and pagespeed put some in the footer, but I also don’t see them in footer.php. Please help!! Our site is live.

Thank you

– Sean

Simion C.
tagDiv Staff

Hi,

That would be the verification code, that is required I believe. It has to be entered in the theme header.php file, between the head tags
https://www.screencast.com/t/VHAJnaPo
You could also enter it in the theme panel here, it will be loaded there
https://www.screencast.com/t/pbHBw6woWpVd

Thanks

amd4ever
Participant
#0

Hallo, i want the header style 5 at desktop, and the same time the header style 1 at mobile. (The only reason i want deferent header style is because i want the shadow at the bottom of the mobile header).
Thank you

Simion C.
tagDiv Staff

Hi,

The top and bottom ad could be aligned center like this, also keeping the white background color for the top ad
https://www.screencast.com/t/xntDty3K4p
https://www.screencast.com/t/gzpmFPvTmz

.td-header-style-6 > div:first-child {
background-color: white!important;
}
.td-header-style-6 .td-a-rec-id-custom_ad_3,
.td-footer-wrapper .td-a-rec-id-footer_top{
max-width: 930px;
}

Give it a try.
Thanks

fredy
tagDiv Member

Hi Catalin

http://tech360.litecubesolutions.com/category/help-and-how-to/cameras-help/
There is this td-subcategory-header below the navbar which only show 5 items, i wish to show all the 8 items.

Thanks

Simion C.
tagDiv Staff

Hi,

Seems there two empty spaces there, after the body tag
https://www.screencast.com/t/apN7BvzkSw

Did you maybe made any modifications in the theme header file? Please check there
https://www.screencast.com/t/bC43rlebm

Thanks

fredy
Participant
#0

Hi

How do I show more items on the Category siblings other than just 5 items at the moment?
It is not a mega menu.

Thanks

cborgers
Participant
#0

Hi, a few days ago my site got infected with a malware redirect to a website named cpamatik.com. Two files in the Newspaper theme folder were infected with malicious code causing the redirect: header.php and header-empty.php. I’m still trying to find out how exactly this happened. Could this be related to the Newspaper theme? I’m running Newspaper 8.6 and the latest wordpress (4.9.8). Anyone else encountered something similar?

Magistar
tagDiv Member

Unable to edit:
I noticed that the header check went from reporting 17 queries in 0,082 to 17 queries in 0,285 sec. So before most of the theme is loaded, 200ms is lost.

JayKayCZ
Participant
#0

Hi team, could you please help me with custom css for ad banners in the header and footer to have it in the center?
http://tvguru.cz/
Thanks,
Jiri

ecstaticperson
Participant
#0

Hi, how do I hide the header ad on woocommerce related pages? ty

Simion C.
tagDiv Staff

Hi,


@Watashi10
You could use some CSS for that, the theme panel will allow a color to be set as background, but not a gradient.
There are quite a few gradient generators if you want to use one, for example
http://www.colorzilla.com/gradient-editor/

Apply it like this – https://www.screencast.com/t/S5Xk15t0gotE

.td-header-main-menu {
your code here
}

More about gradients here – https://www.w3schools.com/css/css3_gradients.asp

Also a guide for the browser inspector tool here
https://forum.tagdiv.com/create-custom-code-using-the-browsers-inspector/

Thanks

Simion C.
tagDiv Staff

@Seashore With that code there will be no margin around the logo
https://www.screencast.com/t/0J4tkeEOCAmO
You could remove the gradient below the header menu, also add some borders similar to those
https://www.screencast.com/t/kgvY2SMCG
This is the whole code code used in the example (including the one from above), modify it further or add to it more. It is meant for header style 1

.td-header-style-1 .td-header-sp-logo {
margin: 0;
}
.td-header-style-1 .td-header-gradient:before {
display: none;
}
.td-header-style-1 .td-header-main-menu {
border-bottom: 1px solid #b9b9b9;
border-top: 2px solid #000;
}

Simion C.
tagDiv Staff

Hi,

Auto ads will appear where they want, there is no control. That code seems like the code that is required to be entered in the theme header, between the head tags
https://www.screencast.com/t/mASCpxfm1hpN
Check in the theme header file, the code could be there. Or maybe you entered it in the theme panel
https://www.screencast.com/t/nliNd2BaTI

That is just a class name that applies some styles to Google ads, it will not cause any problems.

Thanks

Simion C.
tagDiv Staff

Hi,

So maybe something like this – https://www.screencast.com/t/j3N0fC20lQ
It will reduce the logo and also align it to the bottom

.td-header-style-8 .td-header-sp-logo img {
max-height: 48px;
top: auto;
}

Thanks

peepingmoon
Participant
#0

Hello,

From last month onwards we are facing a very weird problem with the newspaper theme. All of sudden the logo disappears, the menu settings go to default, the footer disappears, the settings for the header to show the ads disappears. We have to add the above settings manually. But then after some days it again gets reset. Sometimes after 5 days, sometimes after 1 hour and sometimes after a week. This is very irritating as we are bringing traffic to the site and suddenly the website looks very bad because of the above-mentioned problem.

Can you tell us what could be wrong with the theme? Why is the theme getting reset so frequently and that too automatic? Without anyone doing anything?

Regards,
Prateek Patel

Simion C.
tagDiv Staff

Hi,

That could be done with some CSS. For the search use the hidden setting
https://www.screencast.com/t/0EVoZhSE8k
For a more accurate solution we need to test with your menu, we could give you codes to try but they might not work for you or not work properly.

For example this code should align the menu to the right and allow you to increase the padding left-right between the menu items
https://www.screencast.com/t/So5OGry7g80
You can adjust the value of the padding and test, default is 14px

.td-header-main-menu {
text-align:right;
}
.sf-menu > li > a {
padding: 0 18px;
}

If that does not work or is not what you wanted, please send us admin login at contact@tagdiv.com and mention how exactly you wish it to be. Include a link to this topic in the email.

Thanks

easthulk
Participant
#0

I use the mobile theme,and now i want to modify the templates like function.php,header.php,
Where are the templates?
And…I use the Newspaper-child,Does it useful for the mobile theme
If it does,what do I need to do?
Hope you can understand
Thanks

bobbymc
tagDiv Member

Seashore,

I found this code here in the forum and worked great for me for style 10 and might work for style 1 with an adjustment. You can also try changing heights. good luck!

.td-header-style-10 .td-logo-wrap-full {
min-height: 75px;
line-height: 75px;
}
.td-header-style-10 .td-logo-wrap-full .td-logo {
line-height: 75px;
}

Patrick93
Participant
#0

I have a lot of categories. in three of them i have in my header-section these Code: <link rel=”next” href=”https://www.domain.de/categorie/categorie-name/page/2/&#8221; />

The Problem is, the link fails because there is no page/2…
“Page not found”.

Someone now how i can ad these second page? Is there any option in theme panel? Or alternative: Can i delete the failing links to page two, if there is no second page.

I think it depends on the number of Articles in each category. Because, the three categories in which i have the rel=”next” are my categories with the most articles.

Viewing 25 results - 16,926 through 16,950 (of 29,850 total)