Search Results for 'header'

Results from the Forum
Simion C.
tagDiv Staff

Hi,

The line height setting for the main menu will affect the total height of the menu. Please set the value to 48px here
https://www.screencast.com/t/myteWp1E86k
Then the header will be similar to when in sticky mode
https://www.screencast.com/t/D2J0m9GIeFy0

Thanks

Amit
tagDiv Member

Add following code to the custom CSS in theme panel
.td-fast-news .td-header-wrap .td-header-menu-wrap-full, .td-fast-news .td-header-menu-wrap.td-affix {
background: #533e95!important;
}

Hope this will help you.
Thank you for your understanding.

chrifrachid
Participant
#0

Hi everyone,

Can anyone please tell me how to make header like this: https://imgur.com/a/XT0XbF1

Tutsumi
Participant
#0

Good day,

I’d like to use some PHP code in the header ad’s space. This was previously working until I updated the theme and likely reset some coding I did.

The site is https://moarcookies.com

The code is using the plugin Twitch Conditional and the code I’ve previously used was:
<?php if (twitch_is_live('moarcookies')) { ?>
<div align="center" style="background-color:#c1711b; color:#fff; padding-left:10px; padding-right:10px;">We’re Live! Come join in the conversation and click on the Twitch icon in the lower right of the stream!</div><br /><div id="twitch-embed"></div>

<script src="https://embed.twitch.tv/embed/v1.js"></script>

<script type="text/javascript">
new Twitch.Embed("twitch-embed", {
width: "100%",
height: 480,
channel: "moarcookies",
allowfullscreen: true,
});
</script>
<?php } else { ?>
<?php } ?>

This would set it to only show up when the stream is live, and disappear when we’re not live. I’ve tried using the code in parts>header>ads.php but it didn’t work at all. Is there somewhere else I can place it so that it looks the same as it does right now?

gmgrundy
Participant
#0

Hi,

I recently installed the “About Page Header HERO” template for one of my pages. I cannot figure out how to change the background image. Pleas help.

Thanks

Calin
tagDiv Staff

Hi,

Unfortunately I do not know how to do this, this require a higher skills, I think this is possible.
In upcoming updates will come with some more control over headers.
Sorry for the inconvenience.

Thank you for your understanding.

Simion C.
tagDiv Staff

Hi,

I understand what you mean, but I can’t think of way to be able to do that however. What I can say is that we are working on a header builder, with it this maybe be possible, can’t say for sure. Sorry for any inconvenience.

Thanks

dragoerny
Participant
#0

Hi.
Is there a way within the template setting to control that background of the section where the header ad is. I want to make it partial transparent.

mbech
Participant
#0

I can see i serval posts that you are developing a header builder, when will this be available ?

Calin
tagDiv Staff

Hi,

If this is want you want to achieve https://www.screencast.com/t/POmHU98OZ
You need to have set header style 10 , go in wp-content\themes\Newspaper\parts\header\header-style-10.php
https://www.screencast.com/t/o3a9qpxf0e
https://www.screencast.com/t/odRjWrV6t
Hope this will solve your desire.

Thank you.

Simion C.
tagDiv Staff

Hi,

In most cases you would have to change the logo size to fit the header, not the opposite. Most header styles have a recommended logo size for good results
https://forum.tagdiv.com/logo-favicon/

The exceptions are header styles 9, 10 and 11, these will display the logo in full
https://forum.tagdiv.com/header-styles/

I should specify that currently there is a header builder in work, this will add more flexibility to the way header styles are built and can be used.

If the problem you are having is a different one please correct me.

Thanks

Calin
tagDiv Staff

Hi,

In order to achieve this you need to set manually in theme file one of this logo.
For example in header style 1, first I gate the url of image, go in media
https://www.screencast.com/t/qeNPPh5J
https://www.screencast.com/t/JvqazJwMw
Here is the result: https://www.screencast.com/t/mLyujVXW0RX

Thank you for your understanding.

klein_stephanklein
Participant
#0

Hey ho again…

Thanks for all of your help.

The solution with the childtheme and the modified header-style.php is working flawlessly. I got the changing header logo for the is_page and the is in_category function (With 4 different logos).

But there is still a little problem with that. The thing is that there are some posts, who are in multiple categories. For example category1 (with headerlogo 1) and category2 (with headerlogo 2).

If I visit for example a page or a category page where the posts are, the logo is doing just fine, but if I click on a post and want to view the single post, the head always shows the headerlogo1 of category1 (I guess it has something to do with the alphabetical order of my categories).

Headerlogo1 in this case isn’t wrong, because the post is in this category as well.
But when I am visiting category2 and click on a post I want to have the head showing headerlogo2 and not headerlogo1.

I hope you’ll get my point.

How can I influence the headerstyle, that wordpress knows from which page I am coming from and displays the correct logo?

Is this possible at all?

Thanks in advance

Calin
tagDiv Staff

Hi,

Please remove the favicon from the Newspaper>Theme panel>Header>Logo&Favicon
https://www.screencast.com/t/aL7Znmdh8
https://www.screencast.com/t/uDM1mHLIGVS

Thank you for your understanding.

Catalin
tagDiv Staff

Hello snowsbest,

You should use the code below if you want to remove the header ad only for this page.

.postid-35506 .td-header-rec-wrap{
display:none;
}

The result is here -> https://www.screencast.com/t/OmgryPHC7cz

Thanks for your understanding!

klein_stephanklein
tagDiv Member

Hey ho again…

Thanks for all of your help.

The solution with the childtheme and the modified header-style.php is working flawlessly. I got the changing header logo for the is_page and the is in_category function (With 4 different logos).

But there is still a little problem with that. The thing is that there are some posts, who are in multiple categories. For example category1 (with headerlogo 1) and category2 (with headerlogo 2).

If I visit for example a page or a category page where the posts are, the logo is doing just fine, but if I click on a post and want to view the single post, the head always shows the headerlogo1 of category1 (I guess it has something to do with the alphabetical order of my categories).

Headerlogo1 in this case isn’t wrong, because the post is in this category as well.
But when I am visiting category2 and click on a post I want to have the head showing headerlogo2 and not headerlogo1.

I hope you’ll get my point.

How can I influence the headerstyle, that wordpress knows from which page I am coming from and displays the correct logo?

Is this possible at all?

Thanks in advance

saucestyle
tagDiv Member

text in post (also headers and tags)
text on blocks
those the main changes.
should i hire someone or is there any tips what to change on the CSS stylsheet

albertok
Participant
#0

Hi there,

need to create a own page with personal HTML code and own CSS.
I know something about HTML and CSS but nothing about PHP.

I have done the same with another theme…

– I have created a page-SLUG.php clone. SLUG is the page ID of page I have created in WP dashboard;
– I set “@import url(“stilePalinsestoSchermo.css”);” in style.css;
– I have edited page-SLUG.php; I have erased all codes between get_header and get_footer;
– I have added HTML code (+ some scripts in javascript);

How can I do it in Newspaper?

socanews
Participant
#0

Hi

I am trying to add a Billboard Banner above my logo and menu in Newspaper, i have tried several different options as per Newspaper settings but nothing has worked.

I have tried creating my own template, which works ok and i am allowed to place ad spots where i need them. However, i then cant use the default header that comes with Newspaper. You can see my current set up here https://socanews.com

Please let me know if possible

rihtak
Participant
#0

How to change the header size to fit my logo ? my logo looks very small.

rihtak
Participant
#0

Can i have a separate logo for sticky header ?

orm69
Participant
#0

How can I add a default text end of “get_title”?

<header class="td-post-title">
<?php echo $td_mod_single->get_title();?> Biography

<?php if (!empty($td_mod_single->td_post_theme_settings['td_subtitle'])) { ?>
<p class="td-post-sub-title"><?php echo $td_mod_single->td_post_theme_settings['td_subtitle'];?></p>
<?php } ?>

buffercode
tagDiv Member

Hi Calin,

Thanks for helping.

There is one more query, I am getting a non https image on my website from theme style. I found it using inspect elements tool.Please look at below code:
.td-page-content .widgettitle {
color: #fff;
}

.td-menu-background,
.td-search-background {
background-image: url(http://192.168.0.208/wp_011_test_demos/wp-content/uploads/2017/05/4.jpg&#8217;);
}

.white-popup-block:before {
background-image: url(http://192.168.0.208/wp_011_test_demos/wp-content/uploads/2017/05/1.jpg&#8217;);
}

ul.sf-menu > .td-menu-item > a,
.td-theme-wrap .td-header-menu-social {
line-height:70px;

}

Can you please help me removing these images link?

Thanks

NBO Bangla
Participant
#0

How can I create a custom navigation bar inside the main header menu?

Viewing 25 results - 16,376 through 16,400 (of 29,850 total)