- TutorialsDefault Block Settings Guide
Hi,
Glad you’ve managed to solve this! We consider your suggestion!
The search icon is added using fonts so it can be colored via css, like this: http://screencast.com/t/d45TvcKNvSW2
.header-search-wrap .td-icon-search {
color: red;
}
Thanks
Thanks so much for your response. Solving the H2 problem worked, but I can’t figure out hot o solve the H1 problem.
<h1><div class=”td-pb-span8 td-main-content”>
<div class=”td-ss-main-content”>
<div class=”td-page-header td-pb-padding-side”>
<?php echo td_page_generator::get_home_breadcrumbs(); ?>
</div></h1>
I used that code, but it has no effect on actually adding H1 to the title, so if you could please tell me how to do it, i’d really apreciate it.
Regarding the breadcrumbs title, i want to hide it completely from the page.
Hi,
Do you want to display top menu on mobiles as it was not designed for mobile screen and it hidden there. You ca try this custom css in Theme Panel > Custom Css to display top menu on mobile: http://screencast.com/t/vxH9YTZTX8V2
.td-header-top-menu {
display: block;
}
If this is not what you mean please provide more details.
Thanks!
thank you! but this error message occured
“Fatal error: Cannot redeclare td_wp_top_menu() (previously declared in /home/hosting_users/gnpmedia/www/wp/wp-content/themes/Newsmag/parts/header/top-menu.php:28) in /home/hosting_users/gnpmedia/www/wp/wp-content/themes/Newsmag/footer.php on line 27”
Hello, I don’t work here but can help with number 1 and maybe 2.
1. You need to put the full URL into the social fields for the buttons to show up in the footer or header. For example say your YouTube channel is ‘BestWebsiteEver’, then you will need to add: https://www.youtube.com/bestwebsiteever
The social widget sidebar plugin you only need to add the social media account name.
2. I am not sure on this but did you just create the ads? If so, it can take up to an hour for Google to start displaying them.
Hi,
You can make this change in header.php file: http://screencast.com/t/Hw7c5iUsr
Result: http://screencast.com/t/2sbaKggda
Also please use this css to center logo image on mobile: http://screencast.com/t/lbyOqdXa1
@media (max-width: 767px) {
.blog-stack .mobile-logo-wrap img {
left: 0px;
right: 0px !important;
}
}
Thanks!
-
This reply was modified 11 years by
Alin [tagDiv].
Hi,
Firstly great theme, love it!, i know very little about html coding and am finding wordpress and this theme very user friendly.
I have a couple of issues with my site im trying to work through maybe someone can help.
1) Social Buttons work in the TagDiv widget with FB/YT/Twitter when i enter the details there but for the top menu and bottom menu they dont work, i added the same info into the ‘Social Networks’ tab as i had for widget fields and it just take me to my website… eg for youtube i put channel/XXXXXX into the field, then when i click it goes to http://www.website.com/channel/XXXXXX instead of youtube. Am i making a mistake with the format?
2) Ad code, i made 2 types of ads in my adsense account, a 728 x 90 for the top banner and a ‘responsive’ ad for the sidebar (i figured these sound about right). I copied the code for the 728×90 one into the header adcode section and the responsive adcode into the sidebar section of themepanel>ads and saved but when i view my website there is no ads. Am i missing something here?.
3) Caching – is it better to disable W3 total cache while working on the site so i can see the changes reflected quickly live?, im finding in mozilla with ad blocker im having to use another browser to check what my updates look like and it behaves unpredictably (sometimes shows updates, sometimes not). When i did disable adblocker for my site page only all sorts of malware appeared on my computer subsequently i installed bitdefender and malwarebyte seems to have sorted it.
p.s im a newbie to all this stuff but trying hard and enjoying your theme and this learning curve alot 🙂
my website is http://tabletopminis.com (its still in early development)
Hmm that’s weird. I was opening the header.php with text edit on Mac and that was the only code that showed up. When I open the file with XCode, it shows everything…very odd. Needless to say I see it now, thank you once again.
I was looking in the child theme and regular theme, the header.php file is the exact same with the only line of code:
> itemscope="itemscope" itemtype="://schema.org/WebPage">
Hi,
I’m preparing to install DFP on Newspaper. I’ve run a test with a single ad unit that worked, but still may not be set up correctly. I’ve searched the forums on this subject, but still can’t seem to find a definitive set of instructions on setting this up correctly.
So, I have a few questions:
1) Is there a definitive instruction guide that I’ve missed? This would be ideal of course. I don’t need help setting up DFP, etc. Just knowing the best practice for installing the header code and body code into Newspaper / NewsMag.
2) If not, then can you confirm that this is the proper way to install DFP ad code in Newspaper?
A – Insert Header code into a plugin (like “Insert Headers & Footers) which will include it in the header code of every page.
B – Insert the matching body code into the desired ad unit within the Newspaper Ads System, replacing the previous Adsense code.
C – Repeat for each DFP Ad Unit
Is this it, or am I missing some critical added step?
3) I conducted my test similar to the process described in question 2 above, except I used a text widget in the Homepage sidebar for the body code. It seemed to work, but also seems to have caused some problems with the slider on the Homepage. At times the slider appears half-loaded – typically when I have made a change to the ad order on DFP. Are Newspaper and NewsMag compatible with DFP?
4) Is there a plugin that will let you insert headers and footers and ALSO specify them for individual pages (i.e. I have ads units for the home page that aren’t on other pages).
Thanks in advance for your help, TagDiv!
Hello, could somebody please help me / I don’t know what the problem is: my theme panel from Newspaper it totally blank starting from the layout settings ! I can only change thing in: Welcome / Header / Footer and Ads.
From there there is noting I can do. How is this possible ?
Thank you,
Coby
Hi,
I’m not sure where you looking for header.php, the file is in the root of the theme: http://screencast.com/t/XgXMd5oBiqs
Thanks!
Hi,
That can’t be done using theme settings and the height of it is determined by its content. You can try to do it via custom css though and set a minimum height for it, like this: http://screencast.com/t/2blWuXzqrM
.td-header-style-3 .td-top-menu-full {
min-height: 55px;
}
Thanks
Hello, so when I open the header.php in the child or regular theme, the only thing that’s in it is the following: > itemscope=”itemscope” itemtype=”://schema.org/WebPage”>
Hi,
Please provide an image with the settings used on the Theme Panel -> Header -> Logo section, also try to change the text logo and see if anything changes on the page – http://screencast.com/t/WWcTgywJ
Thank you, Emil G.
Hi there,
i want to use the Menu Style from the Classic Blog Template.
I know I can choose Blog Style for Header,
but i just want to have the look of the menu from Classic Blog,
how can i change this in custom css?
In the header i want to have normal style, Logo+Ad
and then i want to have the Menu from Classic Blog,
without underline and with hover text color…
Can u help me?
Thanks, Julia
Hi,
Please try to add it like this in the header.php – http://screencast.com/t/XHpJCgkKU3
And then use the other codes in Ads section from Theme Panel for example: http://screencast.com/t/DoGTPa1V4a
Thanks!
Hi,
The structure is the same on both cases – http://screencast.com/t/hIdtHGPwTm – http://screencast.com/t/Ud4wP5nf8X4X – the css makes the difference, try the following – http://screencast.com/t/vIbTYuap
You could also place the breadcrumbs under the title like this – http://screencast.com/t/sfqSGxzRuIn
.category .td-category-header .entry-title span {
background-color: transparent;
color: #222;
font-weight: 600;
font-size: 24px;
font-family: 'Open Sans',arial,sans-serif;
}
.category .entry-crumbs{
display: block;
}
Thank you, Emil G.
-
This reply was modified 11 years by
Emil G.
Hi,
There is an option in Theme Panel to disable it: http://screencast.com/t/Oyr2cSXhl7 this option will disable the header for all categories(if for all categories is set default). Or you can disable it for each category.
Thanks!
Hi,
I’m not sure what you mean. Do you refer to the logo image or that the logo and ad are displayed bellow the menu?
The logo is displayed fine on my side – http://screencast.com/t/ba3RFqfA please provide more details about this.
Did you made any custom modifications to the code?
Also if you want to display logo and ad above main menu, please edit header.php and by default the order must be like this – http://screencast.com/t/jzAiu6N41jr
If you use child theme please check there and after this clear cache if you use a cache plugin.
Thanks!
Thanks for the prompt reply. Hmmm… I am using an adsense code as output by our google doubleclick account. Here is the code I’m using in the “Header Ad” space in the theme panel..
<!-- /xxxxxxx/SouthWalton.com-468x60 -->
<script type='text/javascript'>
googletag.cmd.push(function() { googletag.display('div-gpt-ad-xxxxxxxxxxxx-0'); });
</script>
Is their something different I should be using?
Quick update re: placing leaderboard above menu. It does work when modifying header-style-5.php. Child didn’t work (and upon reviewing your documentation I now learned something more!), but direct edit did work.
Still, I did not like the look, so we’ll try other positions.
Thanks again guys!
Hello, I am currently with an ad company that uses DFP and when their ads don’t show I have my backup google adsense ads come in. In order for these ads to display, I was told I need to add the following code within the <HEAD>:
<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('/158056972/sneakerfiles_300x250_ROS', [300, 250], 'div-gpt-ad-1424368342288-0').addService(googletag.pubads());
googletag.defineSlot('/158056972/sneakerfiles_300x600_ROS', [300, 600], 'div-gpt-ad-1424368342288-1').addService(googletag.pubads());
googletag.defineSlot('/158056972/sneakerfiles_728x90_ROS', [728, 90], 'div-gpt-ad-1424368342288-2').addService(googletag.pubads());
googletag.pubads().enableSingleRequest();
googletag.enableServices();
});
</script>
Then in the ad spots I wanted I would ad code like this:
<!-- sneakerfiles_ros_160x600 -->
<div id='div-gpt-ad-1405608165645-0' style='width:160px; height:600px;'>
<script type='text/javascript'>
googletag.cmd.push(function() { googletag.display('div-gpt-ad-1405608165645-0'); });
</script>
</div>
<!-- sneakerfiles_ros_300x250 -->
<div id='div-gpt-ad-1405608165645-1' style='width:300px; height:250px;'>
<script type='text/javascript'>
googletag.cmd.push(function() { googletag.display('div-gpt-ad-1405608165645-1'); });
</script>
</div>
<!-- sneakerfiles_ros_728x90 -->
<div id='div-gpt-ad-1405608165645-2' style='width:728px; height:90px;'>
<script type='text/javascript'>
googletag.cmd.push(function() { googletag.display('div-gpt-ad-1405608165645-2'); });
</script>
</div>
I can’t seem to find the <HEAD> tag. I looked in header, but it’s just one line of code (in Child theme) same for the non-child theme.
Even if I add the top piece of code with one of the bottom in the ad panel under themes, they don’t display. How can I achieve this?
Thanks,
Please let me know how can one display menu categories on header in mobile.
Thanks..
