Search Results for 'header'

Results from the Forum
Calin
tagDiv Staff

Hi,

So you want to add some ads like slide or you want to add a slide in header >
add in header -> https://forum.tagdiv.com/header-ads-adsense/
Set the https://forum.tagdiv.com/how-to-install-revolution-slider-v5/ in header ->Import Revolution Sliders on demos set the shortcode in header ads
-> https://www.screencast.com/t/KhNVRT4uS3pp
-> https://www.screencast.com/t/HYsIGaZt
-> https://www.screencast.com/t/kiWeOcqlUERE

Hope this will help you!
Thanks.

Simion C.
tagDiv Staff

Hi,

For that there is no theme panel section. You could enter it in the footer spot, it will load it before the closing body tag, maybe it will work – http://prntscr.com/mf57u0
So basically it will be after the opening body tag.

Other than that, the only safe solution is to create a child theme, copy the header.php file in it from the main theme, and enter the code there
http://prntscr.com/mf59hj

Thanks

wdziedzic
Participant
#0

As you can see on the screens after removing sidebar widget I have large empty space between elements.

First is between header and big grid: https://picload.org/view/dcpgagrw/1111.jpg.html
Second is after big grid: https://picload.org/view/dcpgagdg/22222.jpg.html

Calin
tagDiv Staff

Hi,

Please check the settings from Newspaper>theme panel>Theme Fonts>Post content.
Unfortunately a post have more elements set ( headers, paragraphs … )
-> https://www.screencast.com/t/b9O2N37UzB
-> https://www.screencast.com/t/3f0AuXVYBUU
-> https://www.screencast.com/t/W7ktAxfw

Thank you!

Simion C.
tagDiv Staff

Hi,

I believe you are referring to the Adsense code that has to be entered in the header, that can be entered in the theme panel here – http://prntscr.com/mf411b
Or if you use a child theme, copy the header file in the child theme and enter it there
https://forum.tagdiv.com/the-child-theme-support-tutorial/

Both these methods are considered safe, the code will not be lost after a theme update.

Thanks

Dinesh Ramawat
Participant
#0

Hi Team, I need a slight change in the design I want to display an ad slider on all the pages of the site. Right now I have added it on the front page. I need it to be fixed on all the pages. It should be with the header.

Thank you.

It would be nice if you could reply back to me on tak.ashuma@gmail.com

aftereffectsmagic
Participant
#0

Hi there,

I’m trying to get a random background color on every page refresh for the top-menu element in my Newspaper 9.2 theme. I assume the best way to do this is to insert some custom Javascript, so I looked at the JS files that are included in Newspaper as an example and came up with this:


var tdRotatingColors = {};

( function() {
"use strict";
tdRotatingColors = {
arrayColors: ["#46e6b4", "#29b0cf", "#fa656e", "#feb92b"]};
})();
//create the animation
render: function render (color) {
for (var cnt = 0; cnt < arrayColors.items.length; cnt++) {
var random = Math.floor(Math.random() * colors.length);
var selectedColor = colors[random];

//call the animationDisplay function
tdRotatingColors.changeColor(
'<div class="td-header-top-menu-full" style="background-color:' + tdRotatingColors.arrayColors[0] + '"></div>'
);
arrayColors.items.splice(random, 1); // remove the item from the "array"
}
}

Unfortunately this code does not work. I do see that it appears as the first script called in all of the JS near the footer, but it does not change the color of the element. Is this the best way to do this? What am I doing wrong?

Thanks for your help!

Fcnews
Participant
#0

Hi, I am facing an issue while using Estatik plugin pro version and Newspaper theme, in the Signup section I have to upload a profile/user picture, then I got a white screen with the following warnings:

Warning: imagecreatetruecolor(): Invalid image dimensions in /home3/fcnews/public_html/dev/wp-includes/media.php on line 2836
Warning: imagecopyresampled() expects parameter 1 to be resource, boolean given in /home3/fcnews/public_html/dev/wp-includes/class-wp-image-editor-gd.php on line 183
Warning: imagecreatetruecolor(): Invalid image dimensions in /home3/fcnews/public_html/dev/wp-includes/media.php on line 2836
Warning: imagecopyresampled() expects parameter 1 to be resource, boolean given in /home3/fcnews/public_html/dev/wp-includes/class-wp-image-editor-gd.php on line 183
Warning: imagecreatetruecolor(): Invalid image dimensions in /home3/fcnews/public_html/dev/wp-includes/media.php on line 2836
Warning: imagecopyresampled() expects parameter 1 to be resource, boolean given in /home3/fcnews/public_html/dev/wp-includes/class-wp-image-editor-gd.php on line 183
Warning: imagecreatetruecolor(): Invalid image dimensions in /home3/fcnews/public_html/dev/wp-includes/media.php on line 2836
Warning: imagecopyresampled() expects parameter 1 to be resource, boolean given in /home3/fcnews/public_html/dev/wp-includes/class-wp-image-editor-gd.php on line 183
Warning: imagecreatetruecolor(): Invalid image dimensions in /home3/fcnews/public_html/dev/wp-includes/media.php on line 2836
Warning: imagecopyresampled() expects parameter 1 to be resource, boolean given in /home3/fcnews/public_html/dev/wp-includes/class-wp-image-editor-gd.php on line 183
Warning: imagecreatetruecolor(): Invalid image dimensions in /home3/fcnews/public_html/dev/wp-includes/media.php on line 2836
Warning: imagecopyresampled() expects parameter 1 to be resource, boolean given in /home3/fcnews/public_html/dev/wp-includes/class-wp-image-editor-gd.php on line 183
Warning: imagecreatetruecolor(): Invalid image dimensions in /home3/fcnews/public_html/dev/wp-includes/media.php on line 2836
Warning: imagecopyresampled() expects parameter 1 to be resource, boolean given in /home3/fcnews/public_html/dev/wp-includes/class-wp-image-editor-gd.php on line 183
Warning: imagecreatetruecolor(): Invalid image dimensions in /home3/fcnews/public_html/dev/wp-includes/media.php on line 2836
Warning: imagecopyresampled() expects parameter 1 to be resource, boolean given in /home3/fcnews/public_html/dev/wp-includes/class-wp-image-editor-gd.php on line 183
Warning: Cannot modify header information - headers already sent by (output started at /home3/fcnews/public_html/dev/wp-includes/media.php:2836) in /home3/fcnews/public_html/dev/wp-includes/pluggable.php on line 1223

Facts:
1. When I switch to other WP theme the issue does not happen.
2. ->Theme Settings ->Block settings ->Thumbs on Modules/blocks I have disabled the sizes that have a 0, the warnings does not appear, however the profile image does not upload.
3. I have disabled all plugins, no other is causing the issue.
4. I have checked System Status and the GD Library is green and available
Server software i Apache
PHP Version i 7.0.25

Any help or suggestions would be much appreciated!!!

vineetaggar
Participant
#0

Hi,

For last few days few unwanted items are appearing in top red header on my site. http://globaltoday.in/

The screenshot link is here for your reference. The unwanted items area is marked with black colour.

http://www.screencast.com/t/m6cY9ndbK

Can you please check why these items have started appearing on its own. I have not put them here.

Thanks for your help.
Vineet

Calin
tagDiv Staff

Hi,

In order to change the header blocks background color and fonts you need to edit with TagDiv Composer those pages, as I said above if you want to do for this individual for each header title background color -> https://www.screencast.com/t/VdEfFYJLBBSr also on using the style from block you can change the font individual for each header-> https://www.screencast.com/t/msRNCf3paryc

Thank you for your understanding!

Catalin
tagDiv Staff

Hi,

As a quick solution, try the code below and place it in Theme panel -> Custom CSS Area. This is just a hint. So, if you do not like this, you need to adjust it by your desired changes, using the Inspector browser element from here -> https://forum.tagdiv.com/create-custom-code-using-the-browsers-inspector/ to create your own custom CSS code.

.td-black .td-main-content-wrap, .td-black .td-category-grid, .td-black .post, .td-black .td-category-header, .td-black .td-big-grid-post .td-module-thumb, .td-black .td_module_14 .td-module-meta-holder, .td-black .td-post-template-4 .td-post-title, .td-black .td-post-template-6 .td-post-header-holder, .td-black .td-post-template-8-box, .td-black .td-smart-list-dropdown-wrap .td-smart-list-dropdown, .td-black .td_module_mx3 .td-module-meta-info{
background-color: white;
}

Thank you!

lucascarano
tagDiv Member

I solved the problem. The option BIG TITLE of block header 13 can not be changed with Visual Composer, but only with TAG DIV composer. thks

Simion C.
tagDiv Staff

Hi,

I see a header ad above the headerhttp://prntscr.com/memtz4 instead of the intended ad spot which is below the header menu for header style 6
https://forum.tagdiv.com/header-styles/
I believe that is an auto placed ad, they will appear where they want, randomly
https://support.google.com/adsense/answer/160534?hl=en
Adsense ads with defined placement will appear only in the spot as entered in the theme panel, auto placed ads may appear anywhere.

Regarding the size, you could set a desired size for desktop instead of auto size
http://prntscr.com/memwlt
This should load the ad in that size.

Thanks

decko
Participant
#0

I am having issues with my site, most of the times I cannot save, it just keep going on and on.

Sometimes when I go to the site first header downloads, then I have to refresh the page to get the balance of the page.

Most of the time when I go to do a new task like adding a box or anything, opening a page, it becomes blank then I have to refresh the page, after refreshing it always download and page works perfectly.

For most of the functions I have to keep refreshing the image, when I save it is not saved, can you please solve this issues.

https://www.worldtamils.uk/

Username: admin
PW: drlincoln123#

Simion C.
tagDiv Staff

Hi,

So the color of the text when the menu items are hovered, but only in the main menu. Should the active state be affected too?
A link to the website would be helpful so I can test there. Or mention the header style used.

Thanks

Simion C.
tagDiv Staff

Hi,


@lucascarano
If you mean the bog title when using block header 13 mentioned above, that doesn’t have a setting for the font properties. Only the actual block title has font settings
http://prntscr.com/mem9q3

However the big title can be customized with some CSS if needed. The default values are these (a line-height of 1)
http://prntscr.com/mema8u
You can change that with this code, (it can be entered in Theme panel->Custom code CSS section) use the value you want for the line height then enter it in the theme panel

.td_block_template_13 .td-block-subtitle {
line-height: 1;
}

If you have more questions let me know.
Thanks

Simion C.
tagDiv Staff

Hi,

1. So the first code has to be entered in the theme header, between the head tags. If you use a child theme you can copy the theme header file there, and enter the code in it
https://forum.tagdiv.com/the-child-theme-support-tutorial/

Or you can enter it in the theme panel here – http://prntscr.com/mel7vj and it will be automatically placed between the head tags in the header.

Both these methods are considered safe methods, the code will not be lost after a theme update.

2. This code is the code of the widget, use it where you want it to appear. Where the composer can be used (pages, cloud templates) you can enter it in text elements, like column text or text with title
http://prntscr.com/mel8q7
In widget sidebars entering it in text widgets should work just as well
http://prntscr.com/mel976

Thanks

jalewa
Participant
#0

Hello… I am using Header Style as 5. And I place the responsive ad code on header Ads section… but its not taking the whole width space on header ad as for desktop, I also set as auto. Kindly please help me.

Check at: https://www.jalewa.com

NajwanShah
Participant
#0

Hi,

2 questions:

1. I tried to remove/edit the “stay connected” and “ads block” at the sidebar’s widget that located in the homepage, but it did not change at all.

Ref: https://www.kofnikel.com/

But, it did change as what I edited in the Post page sidebar. \

Ref: https://www.kofnikel.com/capsule-hotel-untuk-penginapan-sementara-di-jepun/

2. How to remove the ads block at the header, and footer?

sgaialand
Participant
#0

Hi,

since a couple of days, I’m having issues with symbols and social media icons not displaying properly.

The social media icons on the top header of http://www.sgaialand.it display as Japanese characters from Explorer, Edge, Safari. In Chrome for mobile, all icons (including navigation arrows, menu items, etc.) now display as crossed boxes (screenshots: 1) https://drive.google.com/open?id=1v1-rc3ojO2sgSSmet5a1tHMvXxkehhu3 and 2) https://drive.google.com/open?id=18arUx4lpvxkpLVVfk2pl07p3_BrK_0yo).

Everything works fine only from Chrome for desktop, but in the console there are plenty of errors (see here: https://drive.google.com/open?id=1XM3HvIOlvWoQ2nQTggnhRw0B5yn4s81i).

I’ve tried to modify the .htaccess file as you suggested in other posts, but didn’t work for me.

Could you please help? The site has thousands of views each day, and the situation is pretty embarassing. The worst thing is that the mobile menu is ugly and hard to navigate.

Many thanks and kind regards

Simion C.
tagDiv Staff

Hi,

Maybe you entered that script in the theme header check if it is present there
http://prntscr.com/me8kk7
Or it could be entered in this section of the theme panel – http://prntscr.com/me8kxj
Or maybe a plugin is loading it in the header, check those as well.

Thanks

Simion C.
tagDiv Staff

Now it is working, at the moment of checking it was offline as seen in the screenshot. You don’t need to remove items from the top just to fix this. I presented two solutions above.

The CSS solution is like this – http://prntscr.com/me89fj

.td-header-top-menu .menu-top-container {
margin-right: 0;
}

Or stretch the top bar to a wider width in the theme panel as shown. You can try this or he CSS, each will work.

Calin
tagDiv Staff

Hi,

I think you are referring to this headers -> https://www.screencast.com/t/0Ab1HoCT5S9 if is that you need to edit the page with tagDiv Composer -> https://www.screencast.com/t/4EfglfUQmFmT

If there is still a problem please provide some screenshots or a link were I can inspect this problem.

Thank you!

Simion C.
tagDiv Staff

The code will work. You can increase the margin top in the code, for more space between the header and the content – http://prntscr.com/me828t

barrydmoore
Participant
#0

Hi Team,
in the header of every page on my site I have a call to facebook
Row 9 of index.
<link rel=”pingback” href=”https://www.liberatedstocktrader.com/xmlrpc.php&#8221; />
<script>
window.fbAsyncInit = function() {
FB.init({
appId : ‘xxx’,
xfbml : true,
version : ‘v2.9’
});
};

(function(d, s, id){
var js, fjs = d.getElementsByTagName(s)[0];
if (d.getElementById(id)) {return;}
js = d.createElement(s); js.id = id;
js.src = “//connect.facebook.net/en_US/sdk.js”;
fjs.parentNode.insertBefore(js, fjs);
}(document, ‘script’, ‘facebook-jssdk’));
</script>

I am trying to speed up my site and do not want this sdk downloaded for every user of every page. How do I disable this?

https://www.liberatedstocktrader.com/

Thanks a lot.

Barry

Viewing 25 results - 15,951 through 15,975 (of 29,850 total)