- TutorialsDefault Block Settings Guide
Hello Atsouf,
You can use this custom CSS:
.td-header-style-10 .td-header-sp-logo{
background: white url('http://imgscenter.com/images/2014/09/13/Beauty-of-nature-random-4884759-1280-800.jpg') no-repeat;
background-size:cover;
margin-bottom: -48px;
height: 161px;
}
result: – http://screencast.com/t/X4RqsyyIK5Y
You can change the image url to your own and you can set the transparency of the header menu from the theme panel: http://screencast.com/t/4BiffM632yH.
Thank you!
Hello Gusti,
I have checked your menu and made a custom code for it.
You can use this custom CSS in your theme panel – http://screencast.com/t/NLpQ3GrX
@media (min-width: 768px){
.td-header-wrap .td-affix .sf-menu > li > a {
line-height: 30px !important;}}
Thank you
Hello,
i am using Newspaper 6.4 on wordpress 4.3
For my header + menu style i am using Style 10 (full logo on top + center menu) i dont want to use color but a bg image.
Can i have some help on teh css modification please?
Looking forward,
atsouf
Hi Pandian,
Sorry for the delay, we to not work on weekends.
1) You can see image sizes used in different locations in the theme panel: http://screencast.com/t/OpR8bRP5mA4f
2) use this custom css to style the slider header
.td_block_slide .td-slide-meta a{
background-color: rgba(77, 178, 236, 0.7)
}
3)You will have to update to the latest version to be able to use the new features. You will find a list of fixes for the 6.4 and 6.5 versions here: http://tagdiv.com/blog/
4) For the grey tint, try to regenerate your thumbs: https://forum.tagdiv.com/using-the-theme-with-existing-content/
Thank you
Hi
1. Are you referring at the main menu which is full width: http://screencast.com/t/DhgHeJVmhcmY If you want to modify it’s size like here: http://screencast.com/t/cZZWcAIMPTn please try this custom css in theme panel > custom css:
.td-header-style-10 .td-header-menu-wrap{
height: 44px;
width: 1021px;
margin-left: auto;
margin-right: auto;
}
If this is not what you mean please provide more details and your site url so I can provide a more accurate answer.
2. You can add the page in menu from Appearance > Menus: http://screencast.com/t/HO1Q56N4ag Also you can find more details about how menus can be customized, in our documentation: https://forum.tagdiv.com/main-menu/ – https://forum.tagdiv.com/mega-menu/
Thanks!
Hello,
Try replacing your CSS code with this one:
@media (max-width: 767px) {
.td-header-top-menu-full, .td-header-top-menu-full .td-header-sp-top-menu {
display: block !important;
}
.top-header-menu li a {
font-size: 12px !important;
margin-right: 5px;
}
}
This should display your full top menu.
Thank you!
I have three ads running: header ad, footer top ad and Article bottom ad. The Article bottom ad does not open and I get an error message the “The image cannot be displayed”
All ads images link to other web pages and the header and footer ads work just fine.
What’s going on?
You can see it on any post page but here’s a link: http://howwesee.it/the-downside-of-community-marketing-events/
Hi peeps!
There’s only one question I have.
Basically, what I want to achieve is to add a clickable jpg image in the main navigation menu, but unfortunately I wasn’t able to find the piece of code. I don’t know if this is important, but I’m using “td-header-style-2” for the main menu. The image is practically a logo, but I don’t want to put it somewhere else.
And as a side note, the element .td_block_wrap from the Social Counter plugin has some padding-bottom that I couldn’t remove with local custom css, but only after I added negative padding to the following div. Not an issue though, as I found a good workaround.
Cheers!
how can I make a javascript code that I included in header.php is only in desktop version and NOT in the mobile version?
I have a problem with the mobile version:
I put the code of google double click to manage banners, but the mobile version I opened the fraudulent banner in mobile connection.
<script type='text/javascript'>
var googletag = googletag || {};
googletag.cmd = googletag.cmd || [];
(function() {
var gads = document.createElement('script');
gads.async = true;
gads.type = 'text/javascript';
var useSSL = 'https:' == document.location.protocol;
gads.src = (useSSL ? 'https:' : 'http:') +
'//www.googletagservices.com/tag/js/gpt.js';
var node = document.getElementsByTagName('script')[0];
node.parentNode.insertBefore(gads, node);
})();
</script>
<script type='text/javascript'>
googletag.cmd.push(function() {
googletag.defineSlot('/92719100/300x250', [300, 250], 'div-gpt-ad-1438xx-0').addService(googletag.pubads());
googletag.defineSlot('/92719100/728x90moviemedia', [728, 90], 'div-gpt-ad-1438xx-1').addService(googletag.pubads());
googletag.defineSlot('/92719100/800x300a', [800, 300], 'div-gpt-ad-1438xx-2').addService(googletag.pubads());
googletag.pubads().enableSingleRequest();
googletag.enableServices();
});
</script>
I need this code is not running on the mobile versions.
thank you 🙂
When I click on the email that’s sent to reset the password, the link leads to WP’s generic “lost password” page with a notice that says the reset password link is expired and WP’s generic “loss password” asks for my email again. When that sends a new link, that link actually works.
I’ve tried it multiple times. For some reason the link sent through the TD’s “loss password” keeps getting the message that it’s expired.
Hello,
Awesome theme! Absolutely awesome.. just ran in to a small problem lol.
We have advertising tags that display based on the category.
As example… NEWS,SPORT,ROS (rest of site) will all have the code display based on whether or not the post has that category OR, it’s the category they are viewing. There are also some categories that we have custom static images for but I see it’s already available to set a background image for a category but I don’t see option for URL. But, we can replace those with unique tags instead of static images so all I need to know is how do I get to set advert tags as background (so that it also displays like it does not boxed with background image set).
We have a <?php global $res_str;….. setup in the header then an example tag or start is this:
<?php global $res_str; ?>
<?php if($res_str == 'home'){ ?>
<script language="javascript">
<!--
if (window.adgroupid == undefined) {
window.adgroupid = Math.round(Math.random() * 1000);
}
document.write('<scr'+'ipt language="javascript1.1" src="http://adserver.adtech.de/addyn/3.0/1637/5594382/0/16/ADTECH;loc=100;target=_blank;grp='+window.adgroupid+';misc='+new Date().getTime()+'"></scri'+'pt>');
//-->
</script><noscript></noscript>
<?php }elseif($res_str == 'sports'){ ?>
<script language="javascript">
<!--
if (window.adgroupid == undefined) {
window.adgroupid = Math.round(Math.random() * 1000);
}
document.write('<scr'+'ipt language="javascript1.1" src="http://adserver.adtech.de/addyn/3.0/1637/5594387/0/16/ADTECH;loc=100;target=_blank;grp='+window.adgroupid+';misc='+new Date().getTime()+'"></scri'+'pt>');
//-->
</script><noscript></noscript>
<!-- End of JavaScript Tag -->
<?php }elseif($res_str == 'news'){ ?>
<!-- ADT News OVERLAY -->
<!--JavaScript Tag with group ID // Tag for network 1637: Blue Sky Publications- 365 // Website: The South African // Page: News // Placement: News - Overlay - 1x1 (5594383) // created at: Feb 24, 2015 10:26:55 AM-->
<script language="javascript">
<!--
if (window.adgroupid == undefined) {
window.adgroupid = Math.round(Math.random() * 1000);
}
document.write('<scr'+'ipt language="javascript1.1" src="http://adserver.adtech.de/addyn/3.0/1637/5594383/0/16/ADTECH;loc=100;target=_blank;grp='+window.adgroupid+';misc='+new Date().getTime()+'"></scri'+'pt>');
//-->
</script><noscript></noscript>
<!-- End of JavaScript Tag -->
<?php }elseif($res_str ==.... (continued)
Then it ends with ;
<?php }else{ ?>… Where ROS is rest of site, if none of the above met then that one will display.
<!-- ADT ROS OVERLAY -->
I have the code, the code setup I just don’t know how to replace the BACKGROUND IMAGE Part with the existing code we have.
I hope you can help. THanks!
I have the following problems
1. On my page the sidebar wont display
2. when i change the menu search code then a background appears on my ad ad the header
Finally, the problem is identified. I know nothing about @media coding and obviously missed a closing bracket when posting the style from the main stylesheet into the child stylesheet. THANK YOU, ALIN!
On a separate note, I noticed that on my mobile device (ipod touch), the travel header on the home page has a gold strip on the right side, as if the header image doesn’t stretch far enough. This doesn’t appear on my laptop screen. Perhaps the image size needs changing? Or is it another issue or setting that I missed? (If you would like this in a separate post, let me know)
Thanks,
Doug
Hello there,
I have trouble installing the essential Visual Composer plug-in. I have the theme installed via wordpress zip upload and accessed the newsmag tab->plugins to install but it does not work. I have also installed via FTP for both theme and js.composer plugin. Yet, the same error kept appearing as follows:
The plugin does not have a valid header.
Downloading install package from http://www.gamification.co/wp-content/themes/Newsmag/includes/plugins/js_composer.zip…
Unpacking the package…
Installing the plugin…
Destination folder already exists. /htdocs/wp-content/plugins/js_composer/
Plugin install failed.
I referred to other threads with the same issue. Should I send an email to contact@tagdiv.com and provide wp-admin and ftp access so you guys can take a look? Your help would be most appreciated.
Hi,
In addition to this code:
@media (max-width: 767px) {
.td-header-top-menu-full, .td-header-top-menu-full .td-header-sp-top-menu {
display: block !important;
}
.td-header-top-menu-full .td_data_time, .td-header-top-menu-full .menu-top-container, .td-header-top-menu-full .td-header-sp-top-widget {
display: none !important;
}
}
How can I add more menu items to the right side of Login/Register item?
Thanks for the great support
Hi! I have two questions:
1) I want to delete that fuzzy line below the header that appears on every page. Is there Custom CSS I can add to get rid of it?
2) I want to add a menu of subcategories to a page I’ve designed. What’s the easiest way to do that? I like the way it looks in the pages that are automatically generated by the theme.
3’d time’s a charm:
.td-category-header{
display:none;
}
Thanks
CATEGORY TEMPLATE where you add a header i want mine hide…right now i’m using style 6 but i reather don’t use any of them just remove them all from all my CATEGORY PAGES..hope this help you understand what i mean…
That css code not working my prev-next title not change color..
Hi Alin,
I understand what you say.
I think the fact that both Newspaper and the SEO plugins declare og and schema data creates conflicts.
That’s why I’ve had to remove some declarations hardcoded in theme’s header.php.
Now Google serves my META DESCRIPTION correctly for the Italian version.
I’d like to know which other SEO declarations have you hardcoded in your theme so have an easy way to find them!
Since you’ve already done an extensive SEO work on your theme, maybe you should consider integrating a SEO plugin in your theme =)
Thank you again!
Thanks but not that part,i want to remove the “header of the category” from each page means i don’t want too see it just the post..
-
This reply was modified 10 years by
Steven.
Hello,
As i understand it, you want something like this: http://screencast.com/t/zC48vZmrku9
It can be done by editing the header-menu.php: http://screencast.com/t/7gkjLnoh
If this is not what you mean, please provide more details.
Thank you!
is there a way to disable the header ad on mobile, for non-adsense ads?
thanks!
Hello Steven
As i understand you wan to remove ALL category page titles. If this is the case, this should do the trick:
.td-category-header h1 {display:none!important;}
Thank you
Hello
live dev site http://www.hellouk.net
We have a sub menu under header menu
is there any way to control the speed of jumping to next menu?
now it jumps to next menu to fast for us
thanks
I like to hide the category title from all over my site can i get a css code please…