- TutorialsDefault Block Settings Guide
Hello to everyone.
I just installed child theme like 3 days ago.
i have take it from parent theme only these:
1)style.css
2)functions.php
3)comments.php
4)header-style1.php
My web site is: http://www.storypickers.com
I dont’t have any problem or something like that, but i was wondering do i need to take more files
from the parent theme?
For example if i want to modify any code or something to my web site, they tell my to put a code at header.php
But i don’t have a header.php. So, i need to take the header.php and put it at my child theme, or i need to put the code inside to the parent them to header.php???
Waiting for your reply wish to you king regards
Hi
I am a newbie on wp and this theme also.
I am trying to get hands on the demos.
I am currently using Travel demo.
How can I add a new category or page link the sub menu under destinations
Hello Schuchi,
I have inspected your problem and it seems it is a CSS related one. You have a custom css in your theme panel that overrides the default behavior of the ads on header style 7. http://screencast.com/t/nL1p5Un5.
Remove this code and everything will resume to normal.
Thank you!
Hi,
I have added following code for the header add:
<div class=”td-visible-desktop”>
<div id=’gba_Banner’>
<script type=’text/javascript’>
googletag.display(‘gba_Banner’);
</script>
</div>
</div>
<div class=”td-visible-tablet-landscape”>
<div id=’gba_Banner’>
<script type=’text/javascript’>
googletag.display(‘gba_Banner’);
</script>
</div>
</div>
<div class=”td-visible-tablet-portrait”>
<div id=’gba_Banner’>
<script type=’text/javascript’>
googletag.display(‘gba_Banner’);
</script>
</div>
</div>
<div class=”td-visible-phone”>

</div>
The problem is that both ads show on desktop and phone?
My site: http://test.leobennews.at
How can i solve this problem?
Please provide a link to your site so i can see which header style you are using. Different header styles have differently styled top-menus. Css modifications must be made individual for each style.
Thank you!
Hi,
Try to use this custom css in Theme Panel > Custom Css – http://screencast.com/t/uOTOuLlHXE
@media(max-width: 767px) {
.td-travel-header .wpb_text_column h1 {
margin-top: 0 !important;
padding-top: 40px;
}
}
Thanks!
Hi,
You can use do_shortcode function and display 2 custom ads bellow the menu for all pages like this:
*edit header template that you use(I guess it is default) and add the code – http://screencast.com/t/aSDNZlOzk
<div class="td-container">
<?php echo do_shortcode('[td_block_ad_box spot_id="custom_ad_1"]');?>
<?php echo do_shortcode('[td_block_ad_box spot_id="custom_ad_2"]');?>
</div>
*use this custom css in Theme Panel > Custom Css – http://screencast.com/t/dFXToqBr
.td-header-style-1 .td-a-rec-id-custom_ad_1 {
float: left;
margin-right: 20px;
}
.td-header-style-1 .td-a-rec-id-custom_ad_2 {
float: left;
}
Please not that this is an example how this can be achieved. For non-adsense code we suggest to use this div container and add a specific image size for each device – https://forum.tagdiv.com/header-ad/
If you use adsense code you can control the size from Theme Panel for each ad spot – http://screencast.com/t/Nczvl9AbRGHY
If you don’t have basic php/html/css experience I suggest to hire a professional developer to do this for you.
Thanks!
-
This reply was modified 10 years by
Alin [tagDiv].
-
This reply was modified 10 years by
Alin [tagDiv].
Hello panorev,
The login widget code is located here: http://screencast.com/t/1WbmtR7EO1ZS. it starts at ‘//show login widget’, all the way down to ‘//end login window’.
You need to remove this code from here and place it in ‘header-menu.php’. Just make sure to paste it inside the php tag: http://screencast.com/t/0lNGWYdxd2M
The result: http://screencast.com/t/TqjHfxFc
You will also need a bit of css to position it after moving it.
Thank you!
Hi,
1. Yes if your second install is apart of your product. Envato specifies that each theme can be used for one product (site/domain). You can read more about it here – http://themeforest.net/licenses/standard
2. Our blog is custom made and the theme doesn’t have an option for this, I suggest to hire a freelance to do this for you. What you can achieve with the theme adding a background image to the row using Visual Composer is – http://demo.tagdiv.com/newspaper_travel/
3. There is no blank page template(without header and footer). We have managed to provide a solution for this, please check this topic – https://forum.tagdiv.com/topic/how-do-i-create-a-completely-blank-page/#post-68273
Or 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!
Hello tradermaker,
You can do this by modifying the theme core files. The search widget code is located here: http://screencast.com/t/yrAd5ZjU80Xw. Just move it from ‘header-menu.php’ to ‘top-menu.php’. Insert it at the bottom of the file and the search widget should show up in the top bar.
You will need some custom css as well to position it.
The result: http://screencast.com/t/Swuz1T1K
Thank you!
Alin,
That got rid of the line. Thank you! However, I have a small issue with the header text now: the h1 title has moved to near the top of the header. Is there a way to add some padding to the top of the title for mobile display only (ipod)? (the text on my laptop screen is still fine).
Thanks,
Doug
When we view the theme on a mobile phone, the top header banner shows up just fine. We plan on having 14 side banner ads that run throughout the websites (on on the right column).
Where do we modify the code so that we can choose to include these ads in the mobile version?
Lastly, can we choose to have them show up after a post verses before a post on mobile? Not sure where to modify that code to include side banner ads or how to show where they show up within the mobile layout.
Thanks.

We are using the ‘default header style’ so that we can put a 728×90 ad to the right of the logo. Works great for mobile as well since the header banner shows up there too. However, we also need to put two banners in the main column under the navigation (see screencap below).
Two questions:
1. Where do we put the ad code so that the two ads under the navigation show up all the time on pages accept when you scroll down and get just the menu?
2. These ‘under nav ads’ also need to show up on mobile devices

Hi,
I want to move the Sign In/Join to the menu bar, so that it scrolls with the rest of the menu as the page is scrolled down. I’m currently using Header Style 8 (Hybrid 2). Is this possible? I also have the Custom Newspaper 6 Login Widget install from this forum. Basically I want to move it from Top Menu to the main menu so that user can bring up the login/register box any time.

Is there a way to build a navigation on the sidebar for the page? Like a table of contents on the side? And those will link directly to headers or title (or section) of the current page?
Similiar to bootstrap: http://getbootstrap.com/css/
There’s navigation on the side, and the content is all in the same page. Is this possible?
Thanks!
Hi Emil,
thanks for taking time to look into my problem.
I do use SEO by Yoast too and I’ve never touched the code in your theme until recently.
What’s puzzling me is that search engines don’t fetch what they should.
Meta description is random, there’re no categories in google search and so on.
Do you know anyone that can provide me paid SEO code assistance please?
This is the data structure output:
WebSite
url: http://italyze.me/
name: ItalyzeMe
potentialAction [SearchAction]:
target [EntryPoint]:
urlTemplate: http://italyze.me/?s={search_term_string}
query-input [PropertyValueSpecification]:
valueName: search_term_string
valueRequired: http://schema.org/True
SiteNavigationElement: http://italyze.me/td-header-menu
url: http://italyze.me/
name: ItalyzeMe
url: http://italyze.me/
name: ItalyzeMe
image: http://italyze.me/wp-content/uploads/2015/08/coltivazione-aglione-218×150.jpg
name: L’aglione della Val di Chiana
url: http://italyze.me/laglione-della-val-di-chiana/
image: http://italyze.me/wp-content/uploads/2015/08/consorzio-patata-rossa-cetica-min-218×150.jpg
name: La patata rossa di Cetica
url: http://italyze.me/la-patata-rossa-di-cetica/
image: http://italyze.me/wp-content/uploads/2015/08/paccheri-rigati-pomodoro-218×150.jpg
name: Paccheri o Schiaffoni?
url: http://italyze.me/paccheri-o-schiaffoni/
image: http://italyze.me/wp-content/uploads/2015/08/fugassa-ligure-218×150.jpg
name: La fügassa ligure
url: http://italyze.me/la-fugassa-ligure/
image: http://italyze.me/wp-content/uploads/2015/09/miele-218×150.jpg
name: Golosa luna di miele agli sposi!
url: http://italyze.me/golosa-luna-di-miele-agli-sposi/
image: http://italyze.me/wp-content/uploads/2015/09/gigli-pomodoro-mulino-218×150.jpg
name: Una sosta al Mulino Val d’Orcia
url: http://italyze.me/una-sosta-al-mulino-valdorcia/
image: http://italyze.me/wp-content/uploads/2015/08/carbone-218×150.jpg
name: Cucinare con la cenere
url: http://italyze.me/cucinare-con-la-cenere/
image: http://italyze.me/wp-content/uploads/2015/09/lavorazione-legno-attrezzi-ceppo-218×150.jpg
name: I bigonai del Casentino
url: http://italyze.me/i-bigonai-del-casentino/
image: http://italyze.me/wp-content/uploads/2015/09/moggiona-218×150.jpg
name: Moggiona tra monaci e artigiani del legno
url: http://italyze.me/moggiona-tra-monaci-e-artigiani-del-legno/
image: http://italyze.me/wp-content/uploads/2015/08/tortello-cetica-218×150.jpg
name: Andando per tortelli in Casentino
url: http://italyze.me/andando-per-tortelli-in-casentino/
image: http://italyze.me/wp-content/uploads/2015/08/monteriggioni-tramonto-218×150.jpg
name: La leggenda di Monteriggioni
url: http://italyze.me/la-leggenda-di-monteriggioni/
image: http://italyze.me/wp-content/uploads/2015/08/monteriggioni-campi-grano-218×150.jpg
name: Monteriggioni cuore ideale della Toscana centrale
url: http://italyze.me/monteriggioni-baricentro-ideale-della-toscana-centrale/
image: http://italyze.me/wp-content/uploads/2015/09/grifi-piatto-218×150.jpg
name: I grifi all’aretina
url: http://italyze.me/i-grifi-allaretina/
image: http://italyze.me/wp-content/uploads/2015/09/cecina-218×150.jpg
name: Cecina, Farinata, Caldacalda o cinque e cinque?
url: http://italyze.me/cecina-farinata-caldacalda-5e5/
image: http://italyze.me/wp-content/uploads/2015/03/pici-allaglione-218×150.jpg
name: I pici all’Aglione
url: http://italyze.me/i-pici-allaglione/
image: http://italyze.me/wp-content/uploads/2015/08/penne-al-pesto-closeup-218×150.jpg
name: Il vero pesto genovese
url: http://italyze.me/il-vero-pesto-genovese/
image: http://italyze.me/wp-content/uploads/2015/07/zuppa-del-tarlati-chef-vitale-218×150.jpg
name: Una zuppa del Tarlati da Chef
url: http://italyze.me/una-zuppa-del-tarlati-da-chef/
Hi,
Please add this custom css in Theme Panel > Custom Css:
.td-travel .td-travel-header:before {
width: 140%;
}
Let me know how it goes!
Thanks!
Hello Alessio,
In my reply above i showed you how to place an ad in a static page (your homepage).
If you want to display ads only here, you will need to remove them from other parts of your site.
http://screencast.com/t/2OOZQcOBf
You can read more in the ads section of our documentation: https://forum.tagdiv.com/header-ad/.
Thank you!
Hi Steven,
Here is the code you requested:
.td-drop-down-search.td-drop-down-search-open{
background-color: #000c20
}
.header-search-wrap .td-aj-search-results {
background-color: #000c20;
}
.header-search-wrap .result-msg a{
color:white;
}
It is hard to distinguish the searchbox from the background after the color change so if you want, you can add this border to it:
.td-drop-down-search.td-drop-down-search-open{
border:1px solid #032357;
}
results:
without border: http://screencast.com/t/3ID6nrp0U7k
with border: http://screencast.com/t/pISeqffQ
Thank you!
-
This reply was modified 10 years by
Bogdan B..
Hi Chris, Yes!! Your solution is that i am looking for. Thanks.
I have a little trouble with the image regeneration. Could you help me?.
The sizes that i am using in the index are:
Block 4 = 250 X 160
Block 16 = 218 X 150
Block 1 = 100 X 70 and 324 X 235
Block 7 = 100 X 70
Block 14 = 356 X 220
Then, the first i do is:
1) in the setup MEDIA Thumbnail sizes i put the following:
Small : 100 x 70
Medium: 250 x 160
Big : 356 x 220
2) Then i run the “Regenerate Thumbnail plugin” and i could see this..
Debugging Information
Total Images: 67
Images Resized: 0
Resize Failures: 67
function (){if(h){var d=h.length;!function f(b){m.each(b,function(b,c){var d=m.type(c);"function"===d?a.unique&&k.has(c)||h.push(c):c&&c.length&&"string"!==d&&f(c)})}(arguments),b?e=h.length:c&&(g=d,j(c))}return this}
And the last line is repeated a lot of times.
The good thing is that when i go to see the index, all images are now with perfect size.
But, finally, i must edit a news, and when i press <Save> appear the “white windows of death”, with this errors:
Warning: imagecreatetruecolor(): Invalid image dimensions in /Applications/MAMP/htdocs/wordpress-clean-new6.5/wp-includes/media.php on line 2130
Warning: imagecopyresampled() expects parameter 1 to be resource, boolean given in /Applications/MAMP/htdocs/wordpress-clean-new6.5/wp-includes/class-wp-image-editor-gd.php on line 198
Warning: imagecreatetruecolor(): Invalid image dimensions in /Applications/MAMP/htdocs/wordpress-clean-new6.5/wp-includes/media.php on line 2130
Warning: imagecopyresampled() expects parameter 1 to be resource, boolean given in /Applications/MAMP/htdocs/wordpress-clean-new6.5/wp-includes/class-wp-image-editor-gd.php on line 198
Warning: imagecreatetruecolor(): Invalid image dimensions in /Applications/MAMP/htdocs/wordpress-clean-new6.5/wp-includes/media.php on line 2130
Warning: imagecopyresampled() expects parameter 1 to be resource, boolean given in /Applications/MAMP/htdocs/wordpress-clean-new6.5/wp-includes/class-wp-image-editor-gd.php on line 198
Warning: Cannot modify header information - headers already sent by (output started at /Applications/MAMP/htdocs/wordpress-clean-new6.5/wp-includes/media.php:2130) in /Applications/MAMP/htdocs/wordpress-clean-new6.5/wp-admin/post.php on line 242
Warning: Cannot modify header information - headers already sent by (output started at /Applications/MAMP/htdocs/wordpress-clean-new6.5/wp-includes/media.php:2130) in /Applications/MAMP/htdocs/wordpress-clean-new6.5/wp-includes/pluggable.php on line 1207
The first that i have checked is if the GD library is installed. But YES!.. It is in my phpinfo.!
Searching in google i saw that the thumbnail must be in certain size or the resize isn’t work.
how it work?. How i can setup my own sizes?.
Regards.
Me again…
Problem was with some custom code I added in the header page that had a typo.
Cheers!
I removed the background color and also used background-repeat on the image (which helped on large screens), but the same issue exists on the iPod. Is there some kind of gradient overlay on the header that doesn’t stretch on mobile devices?
Doug
One more question, is it possible to set background, that header and footer won’t be boxed style.
Hi @Alin,
Not to hijack the thread, but I think @AilyRoot meant the overall website, not just the header.
I too am interested in a full screen website, similar to what is seen here: http://www.nomadicmatt.com/. You’ll see that the menu and other site elements go to the full width of the page.
Is this possible with the theme as it is now?
-
This reply was modified 10 years by
yajones.
Hello,
As i understand it, you want to add another menu, a third one, on the same row as the top menu.
If this is the case, then it is not at all easy to do. At the moment there are just 2 menus in the header: the top menu and the main menu. You will need to hire a developer to pull it off and we cannot offer custom work at the moment as we work hard on the development, updates, fixes and support, but you can hire a freelancer from sites like http://studio.envato.com/
Thank you!