Search Results for 'header'

Results from the Forum
danblukk
tagDiv Member

Hi

Thats the problem, changing the theme colours seems to make no difference.
The screen shot is without the custom code:

.td-gadgets .td-header-style-5 .sf-menu > li > a:hover{
color:orange;
}
https://www.screencast.com/t/Hjn3DUya
As you can see. theme colours are set but the active and hover both default to black? The custom code was the only thing that seemed to work and changed the active and hover to orange. But since the theme update, the active has defaulted back to black and nothing I do seems to change it.

Thanks for taking your time to help me.

travelhippi
Participant
#0

Hi,
I recently found this error on my Google Search Console.
Any idea why and how to fix it?

Fatal error: Uncaught Error: Call to undefined function get_header() in /home/travelhi/public_html/wp-content/themes/Newspaper/index.php:6 Stack trace: #0 {main} thrown in /home/travelhi/public_html/wp-content/themes/Newspaper/index.php on line 6

celhil
Participant
#0

Hello,

I know that Google Page Insights is not a perfect tool to measure the page speed. But I have a big difference between the mobile and the desktop version:

Mobile Version 19% (https://picload.org/view/dccggriw/bildschirmfoto2018-12-14um13.0.png.html)
Desktop-Version 76% (https://picload.org/view/dccggrip/bildschirmfoto2018-12-14um13.0.png.html)

Has anyone a tipp about the reason of that?

Here is my configuration:

Ubuntu, 16 GB Ram, SSD
PHP 7.2.13
Newsmag 4.7
post_max_size = 50M
max_execution_time = 300
max_input_vars = 3000
SUHOSIN installed = false
mbstring = available
GD library = available
WP version = 4.9.8
WP multisite enabled = no
WP Memory Limit = 512 MB/request

FPM-Application about Nginx 1.14.1
pm.max_children = 100

Nginx configuration (instead of htaccess)

if (!-e $request_filename){
rewrite ^(.*)$ /index.php break;
}

location ~* \.(js|css|png|jpg|jpeg|gif|ico)$ {
expires 30d;
add_header Pragma public;
add_header Cache-Control "public";
try_files $uri @fallback;
}

# Block XMLRPC
location = /xmlrpc.php {
deny all;
access_log off;
log_not_found off;
return 444;
}

# Fix for chinese icons
location ~* \.(eot|ttf|woff|woff2)$ {
add_header Access-Control-Allow-Origin *;
}

# GZIP compression
gzip on;
gzip_proxied any;
gzip_types text/plain text/xml text/css application/x-javascript;
gzip_vary on;
gzip_disable "MSIE [1-6]\.(?!.*SV1)";

WP-Rocket
Caching for mobile devices = enabled
HTML minimize = enabled
Remove static query-strings = enabled
css minimize = enabled
javascript minimize = enabled
load javascript delayed = enabled
lazy loading for pictures = enabled
lazy loading for iframes and videos = enabled
deactivate emojis = enabled
deactivate wordpress embeds = enabled
activate preloading = enabled
heartbeat control = reduced activity

celhil
tagDiv Member

Hi Catalin,

thank you for your quick reply. You are right, the issue was on the webserver. I’m using nginx and the following code fixed it:


location ~* \.(eot|ttf|woff|woff2)$ {
add_header Access-Control-Allow-Origin *;
}

Simion C.
tagDiv Staff

Hi,

A code like this should do that when not using the mobile theme plugin
https://www.screencast.com/t/Bfj98RF8

#td-header-menu #td-top-mobile-toggle {
position: absolute;
right: 0;
}
.td-header-main-menu .header-search-wrap {
right: auto;
}

be sure to enter this in the Advanced CSS phones section.

Or like this when using the mobile theme – https://www.screencast.com/t/jRGckQ2wKugx

#td-header-menu #td-top-mobile-toggle {
position: absolute;
right: 0;
}
.td-header-wrap .td-search-icon {
right: auto;
}

Thanks

Calin
tagDiv Staff

Hi,

Please check your settings, because your active color is set to transparent
https://www.screencast.com/t/2m1vV0WmZ
https://www.screencast.com/t/q4DYmduz

If you can manage the problem please add thsi custom css in Newspaper>Theme panel>Custom code>Custom css
.td-gadgets .td-header-style-5 .sf-menu>.current-menu-item>a {
background-color: red;
}

You can change the background color.

Thank you.

Simion C.
tagDiv Staff

Hi,

You could enter the newsletter code in the header ad spot, in the theme panel
https://www.screencast.com/t/Ndq01Yzz
It may require additional CSS, since that spot is not designed to display newsletters. Those would usually be in the content of pages/posts.

Other than that, it could be done only by entering the form code in the header template files directly according to template used
https://www.screencast.com/t/SCFzqTEp

Thanks

Simion C.
tagDiv Staff

Hi,

If you deactivate the composer and in the header settings there is a multi-purpose header style selected, then there will be an error like the one from the screenshot.

In most cases where 500 errors were displayed it was caused by low WP memory
https://forum.tagdiv.com/requirements-for-newspaper/
Most hosting providers by default set this to a value around 40M, which is depleted quickly and is not enough for the theme alone, not to mention other installed plugins.

We recommend a value of 256M, which is enough for most websites. Please check the theme requirements guide carefully, top to bottom. If needed increase the parameters mentioned in it, or ask the hosting provider to do it for you, they should be able to.

In case there is still a problem let us know.
Thanks

teacherofsci
Participant
#0

I have been trying to work out how to put a Newsletter signup/opt-in form into my header, where my ad unit is at present.

Please help as I can’t work it out.

My url is https://teacherofsci.com

Many thanks.

igale2
Participant
#0

I update on new version Newspaper….
after updateing and activateing all plugins site stop working… try reupload everything, wordpress and newspaper files.. same thing…
When I delete plugin td-composer I can go in WP admin… when I activate that plugin displayed html error 500… please help…
link: http://www.novosti.hr

wp_booster error:
td_api_base::mark_used_on_page : a component with the ID: tdm_header_style_1 is not set.
/home/novostidoo/web/novosti.hr/public_html/wp-content/themes/Newspaper/includes/wp_booster/td_api.php


screen shot
https://imgur.com/lO4IqAo

Calin
tagDiv Staff

Hi,

Please go in Newspaper>Theme panel>Header>Top bar and disable the show sign in / join
https://www.screencast.com/t/KWCpEJPm

Thank you.

Calin
tagDiv Staff

Hi,

If you need help to to align left the logo on style 9 header template, let me know.
All I need is a link to your website were I can find your problem, and if you want this only in mobile mode.

Thank you.

Catalin
tagDiv Staff

Hi,

Unfortunately, the theme has not been designed for using this such ad and also, we cannot say for sure if it will work or not as expected with it, sorry! Please check here -> https://forum.tagdiv.com/newsmag-header-ads/ Also, please notice that we cannot provide custom work for this, sorry! If you are not aware of the steps which are needed to take in this case, please consider hiring a freelancer/developer to help you! Usually, we recommend the developers from studio.envato.com.

Thanks for your understanding!

bidhisaklani
tagDiv Member

i have increased header with and footer with to 1200 container. How to increased content section also to 1200px; . i have tried to increase same using css but big 3 grid not increase. You can check the link check my website link: http://floralsngifts.com/new

ySV
tagDiv Member

The other solution for me is to align left the logo on style 9 header template, how i do this?

clkauto
Participant
#0

Yes, hundreds of issues with this over the last 4+ years, and still not resolved. So I have bought the theme yesterday, installed it and it does not work. If I go to Newspaper -> Plugins it says tagDiv Composer is required….you cannot install it from there since the header is corrupted (same error that has persisted for years, as I can see).
Then I go to plugins, install it manually from the files that I have received, says it is installed and then I activate it. Everything good.
However, on the welcome page it still says “Please install and activate the tagDiv Composer plugin”, and on the plugins page it is marked with “Required”. WordPress version is 5, and this theme’s version is 9.2.1.
On the WordPress plugins page it shows the WPBakery Page Builder (same crap? No?).
In wp_content/js_composer it shows the js_composer folder (now go figure if this is the same as divTag composer…I certainly cant’).
In any case, how do I resolve this and if it cannot be resolved how do I return this and get my money back?

Calin
tagDiv Staff

Hi,

Unfortunately our theme do not have this option, to allow you to have different headers on desktop an mobile.
If you want you can use mobile theme -> https://forum.tagdiv.com/the-mobile-theme/

Thank you for your understanding.

ySV
tagDiv Member

There is a way for fix the header ads after menu on mobile in the header style 1 ?

danblukk
Participant
#0

Since I updated the newspaper theme with the Envato market plug-in certain things no longer work.
The article preview images no longer appear and are just empty blocks even though the features image is there once you go into the article.
Also, the active menu item disappears when active. I’m guessing it goes the same colour as the background but no matter how much I mess around with main menu theme colours, nothing changes.

I also have this custom css code which has been working fine to change the active and hover colours:

.td-gadgets .td-header-style-5 .sf-menu > li > a:hover{
color:orange;
}

Can anybody help?

ySV
Participant
#0

How i can set different header style on mobile? I need to view a header ads after main menu bar on mobile, like a header style 2.

Thanks in advance

klein_stephanklein
tagDiv Member

I think I’ve managed out a little solution for this problem.
I was able to modify the header-style.php to let the single article header logo change depending on in wich primary category the post is.

The thing is that I am using the Yoast SEO plugin and found a little code snippet to let me get the current YOAST primary category variable in .php. With that variable I was able to trigger the logo change in the header-style.php.

I know there is also a primary category dropdown from the Newspaper theme to control the breadcrumb menu etc..

Is it possible that you can tell me the appropriate .php file to edit and the variable who is responsible for the primary category setting ?

Thanks in advance

lopigard
Participant
#0

Hi, I have a problem that the image on my DESKTOP site is perfectly fine, but when shrunk on MOBILE looks really bad. So my question is if it is possible to make the image just show as a tiny version of the original (not cropped) but the whole image, just smaller.
https://photoblog.bg
This is my website. You can check the image on desktop and on mobile.
Thanks!

Simion C.
tagDiv Staff

Hi,

The sticky menu setting is general, so it will affect both desktop and mobile.

I could give you a code to hide the sticky menu on desktop, it will be displayed only on mobile, enter it in the Theme panel-> Custom code CSS section

@media (min-width: 767px) {
.td-header-menu-wrap.td-affix {
display: none;
}}

You could give it a try and see if it’s what you wanted.

Thanks

snygo
Participant
#0

Hello,

Today we updated the update, then updated the TD Composer. Now my homepage looks funny, it will only display code. Below is this message:

wp_booster error:
Internal error: The system tried to use an att that does not exist! class_name: td_res_context Att name: “shadow_offset_horizontal” as “shadow_offset_horizontal”
/var/www/vhosts/web1.server.domain.com/httpdocs/klonen/wp-content/themes/Newspaper/includes/wp_booster/td_css_res_compiler.php

I get this message in composer:
Error at rows: 12 (models): 1 (dom). The model does not match the content

All plugins have been updated. The template re-recorded again. A cache is not running.

This code appears on the homepage:

array (172) {[“modules_on_row”] => string (3) “50%” [“modules_category”] => string (5) “image” [“show_excerpt”] => string (4) “none” [” show_btn “] => string (4)” none “[” ajax_pagination “] => string (8)” numbered “[” separator “] => string (0)” “[” custom_title “] => string (0) “” [“custom_url”] => string (0) “” [“block_template_id”] => string (0) “” [“mc1_tl”] => string (0) “” [“mc1_el”] => string (” 0) “” [“limit”] => string (0) “” [“offset”] => string (0) “” [“ajax_pagination_infinite_stop”] => string (0) “” [“container_width”] => string (0) “” [“m_padding”] => string (0) “” [“m_radius”] => string (0) “” [“all_modules_space”] => string (0) “” [“modules_divider”] => string (0) “” [“modules_divider_color”] => string (7) “#eaeaea” [“image_size”] => string (0) “” [“image_height”] => string (0) “” [ “image_width”] => string (0) “” [“image_floated”] => string (8) “no_float” [“image_radius”] => string (0) “” [“hide_image”] => string (0) “” [“meta_info_align”] => string (0) “” [“meta_info_horiz”] => string (18) “content-horiz-left” [“meta_width”] => stri ng (0) “” [“meta_margin”] => string (0) “” [“meta_padding”] => string (0) “” [“art_title”] => string (0) “” [“art_excerpt”] => string (0) “” [“art_btn”] => string (0) “” [“meta_info_border_size”] => string (0) “” [“meta_info_border_style”] => string (0) “” [“meta_info_border_color “] => string (7)” #eaeaea “[” modules_category_margin “] => string (0)” “[” modules_category_padding “] => string (0)” “[” show_cat “] => string (12)” inline-block “[” show_author “] => string (12)” inline-block “[” author_photo “] => string (0)” “[” author_photo_size “] => string (0)” “[” author_photo_space ” ] => string (0) “” [“author_photo_radius”] => string (0) “” [“show_date”] => string (12) “inline-block” [“show_com”] => string (5) ” block “[” excerpt_middle “] => string (0)” “[” btn_title “] => string (0)” “[” btn_margin “] => string (0)” “[” btn_padding “] => string ( 0) “” [“f_header_font_header”] => string (0) “” [“f_header_font_title”] => string (12) “Block header” [“f_header_font_settings”] => string (0) “” [“f_header_font_family”] => string (0) “” [“f_header_font_si ze “] => string (0)” “[” f_header_font_line_height “] => string (0)” “[” f_header_font_style “] => string (0)” “[” f_header_font_weight “] => string (0)” ” [“f_header_font_transform”] => string (0) “” [“f_header_font_spacing”] => string (0) “” [“f_header_”] => string (0) “” [“f_pag_font_title”] => string (15) “Pagination text” [“f_pag_font_settings”] => string (0) “” [“f_pag_font_family”] => string (0) “” [“f_pag_font_size”] => string (0) “” [“f_pag_font_line_height”] => string (0) “” [“f_pag_font_style”] => string (0) “” [“f_pag_font_weight”] => string (0) “” [“f_pag_font_transform”] => string (0) “” [“f_pag_font_spacing”] => string (0) “” [“f_pag_”] => string (0) “” [“f_title_font_header”] => string (0) “” [“f_title_font_title”] => string (13) “Article title” [ “f_title_font_settings”] => string (0) “” [“f_title_font_family”] => string (0) “” [“f_title_font_size”] => string (0) “” [“f_title_font_line_height”] => string (0) ” “[” f_title_font_style “] => string (0)” “[” f_title_font_weight “] => string (0)” “[” f_title_font_transform “] => str ing (0) “” [“f_title_font_spacing”] => string (0) “” [“f_title_”] => string (0) “” [“f_cat_font_title”] => string (20) “Article category tag” [” f_cat_font_settings “] => string (0)” “[” f_cat_font_family “] => string (0)” “[” f_cat_font_size “] => string (0)” “[” f_cat_font_line_height “] => string (0)” ” [“f_cat_font_style”] => string (0) “” [“f_cat_font_weight”] => string (0) “” [“f_cat_font_transform”] => string (0) “” [“f_cat_font_spacing”] => string (0) “” [“f_cat _”] => string (0) “” [“f_meta_font_title”] => string (17) “Article meta info” [“f_meta_font_settings”] => string (0) “” [“f_meta_font_family”] = > string (0) “” [“f_meta_font_size”] => string (0) “” [“f_meta_font_line_height”] => string (0) “” [“f_meta_font_style”] => string (0) “” [“f_meta_font_weight” ] => string (0) “” [“f_meta_font_transform”] => string (0) “” [“f_meta_font_spacing”] => string (0) “” [“f_meta _”] => string (0) “” [” f_ex_font_title “] => string (15)” article excerpt “[” f_ex_font_settings “] => string (0)” “[” f_ex_font_family “] => string (0)” “[” f_ex_font_size “] => string (0)” “[” f_ex_font_line_height “] => string (0)” “[” f_ex_font_style “] => string (0)” “[” f_ex_font_weight “] => string (0)” “[ “f_ex_font_transform”] => string (0) “” [“f_ex_font_spacing”] => stri

Calin
tagDiv Staff

Hi,

For footer please copy the content from here in a New page
https://www.screencast.com/t/vD2GYleQofm
https://www.screencast.com/t/Yb2KaHu7
https://www.screencast.com/t/gUmQZl4fGF
Open the page with TD Composer and change the data with your data.

Also I check your website with my mobile and the ad from header appear
https://www.screencast.com/t/SEmpdFrG4

Please follow our documentation for tagDiv Composer tutorial -> https://forum.tagdiv.com/tagdiv-composer-tutorial/

Thank you.

Viewing 25 results - 16,276 through 16,300 (of 29,850 total)