- NewsmagLogo & Favicon
- NewsmagWhat’s included in Newsmag theme package
- NewsmagMain menu
- NewsmagHeader styles
- NewsmagFooter templates
- NewsmagTheme colors introduction
Reviewing the problem of someone else in the forum, I found the solution to a problem.
Site logo has black background #000000 (on the site for computers and solve it), I’m using the style header 5 (black header), but the color is not the same as it has the logo, reviewing the forum I found this code:
.td-header-wrap .td-header-menu-wrap-full, .td-header-wrap .td-header-menu-wrap, .td-header-wrap .td-header-top-menu-full, body .td-header-wrap .td-header-main-menu {
background-color: #000000!important;
}
And I worked alone in the post, but in HOME and all looks the same category. In post everything perfect but in all categories and not turned Header.
*In the footer of all categories HOME and the same thing happens(in mobile), the logo has black color, but the color of footer is not #000000
I figured it out. For some reason when I played around with the theme and added a logo to the main nav bar, the rest of the demo started to appear the way that it should
I can’t find this…..td_video_support.php…..file
I have tried to check it in this….Stylesheet (style.css) which came with newsmag, but the only place they are talking about a video is this line…
embed
*/
embed {
width: 100%;
}
.videopress-placeholder {
width: 100% !important;
}
.videopress-poster {
height: auto !important;
width: 100% !important;
}
.video-player {
width: 100% !important;
}
…..
Again, there is a line that has mentioned youtube…
It says…..}
.td-icon-youtube:before {
content: ‘\e836’;
}
GOING BY Newsmag: td_config.php (includes/td_config.php)
file, There is a mention of ;featured video. But I couldn’t see the line which I have to edit.
……..
td_global::$td_wp_admin_text_list = array(
// the text for wp-admin -> new post -> featured video box. Usually is the text that tells what post templates support video
‘text_featured_video’ => ‘
<div class=”td-wpa-info”>Paste a link from Vimeo or Youtube, it will be embedded in the post and the thumb used as the featured image of this post. <br/>You need to choose Video Format from above to use Featured Video.</div>
<div class=”td-wpa-info”>Notice: Use only with those post templates:
- Post style default
- Post style 1
- Post style 2
- Post style 3
- Post style 8
</div>’,
// admin panel – header
‘text_header_logo’ => ‘Text logo for header Style 10:’,
IF I HAVE TO DO IT MYSELF, I AM NOT FAMILIAR WITH PLAYING AROUND WITH THOSE CODES. IS THERE ANYONE WHO CAN ASSIST ME? OR WILL YOU GUIDE ME?
Hi,
I’d like to add a custom button just beside the search button(I’m using Newspaper Black edition) How can I customize? Currently I’m editing in my child theme the file header-menu-h1.php
this is my code
<div id="td-header-menu" role="navigation">
<div id="td-top-mobile-toggle"><i class="td-icon-font td-icon-mobile"></i></div>
<div class="td-main-menu-logo td-logo-in-menu">
<?php
if (td_util::get_option('tds_logo_menu_upload') == '') {
locate_template('parts/header/logo-h1.php', true, false);
} else {
locate_template('parts/header/logo-mobile-h1.php', true, false);
}?>
</div>
<?php
wp_nav_menu(array(
'theme_location' => 'header-menu',
'menu_class'=> 'sf-menu',
'fallback_cb' => 'td_wp_page_menu',
'walker' => new td_tagdiv_walker_nav_menu()
));
//if no menu
function td_wp_page_menu() {
//this is the default menu
echo '<ul class="sf-menu">';
echo '<li class="menu-item-first">Click here - to select or create a menu';
echo '';
}
?>
</div>
<div class="">
<?php $posts = get_posts('orderby=rand&numberposts=5'); foreach($posts as $post) { ?>
" title="<?php the_title(); ?>"><i class="fa fa-random" aria-hidden="true"></i>
<?php } ?>
</div>
<div class="td-search-wrapper">
<div id="td-top-search">
<!-- Search -->
<div class="header-search-wrap">
<div class="dropdown header-search">
<i class="td-icon-search"></i>
<i class="td-icon-search"></i>
</div>
</div>
</div>
</div>
<div class="header-search-wrap">
<div class="dropdown header-search">
<div class="td-drop-down-search" aria-labelledby="td-header-search-button">
<form method="get" class="td-search-form" action="<?php echo esc_url(home_url( '/' )); ?>">
<div role="search" class="td-head-form-search-wrap">
<input id="td-header-search" type="text" value="<?php echo get_search_query(); ?>" name="s" autocomplete="off" /><input class="wpb_button wpb_btn-inverse btn" type="submit" id="td-header-search-top" value="<?php _etd('Search', TD_THEME_NAME)?>" />
</div>
</form>
<div id="td-aj-search"></div>
</div>
</div>
</div>
Notice the div before td-search-wrapper div class.
I’m trying to add a random article button beside the search button. But my template is broken after I add a class to the div like this: “td-random-article-wrapper” should I register that class first? I can’t seem to find the documentation for templates?
Thanks
Hi
Thanks for your response, however all those configurations were already set up and appear to be identical. I have two local environments set up side by side with separate installs and have matched the settings in the Theme Panel yet it still isn’t allowing me to have a large top centre logo image of 1920×580 pixels (as representative in the demo link) it just remains a small thumbnail size???
Do you have any other possible solutions/remedies?
Kind Regards
I am wanting to recreate the the large logo area (Theme Panel – Style 10 – full logo on top + centre menu) as seen in this demo:
http://demo.tagdiv.com/newspaper_cars/
I have tried to configure the setting to emulate this example on a fresh install of WordPress but it doesn’t seem to allow for the same scale as in the demo?? Failing to see where i am going wrong so if anyone has a solution to this issue it would be very much appreciated.
Hello khabor,
I have checked your website and I inspected the size of your logo. As you can see, your original size for your logo is this -> http://screencast.com/t/h13sxSNams9 Also, I have noticed that you are using the Header Style 9, the template which displays the logo on full width -> Yes, it is correct your logo is displayed on full width but please notice that the size of your logo is too small, like this -> 300*43 px (width=300px and height=43px) and probably that’s why seems so small your logo. The theme does not enlarge your photo because the quality of it will be damaged. The only alternative in this regard would be to change your logo and replace it with another big one. I can give you some CSS for enlarging your logo but this will not bring the expected results.
Try the code below ->
.td-main-logo img {
width: 800px;
height: 115px;
}
The result you should see here -> http://screencast.com/t/rTcNDpmxM
Thanks for your understanding!
i want full width logo (width 100% and height : 115 ) in header section. how to do that i upload a logo but its only take few space . http://www.weeklybornomala.com
Hello Boddickerdk,
If you want to change the space between the logo and the menu please try the code below and place it in Theme panel->Cusotm CSS area.
The code is ->
.td-header-style-1 .td-header-sp-logo {
margin-bottom: 10px!important;
}
.td-header-style-1 .td-header-sp-recs, .td-header-style-1 .td-header-sp-logo {
margin-bottom: 10px;
}
The result you should see here -> http://screencast.com/t/uYXxspl6
The code is ->
.sf-menu ul li{
background-color:green!important;
}
The result -> http://screencast.com/t/emQnHXK0xPD
Hope this helps!
Thanks for your understanding!
Hi, I edited out the sensible info..
I replied via email but like i previously replied, there is no ad spot like that . if you want to have 2 header ads left a d right of the logo, you need to create a whole new header style from scratch and it will not be easy to do. If you do not know the steps you need to take in this regard I suggest hiring a developer to help with the code as this falls beyond the scope of the theme support.
Thank you!
Hello jan,
The menu items are positioned based on the header style that you use. Please choose another header style that has a centered menu if this is what you are after: https://forum.tagdiv.com/header-styles/
If you want to hide the logo, then simply do not add any instead of adding a logo and removing it with css: http://screencast.com/t/UbSeTh81lB8p The sticky menu can use the mobile logo: http://screencast.com/t/8U08kDtW
Thank you!
Hi
As depicted in the picture I want to reduce the space between the logo and the menu. And secondly I can’t seem to find the place where to change the color in the submenus
– Jesper
Hello Bogdan,
we are trying and trying to do that bu without success. I got the code from Adsense (I created a “display only” ads, with automatic size and that’s the code:
<script async src=”//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js”></script>
<!– 2 logo boxes –>
<ins class=”adsbygoogle”
style=”display:block”
data-ad-client=”ca-pub-#”
data-ad-slot=”7150674095″
data-ad-format=”auto”></ins>
<script>
(adsbygoogle = window.adsbygoogle || []).push({});
</script>
can you please put it on the left and right of the logo, please? We use Header n° 10.
http://www.praguemorning.cz/wp-admin/
user: #
pass: #
please would be a great help from you!
thanks a lot
-
This reply was modified 9 years by
Bogdan B..
It is possible to hide a page on the menu from a logout user using custom code in the theme panel, and then show when he is logged in?
Thanks
Hello,
thanks for the feedback. now i boxed the content, hopefully there will be an update 😉
another question, i have disabled the logo in the header with this code:
.td-header-style-5 .td-main-menu-logo{
display: none;
}
can i hide it only in normal mode, but sticky menu should show the Logo.
And at the moment the menu-buttons are aligned to the left, can i center them?
have a nice evening, Jan
Hi,
You can customize the theme elements, not the demo. the demo is a predefined style. The options are found in the theme panel. if you have content you can find it as pages, posts and categories, widgets, menus logos, all in their designated spots in the theme. Please read the theme documentation to learn about the theme’s functionality: https://forum.tagdiv.com/newspaper-theme-documentation/
Thank you!
Hi team,
I want to use/show different logo for my website when I scroll from bottom to top.
Please see screen shot for more clarification
http://www.jogira.com/jogira.png
website URL : http://www.jogira.com
Please help
Thanks
Chandan Kumar Singh
This was across three different coworkers, using various versions of OSX.
After testing many things, it looks like the WP Smush plugin was somehow responsible for this image file being broken for safari users, reuploading the logo with that plugin disabled seems to have done the trick.
Hi,
For the footer logo, depending on the footer style used, you ned to alter these files: http://screencast.com/t/qKwdlAEjoIc
I hope this helps.
Thank you!
Hello Bogdan
Thanks for you fast reply. It worked, but only after I did the same also to the logo-text.php 🙂
Only the logo on the footer is still the same and is not effected by the change
and still links to the home of the blog.
What file and code I have to modify for the footer logo, to do the same and link to your Online Shop?
Thanks a lot
Alex
Hello,
1) Stretching the logo is a bad idea as it will loose lots of it;s quality .if you want a bigger logo, you will have to create a bigger logo in your photo editor. The theme cannot stretch it and prevent quality loss.
Here is an example of such a logo: http://demo.tagdiv.com/newspaper_cars/
Here is the size of your logo: http://themidfieldgeneral.com/wp-content/uploads/2016/08/Untitled-design-10.png and here is the size of the cars logo: http://demo.tagdiv.com/newspaper_cars/wp-content/uploads/2015/08/header-red-contrast.jpg
Here is an example of what happens if I try to stretch the logo: http://screencast.com/t/TKNCnSgWEeV
2) For mobile you are using the mobile theme plugin so there is a special footer location for the m,obile footer menu and the desktop footer menu, Please access the manage locations section of the menu and select menus for each location: http://screencast.com/t/AFl9HaVgM
Thank you!
Hello patilabo,
Please keep in mind that above I have you a basic example, what you can achieve to change the size for your logo. Please notice that is not a simple task to do that because all settings are related to each other. The logo from this type of header style has been designed to be inline with the menu items and the size of it will be automatically adjusted according on width devices. Unfortunately, we cannot provide custom work at the moment and if you are not aware of the steps which are needed to take in this regard, please consider hiring a freelancer/developer to help you or also, you can change the header style 5 with another one wich has the logo in full width, as example header style 10.
For more information about our header styles, please check here -> https://forum.tagdiv.com/header-styles/
Thanks for your understanding!
Hi Catalin,
Now i have another problem. A big one.
When i try to change something from the theme panel (as header option, insert logo, footer settings, …)
the theme does NOT respond to my action.
I remember that my website is ppp.alturas.it
Could you please help me?
Thank you
Hi Catalin,
thank you.
Now i have another problem. A big one.
When i try to change something from the theme panel (as header option, insert logo, footer settings, …)
the theme does NOT respond to my action.
I remember that my website is ppp.alturas.it
Could you please help me?
Thank you