No search results were found in Documentation!
Hey,
the top menu is deactivated in mobile view because it looks better without. But then there is no Login/Logout/Register button for users. So I changed the menu-mobile.php to this:
I think this isn’t the best solution but it works fine. When user is logged in there is a logout button and when user isn’t logged in there is a login/register button in mobile menu.
Hope it will help you.
<?php
/* ----------------------------------------------------------------------------
This is the mobile off canvas menu
*/
?>
<div id="td-mobile-nav">
<!-- mobile menu close -->
<div class="td-mobile-close">
<a href="#"><?php _etd('CLOSE', TD_THEME_NAME); ?></a>
<div class="td-nav-triangle"></div>
</div>
<div class="td-mobile-content">
<?php
wp_nav_menu(array(
'theme_location' => 'header-menu',
'menu_class'=> '',
'fallback_cb' => 'td_wp_no_mobile_menu'
));
//if no menu
function td_wp_no_mobile_menu() {
//this is the default menu
echo '<ul class="">';
echo '<li class="menu-item-first"><a href="' . esc_url(home_url( '/' )) . 'wp-admin/nav-menus.php">Click here - to use the wp menu builder</a></li>';
echo '</ul>';
}
?>
<ul>
<?php
if ( is_user_logged_in() ) {
echo '<li class="menu-item"><a href="' . wp_logout_url(home_url( '/' )) . '"> LOGOUT</a></li>';
} else {
echo '<li><a href="#login-form">LOGIN/REGISTER</a></li>';
}
?>
</ul>
</div>
</div>
Hi,
Not sure what you mean, do you need to have the logo on full width? If so please use one of theme’s header with full logo, header styles 9/10/11: https://forum.tagdiv.com/header-styles/ Let us know if this is not what you need and provide more details in this regard.
Thanks
Hi Catalin,
I was added last code but That Code is Working at Main Menu at style 2
See here: http://www.screencast.com/t/flS3Nb21KP
I want to make border below logo and ad in header style 2, So please provide me Dear. and give me hint CSS code fixing Place.
Thank You
-
This reply was modified 10 years by
Aditya.
Hi Catalin,
I was added last code but That Code is Working at Main Menu at style 2
I want to make border below logo and ad in header style 2, So please provide me Dear. and give me hint CSS code fixing Place.
Thank You,
Hi,
You could try this custom css in Theme Panel > Custom CSs -http://screencast.com/t/TvuZ3DjQcrxt but please note that it also depends of your image size(you have to use a bigger logo than the Travel, I have modified the image size):
@media(min-width: 768px) {
.td-header-style-5 .td-main-menu-logo {
height: 100px;
position: absolute;
}
.td-header-style-5 .td-main-menu-logo img {
max-height: 100px;
}
.td-header-style-5 .sf-menu {
float: right;
}
}
Thanks!
I am using the travel demo magazine with header 5.
How do I make the logo size bigger?
Is it possible to make the image float over the top of the background graphic on the demo content?
Hello,
Using Newspaper V6.5.1, I tried changing this CSS:
.td-header-style-3 .td-header-sp-logo {
width: 224px;
margin-left: 0;
}
to this CSS in “Tablet landscape”:
.td-header-style-3 .td-header-sp-logo {
margin: 21px 20px 0px 0px!important;
width: 300px!important;
height: 100px!important;
}
…but the changes are not taking effect.
I’ve also made similar !important changes in Tablet Portrait which aren’t taking effect either. Modifications in both tablet Advanced CSS areas don’t even show in browser debugging.
However, changes I’ve made in Desktop (1141px +) ARE taking effect… even without adding “!important”.
Am I doing something wrong?
Thanks you
All sorted.
I do want to make the logo centred and fuller though:
See here: http://take.ms/qra6R and Here: http://take.ms/XGUog
Hi
Try this css in theme panel > custom css: http://screencast.com/t/WIlobisQXp
@media(min-width: 768px){
#td-header-menu .sf-menu > li > a, .sf-menu ul .td-menu-item > a{
font-size: 8px;
font-weight: normal;
}
}
.td-header-main-menu{
height: 30px;
top: 15px;
}
.td-main-menu-logo, .sf-menu{
position: relative;
top: -5px;
}
You can modify the values as you like.
Thanks for the suggestion, I’ve added it on our list and we will consider it for next theme updates but we must choose carefully what features will implement as we have over 250 requests on our list, and the user always must get what is best from us.
Thanks!
-
This reply was modified 10 years by
Andrei L..
Hello,
The theme was built in such a way that there are 2 header styles (in your theme version) that do not pick up the mobile logo. These are style 3 and style 6. You are using header style 3 and this is a normal behavior of the theme, not a bug.
You could try to alter the theme files to force it to pick up the mobile logo but this requires custom work which unfortunately we cannot provide.
I hope this helps.
Thank you!
Hi;
I’m using woocommerce plugin. I want to use different header (logo+menu) content for shopping pages and blog pages. Is it possible?
Thanks
Hey,
Thanks. Looking better but it is still displaying the PC logo on mobile.
I use two different logos, one for destktop and one for mobile display.
They are properly loaded in the theme panel so I don’t get why it’s not working.
Hi Aditya,
It is necessary to make some changes in style header-2 template for your customization like this:
http://screencast.com/t/pc3Td0DV and then try a bit of custom CSS below:
.td-header-style-2 .td-header-sp-logo {
margin-left: auto;
margin-right: auto;
}
.td-main-page-wrap {
padding-top: 22px;
border-top: 1px solid black;
}
The result you can see here: http://screencast.com/t/RHnTMiayh7y
Thank you and let us know how it goes!
Hi JDF,
I’ve checked your site and i saw your problem. Please try a bit of custom CSS like this:
@media (max-width: 767px)
.header-style-3 .td-logo img {
right: -75px;
}
Also please remove this CSS style:
@media (max-width: 767px)
.header-style-3 .td-logo img {
width: 35px!important;
}
The result you can see here: http://screencast.com/t/kirDo2EGY
Thanks and let us know how it goes!
-
This reply was modified 10 years by
Catalin.
Hello
time to time if we have sessions lost like
unlike your newspaper ‘s pop-up login page, there will be a wordpress logo shown with url linked to wordpress, how to replace that logo and url?
thanks
i want to make Header Style 2 Logo + ad after I did make a full border. like header style 11 border
Hi,
Thanks for your answer
I just cleaned all my custom css and deleted all the unnecessary stuff. Also I desactivated the plugins.
The error might be in the following lines (I copy pasted most from the other topics…..)
@media (max-width: 767px) {
#td-top-menu{
display: none !important;
}
.td-sp-ico-menu {
background-position: -20px -364px !important;
}
.blog-stack #td-top-search {
position:absolute!important;
right: 0px!important;
top: 0px!important;
}
.blog-stack .header-search-wrap .dropdown-menu{
left:-270px!important;
}
.header-style-3 .container-fluid{
position:relative!important;
left:-45%
}
.header-style-3 {
height:12px;
}
.header-style-3 .td-logo img{
width: 35px!important;
}
.block-title a, .block-title span, ul.td-category a, .td_social .td_social_type {
background-color: transparent;
color:#000000;
}
.td_block_wrap .block-title a{
color:#333333;
}
.blog-stack.td-boxed-layout .td-menu-wrap {
background-color: transparent;
border-bottom: 1px solid #ebebeb;
border-top: 0px solid #ebebeb;
}
.td_d_slug_1 {
display: none;
}
.clearfix{
height: 40px;
}
Sorry to bother you, I’m not good at this.
This is how I’m seeing it now, http://hpics.li/5c19f00
it displays the PC logo in miniature. Also the menu and search icons aren’t centered at they used to be.
Thanks for your assistance
Thanks for your reply Bogdan.
Your suggestion is right but when I browse from mobile login/logout link will be hidden to the menu. Rather it should to be displayed in replace of search icon in mobile view.
To be precise a drop down needs to be displayed in right top corner(mobile and desktop view)
Please let me know your thoughts.
Thanks
Hello @JDF,
I’ve checked your logo on our site and everything seems to be good: http://screencast.com/t/coOE8pozp4V7 .
Please try it without any plugins. Remove all plugins except Visual Composer and the social icons. It could be a conflicting plugin. I also found some errors in your console: http://screencast.com/t/PcDrJEaSsQ
Let us know how it goes.
Thanks.
Thank You Alin,
I know how to manage the newspaper’s background but I want something more : i need to put the background before my logo exactly like my example (for an other example : http://www.allocine.fr/). I would like to have a background all over my window. You know what I mean ?
Thanks again
Hi,Catalin
I’m selecting Style 2. I only had to css code for border. below Logo+add
Like That – http://www.screencast.com/users/addyshon/folders/Default/media/630e8d7e-0eca-4f48-af70-e20f8cd9386e
Hello,
Unfortunately there is no option to upload a second logo to the sticky menu. You will need custom modifications to do that.
You can on the other hand more easily style it with CSS:
As a suggestion, you can add a white background color to the logo and you can position it a bit lower and maybe add a rounded border to it if you like, something like: http://screencast.com/t/IVIePZFm
@media (min-width: 768px){
.td-header-wrap .td-affix .td-main-menu-logo img {
max-height: 48px !important;
background-color: white;
margin-top: 20%;
border: 1px solid white;
border-radius: 10px;
}}
Or another option is to edit your logo in photoshop (or other editing software) and add a white outline to the content so it will be visible on similar color backgrounds.
I hope this helps.
Thanks.
Hi @Aditya,
To solve your problem, please try the modification in header-style-11.php, like that:
http://screencast.com/t/6FUlkwGD2Fhn
If you want to adjust the space border below the banner ad, please try this custom CSS to fix it:
.td-header-style-11 .td-header-sp-logo {
padding-bottom: 20px;
}
Thanks.
Hi,
If you alter the logo css you will have to adjust also the header ad css, you can try this custom css I guess it should fix it if I understood we your issue – http://screencast.com/t/xOcKhWFc
@media (min-width: 1200px) {
.td-header-bg .td-a-rec-id-header {
left: 0 !important;
}
}
I see that you use a very old version of the theme and I suggest to upgrade to the latest version when you have time, as you could have some issues/conflicts with plugins that you use or theme’s plugins.
Thanks!
Hello,
Unfortunately there is no option to change the header style on a different viewport.
You can use this custom CSS to display the small logo on the mobile version of your site:
@media (max-width: 767px){
.td-header-style-10 .td-main-menu-logo {
display: block!important;}}
Now your logo should show up as expected.
Thank you.