Search Results for 'header'

Results from the Forum
nf_prt
tagDiv Member

Hello,

January seems to be the slowest month every year, it’s the month people pay the credit card bill from xmas. Companies are in annual balance too. That means less ad clicking/bidding. Did your traffic drop too? Ads seem to be working fine.

Did you recently moved to HTTPS? I’m getting mixed content and since my browser blocks it, your site gets blocked. You have wildcard? you seem to use cnd subdomains. There’s also http link in some images too.

There’s also some shortcodes showing like [/tps_header]

Don’t know if this helps, just my 2 cents. Cheers!

Uchedestiny
tagDiv Member

Thanks very much to you Andrei L. and Chris S

Your suggestions really helped me a lot!

I HAVE SOLVED THE ISSUE!

Immediately I finished installing the js_composer folder manually, other plugins didn’t complain ‘The plugin does not have a valid header.’

I appreciate your suggestions + it helps!!!

gaby
tagDiv Member

Thanks Alin for your answer but:
the fonts are correctly loaded after css stylesheet loaded. The only problem comes from wp-booster which wants to include inline style declaration into the template (that’s cool to avoid css blocking rendering) but in the wrong way.
The wp-booster generated code refers to relative path to fonts (css/fonts/..) whereas the code snippet is generated on every pages (on page1, browser will try to load url/page1/css/fonts/font.ttf and on page2 url/page2/css/fonts/font.ttf). That’s insane.
Precisely it’s td_css_buffer.php::on_wp_header_render_header_css function that includes fonts declaration.

How can we avoid fonts to be caught by this “add_to_header” optimization?

Catalin
tagDiv Staff

Hello

These kinds of “problems” appears when you use the Speed Booster plugin and you have some custom modification on your site. If you want to exclude this loading delay, you have to put manually each your custom CSS modification in style.css file. Here, I am referring to all the changes you have done into your Theme panel. The main core file is style.css and on the first time, the theme load the styles from this file and then the theme load your custom styles.

The way Speed Booster improves site’s page speed it’s by moving some CSS and js resources, which usually are loaded in the header, to the footer, such that the browser can load the content faster.

Hope this helps and let us know how it goes!

Thank you for the message!

Catalin
tagDiv Staff

Hello joyceloh,

1)If you want to disable the dropdown menu, please try the code below and add it in Theme panel->Custom CSS area

.td-category-header .td-icon-menu-down {
display:none;
}
.td-pulldown-filter-list {
display:none!important;
}

2)If you want to have only 2 option in your drop-down category, you have to remove the other options from code, as I have presented you above. You cannot change the ‘LATEST’ name because in this box practically is the name of the option wich you have selected from the drop-down menu.

The result you should see here -> http://screencast.com/t/0f0MCYJc

Hope this helps!

Thank you for the message!

nucreative
tagDiv Member

Hi Alin, thanks for your reply.

Yes, I appreciate that this preview bar is not a direct result of the Newspaper6 theme. However, I think you might still be able to help us.

I think we have somehow changed one of the theme settings, and this is what is injecting the Myfonts code into the page.

If you view the source of http://79.170.40.247/wellbeingofwomen.org.uk/ and search for ‘myfonts’ you will find this section:


<!-- JS generated by theme -->

...

<script type="text/javascript">
(function() {
var path = '//easy.myfonts.net/v2/js?sid=250385(font-family=Geometria+Bold)&sid=250387(font-family=Geometria+ExtraLight)&sid=250395(font-family=Geometria+Medium)&sid=250397(font-family=Geometria)&key=Kiee4jHq8u',
protocol = ('https:' == document.location.protocol ? 'https:' : 'http:'),
trial = document.createElement('script');
trial.type = 'text/javascript';
trial.async = true;
trial.src = protocol + path;
var head = document.getElementsByTagName("head")[0];
head.appendChild(trial);
})();
</script>
<!-- Header style compiled by theme -->

If I search a mysql dump of our database, I can also find this data:


INSERT INTO
wowwp_options VALUES (

...

(607,'td_011','a:271:{s:15:\"tds_logo_upload\";s:94:\"http://79.170.40.247/wellbeingofwomen.org.uk/wp-content/uploads/2016/01/WoW_horizontal-500.png\";s:13:

...

var path = \\\'//easy.myfonts.net/v2/js?sid=250385(font-family=Geometria+Bold)&sid=250387(font-family=Geometria+ExtraLight)&sid=250395(font-family=Geometria+Medium)&sid=250397(font-family=Geometria)&key=Kiee4jHq8u\\\'

So it appears that the source of the myfonts code within the “JS generated by theme” is one of the entries in the wp_options table.

I suspect the way it got there was via this panel in Theme Panel > Theme Fonts > Custom Fonts:
http://i64.tinypic.com/28tb6gx.jpg

We originally had the myfonts code pasted in here. We’ve tried to overwrite it with a simple empty script tag, but this doesn’t seem to have worked.

Can you help us to fix this?

gaby
Participant
#0

Hi,
On our site, the former developper created a child theme for Newspaper. In the child theme style.css he declared custom fonts like that:
@font-face {
font-family: 'neosanspro';
src: url('css/fonts/NeoSansPro.ttf');
}

Fonts are located into child theme directory wp-content/themes/Newspaper-child/css/fonts/
The problem we encounter appears to be with wp-booster which generate inline code (style declaration to avoid css blocking code):

<!-- Header style compiled by theme --><style>
@font-face {
font-family: "neosanspro";
src: local("neosanspro"), url("css/fonts/NeoSansPro.ttf") format("woff");
}

Whichever the page is, it includes relative path to fonts. So if you navigate to http://domain.com/mypage the browser tries to load http://domain.com/mypage/css/fonts/NeoSansPro.ttf which does not exists…

How to handle this? Is there a way to proper declare custom fonts into the child (we tried absolute path to fonts) theme or into the parent theme so as wp-booster optimization runs correctly?

Any help would be appreciated.

joyceloh
tagDiv Member

Hi,

For my mobile site, link: sansan.qriosity.com.sg

Can you give me the CSS code to make my logo bigger and also padding on the top and bottom of the logo? So that the logo can fit nicely inside the blue header.

Please reply urgently.

Thanks!

Cristi990
Participant
#0

Hello , I need urgent help
I changed the colors of the ” theme color ” and I broke the site, seen ugly, and every article are different colors , very ugly.
Can you tell me which colors are necessary :
“General theme color ”
” Heder (top menu , main menu , mobile menu , header ) ”
” foother ( foother , sub- footer ”
” Content ( pages , post) ”

Please , help me , sees strange and ugly , no longer understand anything

Uchedestiny
Participant
#0

Hello Everyone,

I bought a Newsmag theme and hosted it on Godaddy Managed WordPress platform but after installing the Theme, the REQUIRED plugin (Visual Composer) could not be installed.

below is the error I always get once I click to install the plugin:

The plugin does not have a valid header.

Downloading install package from http://ifeadinmesi.com/wp-content/themes/Newsmag/includes/plugins/js_composer.zip…

Download failed. Could not resolve: ifeadinmesi.com (Could not contact DNS servers)

PLEASE HOW DO I RECTIFY THIS?

nf_prt
tagDiv Member

Hi there,

I think I had the same issue as you do since I didn’t move the whole site to SSL.

In such case, the login form should not be available through HTTP or users will login via HTTP. It will work but what’s the point in having SSL and have the users to login via HTTP? If define('FORCE_SSL_ADMIN', true); is set in wp-config.php, then the login will fail if made on HTTP. That’s what was happening to you, I think. It was happening to me.

To overcome this and still use the theme’s beautiful login window you have to customize the theme:

– make the header detect if user is not logged in and is connecting through http. If so, instead of printing the log in form as usual, the theme prints a link to the HTTPS version of the current page and adds a request o open the login window automatically.

– make the footer catch the request to automatically open the login window
(https://forum.tagdiv.com/topic/need-javascript-help-call-the-modal-login-window-after-page-load/)

– change td-login.php file to set the https cookie wp_signon($credentials, true);

Here have a look at it working and if you want I can put here all the details. Click login on the top left menu and you will be redirected to https and have the login window thrown at the screen:

http://www.infoporto.pt/en/

Cheers!

amd4ever
tagDiv Member

The problem cretaed by ezoic.com code at header

<script type=”text/javascript”>var ezouid = “248097265”;</script><script type=”text/javascript”>var ezouid = “248097265”;</script><link rel=’canonical’ href=’http://www.topnews.gr/wp-admin/admin-ajax.php&#8217; /><base href=”http://www.topnews.gr/wp-admin/admin-ajax.php”&gt;

But i need this code.

Catalin
tagDiv Staff

Hello bhadrabalaram,

Correct! It is not necessary to set a background image to use the above code. If you want to be more specific and have for each category another image, you have to find the category id and add it before the code that I gave you above, like this -> http://screencast.com/t/nayIF5GuU0mW -> http://screencast.com/t/E7WLWOjI

The code is ->

.category-6.td_category_template_6 .td-category-header{ background-image: url('http://www.gettyimages.ca/gi-resources/images/Homepage/Hero/UK/CMS_Creative_164657191_Kingfisher.jpg');
background-size: 1164px 400px;
background-repeat: no-repeat;
}

If you want to add this code for another category, you have to replace only the ID number with the category number for that category.
Notice -> you must have the same category template number 6

Hope this helps and let us know how it goes!

Thank you for the message!

Alin [tagDiv]
tagDiv Staff

Hi,

You can try this custom css in Theme Panel > Custom Css and see how it works, of course adjust it like you wish:

.td-post-template-12 .td-post-header .td-a-rec > div {
margin-bottom: 0;
margin-top: 0;
}
.td-post-template-12 .td-post-header .td-post-title {
margin-top: 0;
}

If doesn’t work please be more specific and provide some screenshots.

Thanks!

gbachman
tagDiv Member

I really need a fix for 3#! I reported the Comment title issue weeks ago. Any updates on the progress?

The above fix isn’t appropriate because we enable comments on most posts. We do not enable comments on pages, but still see the comments header. Also if we disable comments on a post, the header should not be displayed, it causes confusion for our readers and looks unprofessional.

  • This reply was modified 10 years by gbachman.
Catalin
tagDiv Staff

Hello jandiederik,

I have checked you website again and saw that you use header style 3. If you want to have the ad, just under the menu for all the site, I suggest using do_shortcode method’s and add the code in your header style 3 template, like this -> http://screencast.com/t/mGCuepZT

The code is ->

Also, for a better look, you should try the code below to increase a bit the margin-bottom of the menu.

.td-header-menu-wrap-full {
margin-bottom: 10px;
}

The result you should see here -> http://screencast.com/t/Oan9HtdqXV5

Hope this helps and let us know how it goes!

Thank you for the message!

JBH
Participant
#0

Hi,

Just updated to 6.6.4 and got the following issues right now:

1. Date warning

This warning is below the post and when post date is activated.

Warning: date() expects parameter 2 to be long, string given in /home/domains/public_html/wp-content/themes/Newspaper/includes/wp_booster/td_module_single_base.php on line 507
“>

2. There are squares and japanese characters

The social buttons and ‘next-previous’ buttons are visible as squares and japanese characters in chrome. Other browsers are fine. I’ve tested chrome on other devices. I’ve tried this suggestion which doesn’t work out.

3. Comment title

When the ‘no comments’ is checked on pages, the comment form is invisible, but the header ‘no comments’ is still there. how to hide this?

Thanks in advance.

JB

DonLuigi
Participant
#0

Dear tagDiv team,

I would like to remove the space that separates the Logo & Menu from the Image Grid on my front page.
This area: http://i.imgur.com/SjkQp5U.jpg Link to front page: http://bit.ly/1Ytfdu8

Also, is there a way to get the title, date, author & comment counter to also be on top of this image, like when I choose a layout with full size images? For example, I’d like to do that on this post: http://bit.ly/1NxhNDR

If yes, I would also love to remove the empty space that separates the image & sidebar on the right from the logo & menu.

Thanks a lot for your help!

Alin [tagDiv]
tagDiv Staff

Hi,

I have checked you site and did not found any issue on IE 11 – http://screencast.com/t/SzhOO80k
Anyway you could use this custom css in Theme Panel > Custom Css(or in stylesheet file)instead of classes to target the browser and it should be applied on all:

.td-header-style-10 .td-header-sp-logo img {
width: 100% !important;
}

Thanks!

Andrei L.
tagDiv Member

Hi

The previous css change only the text color on hover. To change the background color replace that css with this one and change the colors as you want: http://screencast.com/t/sLIqfd8QjmQp

#td-header-menu .sf-menu > .current-menu-item > a:hover, .sf-menu > .td-menu-item > a:hover{
color: red!important;
background-color: blue;
}

Thanks!

Catalin
tagDiv Staff

Hello bhadrabalaram,

Unfortunately, you cannot resize the image that appears in category template 6. Practically, this kind of the image is your background image wich you have set it from your Theme panel, like this -> http://screencast.com/t/Q7GEzcUy6Do and you cannot change it only for this template. Another alternative for you would be using a bit of CSS with the background-image attribute for this category template and insert your desired image. Below I gave you an example how to use this with CSS. Please try to implement this functionality in our theme following the same steps and code.

The code is ->

.td_category_template_6 .td-category-header{ background-image: url('http://www.gettyimages.ca/gi-resources/images/Homepage/Hero/UK/CMS_Creative_164657191_Kingfisher.jpg');
background-size: 1164px 400px;
background-repeat: no-repeat;
}

The result you should see here -> http://screencast.com/t/skp9vYhPZqI

Hope this helps and let us know how it goes!

Thank you for the message!

Catalin
tagDiv Staff

Hello rightpalava,

This kind of “problems” appears when you use the Speed Booster plugin and you have some custom modification on your site. If you want to exclude this loading delay, you have to put manually each your custom CSS modification in style.css. Here, I am referring to all the changes you have done into your Theme panel. The main core file is style.css and the first time the theme load the styles from this file and then the theme load your custom styles.
The way Speed Booster improves site’s page speed it’s by moving some CSS and js resources, which usually are loaded in the header, to the footer, such that the browser can load the content faster.

Hope this helps and let us know how it goes!

Thank you for the message!

AilyRoot
tagDiv Member

Hi

we have same issue, we embed a youtube video on website header, when PC user browse , video will play automatically, but when we see it on mobile, video NOT only does not play automatically but also “play” button is not working either

jerryd
Participant
#0

today I have found a double line just under the header, http://www.screencast.com/t/3CvtdyVE
it seems an image. How to fix it?

OllieConnolly
tagDiv Member

Hi there,

I have inputed this CSS into both the theme panel and WordPress and it still does not work. Our site launches tomorrow and this is a critical issue. I am extremely disappointed as the header is still does not work when using internet explorer — thereadoptional.com

Viewing 25 results - 25,251 through 25,275 (of 29,850 total)