- TutorialsDefault Block Settings Guide
Perfect thanks.
Is there a cheat sheet on how to hide different ad slots from different post types?
For example, we want to hide the “Header Ad” on Post Styles 1 & 11
Any way to edit the header style and get social icons there? I like this very style, so I don’t want to change.
Hi,
You will have to add your code in header.php where the body tag is – http://screencast.com/t/ukcovv7i8h and the other code where the advert will appear. The theme ad system was designed for adsense code but you can also try to add it in Theme Panel > Ads section – http://screencast.com/t/IckVfivoLW depending where you want to display it, please also check documentation – https://forum.tagdiv.com/header-ad/ For pages you can use Ad box block to display your advert in the content – http://screencast.com/t/EMPFNvzf
Hope this helps!
-
This reply was modified 11 years by
Alin [tagDiv].
Hi,
I have checked you site, please first use these classes as were changed in the new version – https://forum.tagdiv.com/header-ad/
Then please delete this code form style.css file so your embed will have the inline width that you specified – http://screencast.com/t/k8QnWGXZ
Hope this helps!
Hi
Header style 6 doesn’t include the social icons, you need to use other style to do that.
Thanks.
Hi,
Please can you try with this CSS, add it in Theme Panel -> Custom CSS
.td-post-template-7 .td-read-down {
display:none;
}
.td-post-template-7 .td-parallax-header {
transform: none !important;
opacity: 1 !important;
}
.td-post-template-7 .td-post-header {
height: 560px;
}
@media (min-width: 1019px) and (max-width: 1140px) {
.td-post-template-7 .td-post-header {
height: 530px;
}
}
@media (min-width: 768px) and (max-width: 1018px) {
.td-post-template-7 .td-post-header {
height: 480px;
}
}
@media (max-width: 767px) {
.td-post-template-7 .td-post-header {
height: 400px;
}
}
Am facut ceea ce spune acolo, in headere apare Access-Control-Allow-Origin: *, insa nu s-a rezolvat nimic.
E ciudat ca pentru JS-uri merge fara probleme, dar pentru stylesheet nu, decat daca las url-ul normal care duce spre directorul temei.
Oricum, cred ca ai inteles gresit, nu e vorba de fonturi, e vorba de stylesheet, doar cand modific url-ul spre stylesheet apar elemente aiurea in tema. Fonturile apar normal.
Merci.
-
This reply was modified 11 years by
lecker.
Hi,
You can use the page search box to add it in the header and get this code: http://screencast.com/t/ul9gkHtAtLK and place it in the header style file you use like this: http://screencast.com/t/orbMuzVPP
You will get this result: http://screencast.com/t/OiYIELzzGU and if you like another design for it you would have to style it yourself or get a freelancer to do it for you if you don’t have codding experience.
Thanks
Social Icons are appearing for all other header styles.
But when I choose header style 6, no social icons can be seen.
The color of social icons is white and it’s turned on.
Hi there,
For http://www.bekendeyoutubers.nl/ i want to place the search bar in the header.
How to do this?
So not with click > dropdown but in the header.
Joachim
Go to the theme panel, And in the header section navigate to the main menu configuration option, and select the desired color in Active and Hover color. It will not come as the same way it does on usatoday.com, It’s not present in this theme, you can try modifying theme files if you are expert at it. Or, you have to adjust with a underline highlight 🙂
I’m just a community member, do wait for a TagDiv staff for a possible answer.
And, do mention your link
Cheers!
Hi
I wanted to know how to create a highlight effect when selected on main menu. Like for example when someone clicks on a topic there is a slight fade transition on the topic selected. Like on usatoday.com
Hi,
Yes you can hide header and footer on specific page, just take the page id – http://screencast.com/t/nee4B9XtwI and use this custom css in Theme Panel > Custom Css where xxx is your page id:
.page-id-xxx .td-header-wrap, .page-id-xxx .td-footer-wrapper, .page-id-xxx .td-sub-footer-container {
display: none;
}
Thanks!
this is error log from themes folder:
[18-Jun-2015 03:02:45 Europe/Istanbul] PHP Fatal error: Call to undefined function get_header() in /home/trf1/public_html/wp-content/themes/Newspaper6/index.php on line 6
[21-Jun-2015 05:48:57 Europe/Istanbul] PHP Fatal error: Call to undefined function get_header() in /home/trf1/public_html/wp-content/themes/Newspaper6/index.php on line 6
[22-Jun-2015 03:51:50 Europe/Istanbul] PHP Fatal error: Call to undefined function get_header() in /home/trf1/public_html/wp-content/themes/Newspaper6/index.php on line 6
[23-Jun-2015 06:44:00 Europe/Istanbul] PHP Fatal error: Call to undefined function get_header() in /home/trf1/public_html/wp-content/themes/Newspaper6/index.php on line 6
[24-Jun-2015 15:05:04 Europe/Istanbul] PHP Fatal error: Call to undefined function get_header() in /home/trf1/public_html/wp-content/themes/Newspaper6/index.php on line 6
[24-Jun-2015 15:05:08 Europe/Istanbul] PHP Fatal error: Call to undefined function get_header() in /home/trf1/public_html/wp-content/themes/Newspaper6/index.php on line 6
[25-Jun-2015 15:12:42 Europe/Istanbul] PHP Fatal error: Call to undefined function get_header() in /home/trf1/public_html/wp-content/themes/Newspaper6/index.php on line 6
[25-Jun-2015 15:12:42 Europe/Istanbul] PHP Fatal error: Call to undefined function get_header() in /home/trf1/public_html/wp-content/themes/Newspaper6/index.php on line 6
Hi,
Try with this CSS, add it in Theme Panel -> Custom CSS
@media (max-width: 767px) {
#td-outer-wrap .td-header-menu-wrap.td-affix {
position: relative !important;
}
}
Thanks!
Everything worked great!
About number 4–I’m using adsense but I’m also using Ad Rotate Pro and inserting the shortcode into the header ad section in the newspaper dashboard. It worked fine with all other versions.
Hi,
1. Try ith this CSS:
.td-post-header-holder {
margin-bottom: 10px !important;
}
2. Use this:
.author-box-wrap {
margin-bottom: 10px !important;
}
3. Use this:
@media (max-width: 767px) {
.author-box-wrap {
display: none;
}
}
4. This section http://screencast.com/t/P0rOkwz2zw work only for Adsense Ads, do you use adsense or just an image ad?
Hi,
We have also used header ads, sidebar ads in our blog. Why those are not getting displayed…??
In other pages, mid-ads are getting displayed.
What is the exact issue…???
Kindly please look into this matter and resolve the issue asap…
Thanks Alin.
In the meantime, is there any CSS that can be used per page to hide the header and footer?
-
This reply was modified 11 years by
yajones.
Hi,
I have checked your site and you have to many menu items, also containing long words and you use a hedera style with centered menu. You can try this custom css in Theme Panel > Custom Css (I customize it for your header style 10): http://screencast.com/t/kmFCrF7YP
@media(min-width: 768px) {
.td-header-style-10 .sf-menu > li > a {
padding-left: 0px !important;
}
.td-header-style-10 .td-header-main-menu {
padding-left: 0px;
padding-right: 0px;
}
.td-header-main-menu {
padding-right: 0px !improtant;
}
.td-header-style-10 .sf-menu a.sf-with-ul {
padding-right: 20px;
}
.td-header-style-10 .sf-menu .td-icon-menu-down {
padding-left: 3px;
}
}
Hope this helps!
Hi.
How can I enable ‘always sticky’ for desktop only.
I don’t want the mobile header to be sticky?
Thank you.
Thanks so much for your response! I tried your suggestion, but it did not work. Now it is happening with another post!
It’s just taking away the background of the header/menu section and I can’t understand why. Can anyone here tell what’s happening? Thanks!!
One more thing…
Despite disabling the header ad on mobile it’s still showing up: http://take.ms/S1g3I and http://take.ms/6tCRb
Hi,
I am using Amazon Banner Ads for desktop and google ads for table and mobile. When I use the google adsense code, it overwrites my amazon banner.
I have the three tags that are used in the header ad template. I need my Amazon Ad to display only on desktop and my google adsense ad to only be displayed on mobile and tablet. How can this be fixed?
This is what I am currently using.
<div class=”td-visible-desktop”>
<div class=”alignleft”>
<script type=’text/javascript’>
amzn_assoc_ad_type = ‘banner’;
amzn_assoc_tracking_id = ‘xxxxxx’;
amzn_assoc_marketplace = ‘amazon’;
amzn_assoc_region = ‘US’;
amzn_assoc_placement = ‘assoc_banner_placement_default’;
amzn_assoc_linkid = ‘xxxxxxxxx’;
amzn_assoc_campaigns = ‘amazonhomepage’;
amzn_assoc_p = ’48’;
amzn_assoc_banner_type = ‘rotating’;
amzn_assoc_width = ‘728’;
amzn_assoc_height = ’90’;
</script>
<script src=’//z-na.amazon-adsystem.com/widgets/q?ServiceVersion=20070822&Operation=GetScript&ID=OneJS&WS=1′></script>
</div>
</div>
<div class=”td-visible-tablet-portrait”>
<script async src=”//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js”></script>
<!– NewsWatch33 –>
<ins class=”adsbygoogle”
style=”display:block”
data-ad-client=”ca-pub-xxxxxxxx”
data-ad-slot=”xxxxxxxx”
data-ad-format=”auto”></ins>
<script>
(adsbygoogle = window.adsbygoogle || []).push({});
</script>
</div>
<div class=”td-visible-phone”>
<script async src=”//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js”></script>
<!– NewsWatch33 –>
<ins class=”adsbygoogle”
style=”display:block”
data-ad-client=”ca-pub-xxxxxxxxx”
data-ad-slot=”xxxxxx”
data-ad-format=”auto”></ins>
<script>
(adsbygoogle = window.adsbygoogle || []).push({});
</script>
</div>
Regardless, the theme doesn’t impact how the plugin writes to your header files with Yoast. Do you have console errors on your page? Conflict with another plugin?
Link to a page for example might help?