- NewspaperHeader Builder
- NewsmagHeader styles
- NewsmagHeader ads
- NewspaperHeader ads
- NewspaperHeader styles
- 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
- NewspaperSearch setup for custom post type
- NewspapertagDiv Composer – Website Manager
- NewspaperBookmark – Save For Later
- NewspaperWooCommerce: Happy “Add to Favorites!”
- NewspaperModal Popup
- NewspaperFlex Block Settings Guide
- NewspaperPosts Loop Element
- NewspaperHow to Add a Logo in Newspaper
- NewspaperDefault Category Settings
- NewspaperWhen tagDiv Composer is Not Working
These errors are not important, but if you want you can add style="width:272px; height:90px;" in logo.php if you use header styles that use that logo size like default header: http://screencast.com/t/uGyqewx9
Result: http://screencast.com/t/PlJW8xot7x
Also you can do this for mobile logo altering logo-mobile.php
Thanks!
Thank you very much for the ads part. It was my fault i ddint see that i can fix easily.
But for the header logo we must find a solution.
Hi,
Try to add width and height to the banners something like this:
<div class="td-visible-desktop">
<a href="#" target="_blank"><img src="http://demo.tagdiv.com/newsmag/wp-content/uploads/2014/08/rec728.jpg" alt="" width="728px" height="90px" /></a>
</div>
Unfortunately for logo cannot be added width and height as when you change the header style also the logo size it’s changed. You can test also our demo, it has this error.
Thanks!
-
This reply was modified 11 years by
Alin [tagDiv].
-
This reply was modified 11 years by
Alin [tagDiv].
Hi,
Unfortunately header style 3 (also 6) use the same logo also on mobile view. It was initially created like this but we will change this in the Newspaper 5.
Thanks!
Hi,
Please check your custom modification to the header style 8 file maybe you forgot to close a div. Also try without these modification and see if you still have this issue with search bar appearing there.
Thanks!
Hi there,
I have 2 different logos, one for desktop view and one for mobile view.
I’m using the header style 3 but both type of views shows the desktop version logo.
How can I fix it?
Hi,
I’m not sure what you mean. You can set your header style from Theme Panel > Header section – http://screencast.com/t/rvoX3sQJlZpO and you can set a menu from Settings – http://screencast.com/t/UGegvCnqnR
Also you can import stacks: http://screencast.com/t/tfg1ZbJGhhs – http://screencast.com/t/XDgsOjSyzG6F
In our demo each stak is an example of a website so you cannot use different headers and menus on different page without custom modification – if this is what you mean, the theme doesn’t have an option for this. Unfortunately we cannot provide custom work as we work hard on development, updates and support.
Thanks!
YOu might look at the header template as starting point
Hello Emil, thanks for your last answer, I have more some doubts and I would be very grateful if you can help me:
1. You didn’t explained how to change the categories with this shortcode in your last answer, how can I do it? I believe is because of that when I click in the url of the category appears to me another layout in the header (5 images in the header not 3), I have to corret this problem too.
2. I´m having problems with the pagination of the homepage, for example when I click to go to the page 2 or 3 appears to me a 404 error.
3. When I build a new post, and select a featured image for the cover of that post, the image appears large in the top of the post, how can I disable this last functionality?
4. How can I put responsive blocks of adsense in the home page (as in the newspaper theme), I want to use the adsense in the header, and more 2 blocks between the content of the homepage.
5. How can I erase the texts “acessories / what´s news / windows phone etc”? (I didnt have this categories in my wp-admin)
6. My blog have 3 categories, how can I show these 3 categories in the homepage as in the image below:
in this case the categories of this image are “entretenimento” (entertainment) and “país” (country).
obs.: if the answers for some of these questions are in the documentation, please put the number of the question and the url of the section of the documentation.
-
This reply was modified 11 years by
paivadaniel.
Hello,
Could you tell me how can I do this like in the DEMO preview. You have different headers and menus in each style.
Thanks
Hi Alin, thank you for your help. It worked, however when I enabled again all the plugins, it is still working:).
I was able to put the codes in and save it, but I cannot see the ads on the website (header, sidebar and below article). Could you maybe navigate me where the problem can be?
Hi,
The top menu was not designed to work on mobile devices, that why there is no option to enable it. You can do this with custom css in Theme Panel > Custom Css, but you may need more css customizations when is displayed on small devices: http://screencast.com/t/jZUxEacY
@media (max-width: 767px){
.td-header-menu-wrap {
display: block !important;
}
}
Thanks!
obs.: just 3 images in the header.
Hi,
You can hide it via custom css in Theme Panel > Custom Css: http://screencast.com/t/C0L000Bb
.category .td-category-header .entry-title,.category .td-category-header .entry-crumbs {
display: none;
}
Thanks!
Hi,
Please try this custom css with default header style(style 1) and see how it goes: http://screencast.com/t/Ge2qhUqlQv
.td-header-sp-logo a {
height: 100px;
}
.td-header-sp-logo img {
width: 370px;
margin: inherit;
max-height: 100px;
}
.td-header-sp-logo {
width: 370px;
}
.td-header-sp-logo {
margin-bottom: 0px;
margin-top: 0px;
}
.td-header-style-1 .td-header-sp-ads {
display: none;
}
Thanks!
-
This reply was modified 11 years by
Alin [tagDiv].
Hi,
Please revert to the menu-header.php file and see if this works. If you did not have any megamenu when you made those modifications to the code(container, span12) it may be affected.
as Emil said this is no tested and you probably will need more css customization. You said that you have deleted the search so you will only need remove classes that Emil suggest above(just delete span11 and container words from the code). Please make a backup of your file first so you can revert if you don’t like the result.
Did you tried megamenu before you made modifications to the code and worked?
Thanks!
Great guys, I did that and it works fine but the text formatting is bad. I used code <?php echo "header text"; ?>
Need to set font-size, color, alignment, margins etc?
I basically want it right next to the logo. Vertically centred in the header-box (div.row 1200 x 120px) , aligned to the left with a margin of 30px.
Hi,
You can try to header style file and replace ad code with your text (code): http://screencast.com/t/pAbTrVGQ4S
Thanks!
Hi,
Please follow this topic and create a new page template: https://forum.tagdiv.com/topic/get-rid-of-the-header-footer-sidebar/
Hope this helps!
I think you can just edit the header file and put the block of text where the ad normally goes.
Edit the template for the layout “style” you want to use.
Hi,
On mobile device, when i try “pinch to zoom” feature in my mobile handset i am getting logo header issue, were the logo and the menu is not in alignment and it gets scaled
http://www.screencast.com/t/LqFY3AacGr
Request some help in fixing the issue
Regrads
Hello,,
Is it possible to handle this header, if he could help smaller how to do that?
Okay. And ?
The htaccess file does nothing whatsoever related to “render blocking” CSS/JS; that is not its purpose.
The htaccess file gives directives for the server, running “above” the site for caching, expiration, redirects, etc.
Mod_Pagespeed settings won’t do anything unless your server has that.
Obviously your permalink structure for WordPress should be in your file (missing from your example).
You don’t need two sets of expire headers (!).
All of the above is to help with optimization of page loading — nothing to do with HOW the content loads on the page (aside from mod_pagespeed of course).
The only way to optimize for the CSS/JS render blocking is to build custom site without all the bells and whistles and custom load content in groups; and you can optimize some of that with the tagdiv speed booster plugin.
this is my htaccess file
<IfModule mod_deflate.c>
<filesMatch "\.(js|css|html|php)$">
SetOutputFilter DEFLATE
</filesMatch>
</IfModule>
# Pagespeed Module
<IfModule pagespeed_module>
ModPagespeed on
ModPagespeedEnableFilters collapse_whitespace
ModPagespeedEnableFilters remove_comments
ModPagespeedEnableFilters rewrite_images
ModPagespeedEnableFilters insert_dns_prefetch
</IfModule>
# Pagespeed Module
# BEGIN Expire headers
<ifModule mod_expires.c>
ExpiresActive On
ExpiresDefault "access plus 5 seconds"
ExpiresByType image/x-icon "access plus 604800 seconds"
ExpiresByType image/jpeg "access plus 604800 seconds"
ExpiresByType image/png "access plus 604800 seconds"
ExpiresByType image/gif "access plus 604800 seconds"
ExpiresByType application/x-shockwave-flash "access plus 604800 seconds"
ExpiresByType text/css "access plus 604800 seconds"
ExpiresByType application/x-font-woff "access plus 604800 seconds"
ExpiresByType text/javascript "access plus 604800 seconds"
ExpiresByType application/javascript "access plus 604800 seconds"
ExpiresByType application/x-javascript "access plus 604800 seconds"
#ExpiresByType text/html "access plus 600 seconds"
#ExpiresByType application/xhtml+xml "access plus 600 seconds"
</ifModule>
# END Expire headers
# END WordPress
AddType text/javascript .js
AddType application/vnd.ms-fontobject .eot
AddType application/x-font-ttf .ttf
AddType application/x-font-opentype .otf
AddType application/x-font-woff .woff
# BEGIN Expire headers
<IfModule mod_expires.c>
ExpiresActive On
ExpiresDefault "access plus 5 seconds"
ExpiresByType image/x-icon "access plus 2500000 seconds"
ExpiresByType image/jpeg "access plus 2500000 seconds"
ExpiresByType image/png "access plus 2500000 seconds"
ExpiresByType image/gif "access plus 2500000 seconds"
ExpiresByType application/x-shockwave-flash "access plus 2500000 seconds"
ExpiresByType text/css "access plus 700000 seconds"
ExpiresByType text/javascript "access plus 700000 seconds"
ExpiresByType application/javascript "access plus 700000 seconds"
ExpiresByType application/x-javascript "access plus 700000 seconds"
ExpiresByType text/html "access plus 600 seconds"
ExpiresByType application/xhtml+xml "access plus 600 seconds"
ExpiresByType font/truetype "access plus 2500000 seconds"
ExpiresByType font/opentype "access plus 2500000 seconds"
ExpiresByType application/x-font-woff "access plus 2500000 seconds"
ExpiresByType image/svg+xml "access plus 2500000 seconds"
ExpiresByType application/vnd.ms-fontobject "access plus 2500000 seconds"
</IfModule>
# END Expire headers
# BEGIN Cache-Control Headers
<IfModule mod_headers.c>
<filesMatch "\.(ico|jpe?g|png|gif|swf)$">
Header set Cache-Control "public"
</filesMatch>
<filesMatch "\.(css)$">
Header set Cache-Control "public"
</filesMatch>
<filesMatch "\.(js)$">
Header set Cache-Control "private"
</filesMatch>
<filesMatch "\.(x?html?|php)$">
Header set Cache-Control "private, must-revalidate"
</filesMatch>
</IfModule>
# END Cache-Control Headers
<IfModule mod_headers.c>
Header unset ETag
</IfModule>
<IfModule mod_alias.c>
RedirectMatch 403 /xmlrpc.php
</IfModule>
Hi guys,
Love the theme but need a different header set-up since I’m not using the ads.
I’d like to have on the right from the logo a text strapline. Or even better a html block to insert the usp’s. How can I do this?
Thx
