- Apitd_api_header_style::delete
- Apitd_api_header_style::update_key
- Apitd_api_header_style::update
- Apitd_api_header_style::add
- ApiAPI – Header style – Introduction
- Apitd_api_top_bar_template::update_key
- Apitd_api_top_bar_template::update
- Apitd_api_top_bar_template::add
- ApiAPI – Top Bar Template – Introduction
- Apitd_api_single_template::update_key
- Apitd_api_single_template::update
- Apitd_api_single_template::add
- ApiAPI – Single Template – Introduction
- Apitd_api_footer_template::update_key
- Apitd_api_footer_template::update
- Apitd_api_footer_template::add
- ApiAPI – Footer Template – Introduction
- Apitd_api_smart_list::update_key
- Apitd_api_smart_list::update
- Apitd_api_smart_list::add
Hello zunigafelipe,
The DoubleClick ads aren’t recognized by theme’s ad system and the code is rendered as it is. The theme only works using google Adsense ad codes: https://forum.tagdiv.com/ads/ … for another type of ads you can either use wp text widget or a plugin like Simple Ads Manager or AdRotate to render the code then use theme’s ad spots. For more references about this regard, you can consult this topic -> https://forum.tagdiv.com/topic/tutorial-responsive-ads-with-google-dfp/
Also, if you want to paste your tag in the mobile version in the header section, you will have to check the header.php core file from the mobile section, like this -> http://screencast.com/t/kfBP1X4Ds
Thank you for your understanding!
Hello,
I recently applied to Google Adsense and got approved, after pasting the code into the theme panel>ads> and placing the 728×90 on the header and the 300×250 on the article inline and article bottom, I am able to see the blank ads by doing CTRL+A…. Now, one of the suggestions from Google Adsense is that you check the source code of the page and look for the AdSense code to make sure it is actually appearing, it also says “The ad code should be identical to the one in your AdSense account”.. by looking into the source code I can find extracts from the code, but the full code, identical to the one on my AdSense account I cannot find it, why is that and how to fix it? My website is http://www.vibraplaneta.com
I am unable to instal required Plugins like Visual Composer, Social Counter, Mobile Theme etc. Following error shows up-
Installing Plugin: Visual Composer
The plugin does not have a valid header.
Downloading install package from http://whatexactly.in/wp-content/themes/Newspaper/includes/plugins/js_composer.zip…
Download failed. Failure when receiving data from the peer
Hi Catalin,
I think I fixed it by modifying the first css code you gave me from:
.td-post-template-13 .td-post-header .entry-title {
text-align: left;
}
To this:
.td-post-template-13 .td-post-sub-title {
text-align: center;
}
Is this correct?
Thanks
Kevin
Hi Bogdan, thanks you had solved the problem. I created a new menu and added all the sub categories in it and selected that menu in the custom menu option. Below is the screenshot:http://imgur.com/fPMJfMk. Is there any way to change the header color of the wp widget I mean can we change the black color to default blue so it match with others. In the screenshot I had created the blue heading box by choosing row html option.
Hi Catalin,
I think you misunderstand me, it is the subtitle text I need to be center aligned.
When using post template style 13 as standard it is left aligned and the header is center aligned which seems a bit odd.
I need both the heading and subtitle to be centered.
I hope that clears up the confusion 🙂
Kevin
Hi,
1) Try this code:
.footer-text-wrap{
text-decoration: underline;
}
2) The sticky menu is a different container than the standard menu. It has to be targeted as well with css.
Add this code:
.td-header-menu-wrap.td-affix{
background: red; /* For browsers that do not support gradients */
background: -webkit-linear-gradient(red, yellow); /* For Safari 5.1 to 6.0 */
background: -o-linear-gradient(red, yellow); /* For Opera 11.1 to 12.0 */
background: -moz-linear-gradient(red, yellow); /* For Firefox 3.6 to 15 */
background: linear-gradient(red, yellow); /* Standard syntax */
}
3) the scroll up must also be targeted with css as there is no setting for it.
you can use this class to add css properties to it:
.td-scroll-up-visible{
background-color:black!important;
}
Hope this helps.
Hello Kevin,
If you want to align the title to the left side, please try the code below and place it in Theme panel->Custom CSS area.
.td-post-template-13 .td-post-header .entry-title {
text-align: left;
}
The result is here -> http://screencast.com/t/4SHxNRhUL
Thanks.
Hello aedney,
Please keep in mind that we have no idea what type of code you have. If you want to add your js.code in your header, you will have to edit the header.php core file and place there like this -> http://screencast.com/t/jiiQ1IttD or if you want to add it to your pages, you have two possibilities -> the first one, using the ROW JS element from Visual Composer and secondly you will have to edit the page templates corresponding to your page template used by you. Please notice that we only guide you in the right direction and if you are not aware what you will have to do further, please consider hiring a freelancer/developer to help you because we cannot provide customization services at the moment, sorry!
Thanks for your understanding!
thanks Bodgan
I assume I can just put the script anywhere in those three?
also, I read somewhere that it’s better to put the script in the header?
thanks again!
Andrew
Hi
An internal server error it’s not caused by the theme, it’s rather related with a server misconfiguration. Please make sure that your server meet the requirements specified in our documentation: https://forum.tagdiv.com/newsmag-requirements-for-newsmag/ also check if the parameters from system status have the values indicated here: https://forum.tagdiv.com/system-status-parameters-guide/
With regard at demos if you don’t want to import their content just import the settings. When a demo without content is installed are imported only its settings, by this is mean colors, fonts, header style and any other settings from panel. In this case you will have to create your own posts and pages and customize them as you wish.
By default the theme does not create content for you, that is not its purpose. The theme handle only site’s layout. By this I mean how post/page will be displayed, how a specific part will be colored, when/where some posts will be displayed depending by user’s options. You can look at the demos as starting point in customizing the site. A demo it’s a site already built which can be taken as example when you start you own site development.
I hope this helps.
Thanks!
Hello there,
I had an advert in my header using the theme panel – it had the format [uam_ad id=”17250″]. I was using the plugin Ultimate Adverts Manager and it was working perfectly. I just updated the plugin and the header has disappeared! I have contacted support with the plugin providers, but I was checking if there’s something the theme doesn’t support? Should I be putting an execute code instead?
Thanks in advance,
Farrah Gillani
Some time ago I posted a question on here trying to figure out how to remove AdSense on individual posts. I have figured out how to do it with the help of some online forums. However, I need someone’s help here at tag div to tell me where to implement the code.
After placing this code in the Newspaper-child/parts/header/ads.php right above the /head tag I am able to add individual post id’s like such.
<?php Global $ad_flg; $ad_flg=1; ?>
<?php $adsense_blck_post = array(7130); ?>
<?php if (in_array($post->ID,$adsense_blck_post,true)) $ad_flg=0; ?>
>>> http://postimg.org/image/4v4accd8r/
Now, to alter indivudal ad spots. I surrounded:
<?php
global $adsense_flag;
if($adsense_flag!=0) {
echo td_global_blocks::get_instance('td_block_ad_box')->render(array('spot_id' => 'post_style_12'));
}
?>
>>> http://postimg.org/image/tx9j3xoqz/
I just need to know where to find the rest of the code implementation. I’ve found the header and footer ad, smart lists ads, and ads on individual posts. However, I’m looking for the Article_top_ad and article inline ad. Could someone point me in the right direction.
Thanks!
Hello Catalin,
Yes you are right, I am using a Theme child, and i could fix it. The problem was in the “header.php” and “header-menu.php” files. It seems like you added a new styles there. I have updated these and now is working like a charm.
Thanks.!
Hi
Sorry for that, I’ve made a mistake.
Replace the above code with this one, it will make the menu centered only for desktop and tablets:
@media(min-width: 768px){
.td-header-style-7 .sf-menu {
display: table !important;
float: none;
margin-left: auto;
margin-right: auto;
}
}
Thanks!
Hi,
Width the code, the header and footer including menus will be full width: http://screencast.com/t/6ztV0o1PSauX unless you use a boxed header: http://screencast.com/t/dsLQWrhRQj
Thank you!
Hello,
The option does not depend on the header style. Please use this setting: http://screencast.com/t/CPobs5jid8b
Thank you!
Hi,
How about making it only centered on desktop but leave it like normal on mobile?
the menus stay inside the megamenu on mobile.
I’m trying to be creative and tried
.td-header-style-7 .sf-menu {
display: table !important;
float: none;
margin-left: auto;
margin-right: auto;
}
@media(min-width: 768px){
.td-header-style-7 .sf-menu {
display: none;
float: none;
margin-left: auto;
margin-right: auto;
}
}
and doesnt work :p
Hi
Try using media queries to make the css only for mobile and tablets. The code should look like this:
@media(min-width: 768px){
.td-header-style-7 .sf-menu {
display: table;
float: none;
margin-left: auto;
margin-right: auto;
}
}
Thanks!
Hi
Check this topic for more details in this regard: https://forum.tagdiv.com/topic/i-can-put-a-specific-page-completely-wide/ There I’ve offered a solution how to hide footer part from some specific pages. You can use a similar code for header part that you want to hide.
Thanks!
Hi, I’ve a request. I’m using Smartlist 7 for a post, but when I go to next or previous page, the page load from begin. Is it possible for next release to set an anchor in the heading used by smartlist instead to show header for first? Or is there any solution right now?
Thanks
Hi,
I’m trying to center main menu on newsmag head style 7 with these code:
.td-header-style-7 .sf-menu {
display: table;
float: none;
margin-left: auto;
margin-right: auto;
}
it worked, but when I checked on mobile… it looked like this
http://www.screencast.com/t/tZ3gYy7cqfaB
can you help me?
here’s the url http://www.bukusakumama.com/
thanks
Hello sir, i have an extra question here…
By applying above code we have full width footer BUT can you guide me how can i have both footer and header area including MENUS full width. I am badly in need for this solution.
.td-transition-content-and-menu{
margin-top: 254px;
}
i used to use this line. i have the newspaper 7.0.1
Hi,
I’m currently using Style 12 for header, so I have the logo in navbar & I think the ‘home’ button isn’t neccessary to appear next to it, is there anyway i can hide it?
Thanks.