- NewspaperHow to Add a Logo in Newspaper
- NewsmagLogo & Favicon
- NewspaperShortcodes
- NewspaperHow to Set the Image Avatar
- NewspaperThe Mobile Theme
- NewsmagWhat’s included in Newsmag theme package
- NewsmagMain menu
- NewsmagHeader styles
- NewsmagFooter templates
- NewsmagTheme colors introduction
- NewspaperFavicon & iOS Bookmarklet
- NewspaperHeader styles
- NewspaperWhat’s Included in the Newspaper Theme Package
Hi,
You can use header style 1 and alter this file and use a custom ad above logo – http://screencast.com/t/reDvpq9o6
div class="span4 td-header-style-1">
<?php
// show the header ad spot
echo do_shortcode('[td_ad_box spot_id="custom_ad_1"]');
?>
</div>
Also you need to change header ad to span4 – http://screencast.com/t/u33Ty5eZr
You may also need some css customization – http://screencast.com/t/W7MXCZYxkN
.td-header-style-1 .td-a-rec-id-custom_ad_1 {
margin-bottom: 0px;
}
.td-header-style-1 .td-a-rec-id-header {
top: 0px;
}
Thanks!
-
This reply was modified 11 years by
Alin [tagDiv].
Hallo,
I would be great having a central logo with a square ad banner before and after it.
Via css a moved the logo to the centre, please any advice to cope with the two banners?
Thank you in advance
regards
Hi,
I am wondering how to make a Home logo in sticky menu.
I know that I can make logo mobile. However, using the logo mobile, make the menu becomes 2 lines.
If I make the logo mobile very narrow, it does not look nice on mobile device.
Any solution for this?
thanks
st
Hi,
I’m not sure what you mean, I have checked your site and you have the logo image for mobile – http://screencast.com/t/DSUSxgOZ
Please provide more details about your issue.
Thanks!
Hi,
Please clear cache, as I have checked your site and the text logo is displayed on mobiles: http://screencast.com/t/F8JvMj7vaZB
Thanks!
I added the code in and it still does not work.
I originally had the following in the css in the theme panel in order to create the bold and font size.
.header-logo-wrap .td-logo-text {font-weight: bold;}
.header-logo-wrap .td-tagline-text { font-size: 20px; margin: 6px 0 0 30px; color: #222; }
I have tried it with and without your code and it still does not work on my Vodaphone Smart 3 mobile phone.
Vic
Hi,
The text logo was not designed to be displayed on mobile. You can use a logo image to be displayed on mobile or use this custom css if you don’t want that: http://screencast.com/t/fLmtqcKZ
@media (max-width: 767px){
.header-logo-wrap .td-logo-wrap-align {
height: auto !important;
}
.td-logo-text {
text-align: center
}
.td-logo-rec-wrap .header-logo-wrap {
display: block;
margin:10px auto 15px;
}
}
Thanks!
Hi,
Please try this custom css in Theme Panel > Custom Css: http://screencast.com/t/s0nucslcb
.header-logo-wrap {
float: none;
margin: 20px auto;
}
Thanks!
Hi,
We have changed the child theme system (for which we will have a documentation available soon) and because of that at the moment parts files can’t be overwritten via child theme. Until then please make you change in the main theme file.
You can also change the header style 8 if it is more easy for you with this code – http://pastebin.com/8Cp3ZnhA
And apply this css code in Theme Panel > Custom Css, I have tested and it works fine(is better also on tablets)- http://screencast.com/t/dqtb7Mir45p – http://screencast.com/t/Nuxb3Fj1Cnb
@media (min-width: 768px){
.td-header-style-8 .td-header-sp-ads {
width: initial;
}
.td-header-style-8 .td-header-sp-logo {
width: initial;
}
}
@media (min-width: 1024px) {
.td-header-style-8 .td-header-sp-logo {
margin-top: 20px;
}
}
I think that this is better solution because don’t need to add a fixed width(1021px) – it is already added. Just need to add minor css adjustments.
Thanks!
try this to see if work for you ? copy and paste the all top menu code:
<?php if (td_util::get_option(‘tds_top_bar’) != ‘hide_top_bar’) { ?>
<div class=”td-header-sp-top-menu”>
<?php
if (td_util::get_option(‘tds_data_top_menu’) == ‘show’) {
$tds_data_time = td_util::get_option(‘tds_data_time_format’);
if ($tds_data_time == ”) {
$tds_data_time = ‘l, F j, Y’;
}
echo ‘<div class=”td_data_time”>’;
echo date_i18n(stripslashes($tds_data_time));
echo ‘</div>’;
}
//show login widget
if (td_util::get_option(‘tds_login_sign_in_widget’) == ‘show’) {
//test if user is logd in or not
if ( is_user_logged_in() ) {
//get current logd in user data
global $current_user;
//<span class=”td-sp-ico-logout”></span>
echo ‘<ul class=”top-header-menu td_ul_logout”>
<li class=”menu-item”>’ .
get_avatar($current_user->ID, 20) . ‘‘ . $current_user->display_name . ‘<i class=”td-icon-logout”></i>’ .
‘
<li class=”menu-item”>
‘ . __td(“Logout”) . ‘
‘;
} else {
//check if admin allow registration
$users_can_register = get_option(‘users_can_register’);
//if admin permits registration
$users_can_register_tab = ”;
$users_can_register_form = ”;
$td_user_join = ”;
if($users_can_register == 1){
//add the Register tab to the modal window if Anyone can register chec
$users_can_register_tab = ‘
‘;
//add the Join text
//$td_user_join = ‘ / ‘ . __td(“JOIN”);
$users_can_register_form = ‘
<div id=”td-register-div” class=”td-dispaly-none”>
<div class=”td-login-panel-title”>’ . __td(“Register for an account”) .'</div>
<input class=”td-login-input” type=”text” name=”register_email” id=”register_email” placeholder=”‘ . __td(“your email”) .'” value=”” required>
<input class=”td-login-input” type=”text” name=”register_user” id=”register_user” placeholder=”‘ . __td(“your username”) .'” value=”” required>
<input type=”button” name=”register_button” id=”register_button” class=”wpb_button btn td-login-button” value=”‘ . __td(“Register”) . ‘”>
<div class=”td-login-info-text”>’ . __td(“A password will be e-mailed to you.”) . ‘</div>
</div>’;
}
echo ‘
<ul class=”top-header-menu td_ul_login”><li class=”menu-item”>Sign in / Join
‘;
}
}
//end login window
if (td_util::get_option(‘tds_top_menu’) != ‘hide’) {
//shows top menu
wp_nav_menu( array(
‘theme_location’ => ‘top-menu’,
‘menu_class’ => ‘top-header-menu’,
‘fallback_cb’ => ‘td_wp_top_menu’,
‘container_class’ => ‘menu-top-container’
) );
//if no top menu is set show link to create new menu
function td_wp_top_menu() {
echo ‘<ul class=”top-header-menu”>’;
echo ‘<li class=”menu-item-first”>Click here – to select or create a menu‘;
echo ‘‘;
}
}
?>
</div>
<?php } ?>
Hello,
Text Logo is not working at all on my mobile phone.
The website is:
Is there a fix for this?
Regards,
Vic
the link is http://www.deydaazra.com/cafetemp/
I’m using header style 1 and am referring to the desktop logo.
Thanks for your help.
thanks… followed your procedure, but the menu and top header area is not full width, which is what we want, but keep the logo and ad side by side.. a wondering if its because the header style 1 in the child theme folder is not overriding it.. I made the change in the child theme instead of the parent theme..
-
This reply was modified 11 years by
theankhlife.
I want to do it like Yoast with the <h1>. How can I wrap the logo in h1 like this on desktop and mobile?
<h1 class="site-title" itemprop="name"><meta itemprop="logo" content="http://cdn.yoast.com/wp-content/themes/yoast-theme/images/header/logo_x2.png"/>Yoast</h1>
Thanks!
Hi,
What header style do you use? Please provide the url so i can take a look. Do you refer to the desktop logo or the mobile logo?
Thank you, Emil G.
Hi,
Please use a header style that allow you to display the logo in full size like this one: http://screencast.com/t/DKd1k7FmHa
We recommend to use these divs for your banners – https://forum.tagdiv.com/ads-system-full-guide/ just replace image source and the link.
Thanks!
Nevermind. I added whitespace on the top and bottom of my logo and it fixed it.
Feel free to delete this thread. I can’t find an option to do it myself.
Hi,
Please try this custom css in Theme Panel > Custom Css for this: http://screencast.com/t/P2LtjFnLl – http://screencast.com/t/8eaCvPf1T
@media (min-width: 768px) and (max-width: 1023px) {
.td-stack-classic-blog .sf-menu a.sf-with-ul {
padding-right: 10px;
}
.td-stack-classic-blog .td-affix .td-logo-sticky {
display: none;
}
}
To achieve this for tablets view I had to hide the logo sticky menu.
Hope this helps!
-
This reply was modified 11 years by
Alin [tagDiv].
Hello,
First of all, I just recently purchased Newspaper and I absolutely love it. You guys did an amazing job. I had everything up and running in about an hour. I’ve probably had 10 prior templates and this is by far the easiest one and most customizable.
However, I have come across an issue. My ad in my header is getting cut off. Is this because my logo is too small and I need to add whitespace on the top and bottom to “widen” that area of my header? I’ve used both the custom ad I currently have, and Google Adsense and both are cutoff at the bottom. However, it appears perfectly on mobile/tablet, this issue only occurs when viewing via Desktop.
Here is a screenshot: http://i.imgur.com/ezn6YbX.png
My URL is FestivalSnobs.com
Thank You!
Hello,
I’m having an issue with ?=action URLs, I discovered it when trying to log out after updating my theme to the latest version.
When i click ‘logout’ the Url changes to this: [website url]/wp-login.php?action=logout&_wpnonce=[logoutcode]
And comes up with a blank page.
When going back to my site to see if i’m logged out, i’m still logged in – it hasn’t worked.
Any fixes for this?
Thanks!
Yes, but how can we use logo and banner in same spot, than logo it self above menu, and ad below it. we like style 8 setup, but like to have logo and banner side by side.
Greetings,
Recently installed Newsmag on my blog. Like the theme but have been running into a few problems.
-I would like to have the logo display at a larger size
-although the ads that I uploaded are all the same size, they do not display at the same size on site, some have padding and others do not, have can I get them to all display at the same size, particularly width
-I would like ads to open in new window, I am using built in ad system with custom ads, not Google Adsense
Any help appreciated, thanks!
Hi, we purchase your theme and would like to know how can we make lets say, we duplicate header-style8.php to header-style11.php, and we want that to show up in your theme panel, where would we have that file register, so it can take over the header.
we love the header8 setup, but don’t want the logo in that position, we rather the banner there and the logo in the menu instead, and where the ad initially was below the main menu, we will put something else there.
Hello Alin,
It works fine thank you ! Just one problem, when you move to another page you can see the logo grow up…
Is there a way to fix it ?
Thank you
PS : it’s better like this than seeing the logo move from center to left
Hi,
I have a problem with the position of my logo. I would like to have it on the center but it doesn’t work. I already chose center alignment but it is still on the left side. Would you pls be so kind to help me?
Thank you