Search Results for 'header'

Results from the Forum
ctoweett
tagDiv Member

Paste this in Newspaper>Theme Panel>Custom Code>Custom CSS
@media (max-width: 767px){
.td-header-wrap .td-header-menu-wrap-full, .td-header-wrap .td-header-menu-wrap, .td-header-wrap .td-header-main-menu {
background-color: #523f6d!important;
}`
}

Ryansmccain
Participant
#0

I have my header color set to a purple on the desktop but I can’t get it to change from black on mobile.

You can look here. http://interestinganswers.com

Is there a way to do this with CSS?

thanks.

Bogdan B.
tagDiv Staff

Most of the site that is not styled separately. The hover colors in genera, the header background color on header style 12, widget titles, etc. Lots of elements so that your theme can have a general theme color if not styled separately though. As most of these options have separate fields in the theme colors section and if changed, they will no longer grab the accent color.

Thank you!

Simion C.
tagDiv Staff

Hi,

The header style you are using is full width, that is how it is supposed to look. Also the footer is displaying as it should.
These elements will be limited to page container width when a background image or color is set
https://forum.tagdiv.com/background-introduction/
So you could set a white background color, if you do not want it to be noticeable. This will transform the website into the boxed state.

If you are referring to this message – https://www.screencast.com/t/loinzaqBcia
That can be changed if needed with a code like this

.no-results h2{
font-family: 'Open Sans', sans-serif;
}

The code can be entered in Theme panel->Custom CSS.

Thanks

Catalin
tagDiv Staff

Hello denniz6,

1)The theme does not have any such an option for this. If you want to do this, you should edit the HTML and add the target=”_blank” property which allows you that your posts to be opened in another tab.
2)Most likely, you have a strong caching plugin and that’s why you do not see the changes. Try to clear all the caches, purge CDN files, ensure that you have set up the color header from the Theme panel and check the results.
3)This type of format will be displayed if you will have 4 pages. So, if you will have more than 4 pages, you will bring this type 1 2…..20. This is the standard pagination type.
4)You should use a code for this. Try the below code.

.td-page-header{
display:none;
}

Thanks for the message!

Simion C.
tagDiv Staff

I have tested the code before giving it to you, it works in my test. It works when applied on your website
https://www.screencast.com/t/VoYZ3lcHf
I modified the font size to match your current font size

@media (max-width: 1018px) {
.td-post-header header .entry-title {
font-size: 23px!important;
}}

Enter it here and save – https://www.screencast.com/t/ryHsgnZ1
If you have caching installed or server provided clear them, that might be why the code is not applying.

Thanks

Catalin
tagDiv Staff

Hello albertohduarti,

Unfortunately, the theme does not have any such an option that allows you to add a different ad for each page in the header section, sorry! You should find a plugin with this functionality and check the results.

Thanks for your understanding!

Catalin
tagDiv Staff

Hello MaximEvr,

Unfortunately, the theme does not have any such an option that allows you to do this, sorry! All the settings regarding on theme advertisements can be found here -> https://forum.tagdiv.com/newsmag-header-ads/

Thanks for the message!

albertohduarti
Participant
#0

Hello!

I would like every page on my site to have a different ad in the image format in the header, and it would be possible to change the top menu colors so that each page has a different color.

I also wish each page had a different background image.

Can you help me?

Home page: redagoradenoticias.com.br

blkphoenix66
Participant
#0

Hey guys my client did something while trying to post an ad script to the header and now on the mobile version of the site there is a big whitespace right below the ad that I cannot get rid of HELP !
I checked the script, i tried creating a new page but still getting this big whitespace up top.

the url is: http://www.blackgirlnerds.com

its not appearing on the desktop it only shows when sized down for smartphone

rdsem
Participant
#0

dev.cbdmedicalnews.com (Dev site, password-protected; password is “tagDiv”). My homepage looks fine and the header ad’s width is correct (ad is 1428×180, double the standard 720×90 size; but the same undesirable behavior is exhibited when using the 128×90 ad). But when I go to any other page (category, or post), the header ad space extends fully edge to edge. No matter what I do, I cannot get this behavior to change. There is no customizations to the child theme – it’s the bare-bones default files from the Newspaper-child.zip (so there are no customizations). I’ve looked through all the places in the backend where custom CSS and other code could be added, but there is nothing there. We are running NP 8.6

At the same time, we have another site running NP 8.5.1 that appears to be fine (cbdwellnessguide.com), and the header stays body width on all pages like it should. Not sure if the version of NP has anything to do with it; but I’ve gone through the backend settings and compared them to see if I could find a discrepancy, and I don’t see why one site would be working and the other does not.

Any ideas? Thanks!

David
Participant
#0

After updating to Newspaper 8.6, my header menu is cut to half size. When I switch back to the old version, all is good again. I’m using header template 3. Please check my dev page here: Demo. Thanks!

denniz6
tagDiv Member

Hi Catalin,
thank you for your reply.

1- I want, my posts to be open on a new window, not on same window when I click to an any post.
2- I already checked all settings but it is always black. -> http://www.stildirektoru.com/wp-content/uploads/2018/01/header.jpg
3- Is it not possible to change forma of paging similar to this -> http://www.stildirektoru.com/wp-content/uploads/2018/01/paging.jpg
4- I want to hide this section -> http://www.stildirektoru.com/wp-content/uploads/2018/01/search.jpg

dabbou2508
Participant
#0

Hello … sorry I am a newbie…..

I installed the Newspaper Tech-News Theme….. and I changed the Categories in the td-demo-header-menu. Suddenly the Preview Pictures to the articles in the Menu bar when you slide the Mouse over it were gone…. What have I done wrong. Because the articles are rightly placed in the categories I defined.

Header Menue

No Preview

AlexSoyer
tagDiv Member

Hello,

I made it this way, here is my code if someone needs it:

<?php
class td_category_template_1 extends td_category_template {
function render() {
?>

<!– subcategory –>
<div class=”td-category-header td-container-wrap”>
<div class=”td-container”>
<div class=”td-pb-row”>
<div class=”td-pb-span12″>
<div class=”td-crumb-container”><?php echo parent::get_breadcrumbs(); ?></div>

<h1 class=”entry-title td-page-title”><?php echo parent::get_title(); ?></h1>
<?php global $paged; ?>
<?php if ($paged == 0) echo parent::get_description(); ?>

</div>
</div>
<?php echo parent::get_pull_down(); ?>
</div>
</div>

<?php
}
}

  • This reply was modified 8 years by AlexSoyer.
  • This reply was modified 8 years by AlexSoyer.
  • This reply was modified 8 years by AlexSoyer.
krushiradio
Participant
#0

In Theme Panel >> THEME COLORS
General Theme color and Header Colors cant change it shows only loading.
how can i fix it.

Simion C.
tagDiv Staff

You could add a class as Chris mentions to the post header, in the post template style file you are using
https://www.screencast.com/t/e69dRtz5
Then refer to that custom class and apply the font on the title. But this will affect all posts that use that template. And also it would be just as using the them panel option per post template.

Simion C.
tagDiv Staff

Hi,

The code mentions category template 1, which looks like this
https://www.screencast.com/t/vXbV3Jd7xK04
Or like this with the top grid disabled
https://www.screencast.com/t/XRRkEMx87YmQ
Applying that code will first stretch the category header to full width, and also set a padding top for the sidebar
https://www.screencast.com/t/cjy87ddY
That is all it can do. I think I know what you want to do however, but it could prove tot be difficult. The category header and the sidebar belong to different containers, so even if you would set a custom width to the header, something like this
https://www.screencast.com/t/XUlyy7KHz
The sidebar will not go up, it is applied to the post loop below and will appear accordingly. You could force it higher
https://www.screencast.com/t/NTEY3UHthyd
But that will cause responsive issue most likely. This will have to be made only for desktop (Theme panel->Advanced CSS desktop section)
The code I used is this one, you can experiment further if you wish. There could be a different solution maybe you can find it

.td_category_template_1 .td-category-header .td-container {
width: 696px;
margin-left:48px;
}
.td_category_template_1 .td-main-sidebar {
top:-170px;
}

Thanks

Catalin
tagDiv Staff

Hello dobsonio,

Unfortunately, the theme does not have any such an option that allows you to set up a different header style for home pages and post content. Notice that the header style is just one for the whole website and if you want to change it to another one from our header styles, please check here -> https://forum.tagdiv.com/header-styles/

Thanks for your understanding!

Simion C.
tagDiv Staff

Hi,

I could give you a code to completely remove the space between the image an header menu, the result would be like this
https://www.screencast.com/t/OmYoPX9n

.td-header-style-4 #dj-rotator {
line-height: 0;
}

Thanks

Simion C.
tagDiv Staff

That happens because the header is full width, it is displayed on top of the hamburger menu and logo – https://www.screencast.com/t/12PGmTQ9f
I could give you a code to reduce the menu width to a fixed value
https://www.screencast.com/t/zwuUfDywJ

.page-template-page-pagebuilder-overlay .td-header-wrap {
width: 57%;
margin: auto;
}

But this solution may cause other problems, or responsive issues. Maybe you can move the hamburger menu and logo lower, so they are not covered by the menu. The menu has a height of 80px, if you could lower then below that that would be a more proper solution.

Simion C.
tagDiv Staff

Hi,

The mobile theme will most likely not render that shortcode, it is not meant to. It will not interpret page builder shortcodes as well.
If you want to use the mobile theme and also display a header ad, you will have to use a different implementation for the ad on mobile devices, instead of the shortcode. You could simply paste a HTML link with image in the ad section
https://forum.tagdiv.com/using-other-ads-non-adsense-ads/

Thanks

Simion C.
tagDiv Staff

Hi,

If you followed the instructions given by the code providers, I don’t know what advice to give you. Maybe there are more requirements, or a waiting period.
For example, I believe Adsense requires a code to be entered in the header.php file between the head tags, for website verification.

Thanks

jadmac
tagDiv Member

Hi,

What I have in mind is something a little more precise than the above. I don’t want to make any site-wide changes to the fonts, I just want the option of adding a font to a single header when it is surrounded by a a html code.

I used the following for example:

<h3 style=”padding: 30px ; background-color: #f2c7b3; font-family=”pacifico”; line-height: 2;”>Header Title Goes Here</h3>

All of the above codes were applied to the H3, except the font. I must add that I actually want to use a custom google font too.

Maybe my code is incorrect? Maybe this isn’t an option?

Codywoodworth
Participant
#0

Hello, For some reason the Analytics code is visible in the header and im not sure how to fix it. My site is dinnerissorted.com. Thanks

Viewing 25 results - 18,826 through 18,850 (of 29,850 total)