Search Results for 'header'

Results from the Forum
be2name
tagDiv Member

Hello Calin,
it’s not about Revive. It’s just about a JavaScript. I need a working JavaScript do set different code for different devices. Like:

<div id="ad_area" style="display: block; text-align: center;">
<script type="text/javascript">
adUnit = document.getElementById("ad_area");
adWidth = adUnit.offsetWidth;
if ( adWidth >= 728 ) {
/* Leaderboard 728x90 */
adUnit.innerHTML = '<b>Banner1</b>';
} else if (adWidth <= 720 && adWidth >= 468) {
/* Banner 468x60 */
adUnit.innerHTML = '<b>Banner2</b>';
} else {
/* Mobile Banner 320x50 */
adUnit.innerHTML = '<b>Banner3</b>';
}
</script>
</div>

This code works with the default header but not with a custom header.

  • This reply was modified 6 years by be2name.
  • This reply was modified 6 years by be2name.
Simone Ferrara
Participant
#0

How can I eliminate the shadow under the header (menu – logo – search)?
In TD edit I can’t, only on mobile it shows.

http://www.showacademy.it

Calin
tagDiv Staff

Hi,

If the ad is set in header ads in theme panel, and the ad is approved then should be display.
Please provide me a link where I can inspect this problem, in this way I will be able to provide a better answer.

Thank you for your understanding!

EgerueNnamdi78
Participant
#0

Good day Sir
compliments of the season. I am one of your numerous fan. I have watch lots of your training videos and i have subscribed to your channels
I recently purchase my Newspaper themes to start designing my website.

1) i notice that their was no place to insert the purchase code in the wordpress

2) then, this error “Fatal error: Call to undefined function wp_body_open() in /home4/egeruennamdi/public_html/wp-content/themes/Newspaper/header.php on line 17”

The error above usually come when i visit my website.

Please guild me on how to resolve this. i cannot proceed to design without solving this problem.

Vlad S
tagDiv Staff

Hello !

You will need to import a cloud library header template in order to have access on that. All the cloud library templates are fully editable using tagDiv Composer. Find out more about it in our guide here: https://forum.tagdiv.com/header-manager/

Thank you !

Calin
tagDiv Staff

Hi madpixel,

I think that this problem can be solve by adding an extra parameter in a theme file, the file path is wp-content/plugins/td-cloud-library/shortcodes/header/tdb_header_logo.php on line 792 set before getimagesize and ‘@’ like this -> https://i.imgur.com/VOWmTCI.png
Also make sure that allow_url_fopen = On;
-> https://chemicloud.com/kb/article/how-to-enable-or-disable-allow_url_fopen-in-cpanel/
-> https://www.a2hosting.com/kb/developer-corner/php/using-php.ini-directives/php-allow-url-fopen-directive

For the problem with Mailchimp, please make sure that you set it as in our guide from here -> https://forum.tagdiv.com/the-newsletter-plugin/

If there is still a problem, let us know, also if you want we can make the changes for you for getimagesize, just send us an email at contact@tagdiv.com and provide admin login. Include a link to this topic in the email.

Thank you!

chotaweb
tagDiv Member

Hey i have completed all system requirements check as per the documentation.
Also re-installed WordPress. Font is not getting reflected, i have selected Notosans for header menu and it is showing Rubik . FYI – i am using Header Cloud Template Romania Pro.

I also wanted to change the background of the same template but there is no option to change. I have checked in theme panel as well in settings.

Kindly assist.

Calin
tagDiv Staff

Hi sportvisionlab,

As I know tbd-view-category is from cloud templates and it can not be set a child theme, will not work.
So if is a cloud template you can edit it with tagDiv Composer, also if you want you can choose a different header per cloud category and you can set a different cloud category per each category you have -> https://i.imgur.com/V2gtadX.png

Hope this will help you!

Vlad S
tagDiv Staff

Hello !

That is how the sticky header works. you cannot have it other way at the moment.

Thank you !

HanginWithHarv
Participant
#0

I’m new here and not sure if I missed something… I am not using a cloud template for the header. I just have the default header and using Style 1, which shows a gray block when I presume the ad would display. I’ve pasted my adsense code under the Ads section and within the Header Ad section. Other ads seem to be working just fine. What am I missing?

dhoovey
Participant
#0

I updated last night from 10.3.4 to 10.3.5 (using the newspaper theme panel through WordPress) and immediately lost all ad settings inside Newspaper theme, also lost custom styling on fonts, colors and header image is gone and footer is gone. There were no errors on the install. I then downgraded back to 10.3.4 and it still is gone. I also tried restore from vaultpress and everything is still missing. How did this happen? site carthagenewsonline.com

Seashore
Participant
#0

Hi,

First, I’m learning Newspaper X, using your Beauty Pro template. I’ve added our company logo in the space where you use the “Myriad” logo (top left). However, our logo is displayed to the left of the margin, even though I select “center” for horizontal alignment. What is it that I seem to overlook?
Second, I would like to have the column where the logo goes to have a white background. So , I chose #ffffff as the background colour for that row. But it is only white for the height of the logo, not for the entire column. What should I do here?

Cheers,
Martin.

hywdotbrk
tagDiv Member

Trying to get an update on if this issue will ever get resolved in the main theme? We contacted support and they modified the following:

/wp-content/plugins/td-cloud-library/shortcodes/header/tdb_header_logo.php on line 792 set before getimagesize and ‘@’.

This works fine, however, each and every time the theme/plugin is updated we have to re-apply this “fix”. It’s not a fix, it’s a bandaid.

Will this every be resolved in the main theme?

Vlad S
tagDiv Staff

Hello !

Go to Cloud Library – press edit on your footer, and replace that text with this: [tdc_zone type="tdc_footer"][vc_row full_width="stretch_row" tdc_css="eyJhbGwiOnsicGFkZGluZy10b3AiOiI1NCIsInBhZGRpbmctYm90dG9tIjoiMjAiLCJiYWNrZ3JvdW5kLWNvbG9yIjoiIzExMTExMSIsImJhY2tncm91bmQtaW1hZ2UiOiJ1cmwoXCJodHRwOi8vbG9jYWxob3N0L3dvcmRwcmVzcy93cC1jb250ZW50L3VwbG9hZHMvMjAyMC8wNy9mb290ZXJfYmcuanBnXCIpIiwib3BhY2l0eSI6IjAuMSIsImRpc3BsYXkiOiIifSwicGhvbmUiOnsicGFkZGluZy10b3AiOiI0MCIsImRpc3BsYXkiOiIifSwicGhvbmVfbWF4X3dpZHRoIjo3NjcsInBvcnRyYWl0Ijp7InBhZGRpbmctdG9wIjoiNDQiLCJkaXNwbGF5IjoiIn0sInBvcnRyYWl0X21heF93aWR0aCI6MTAxOCwicG9ydHJhaXRfbWluX3dpZHRoIjo3Njh9"][vc_column][vc_row_inner][vc_column_inner width="1/3"][td_flex_block_1 modules_on_row="eyJwb3J0cmFpdCI6IjEwMCUiLCJwaG9uZSI6IjEwMCUifQ==" image_size="td_218x150" image_floated="float_left" image_width="30" image_height="70" show_btn="none" show_excerpt="none" show_com="none" show_author="none" show_cat="none" meta_padding="eyJhbGwiOiIwIDAgMCAxNnB4IiwicG9ydHJhaXQiOiIwIDAgMCAxM3B4In0=" f_title_font_size="eyJhbGwiOiIxNCIsInBvcnRyYWl0IjoiMTIifQ==" f_title_font_line_height="1.4" f_title_font_weight="500" all_modules_space="eyJhbGwiOiIyNiIsInBvcnRyYWl0IjoiMjAiLCJwaG9uZSI6IjI2In0=" category_id="" modules_gap="eyJwb3J0cmFpdCI6IjIwIn0=" show_date="" limit="3" custom_title="EDITOR PICKS" block_template_id="td_block_template_2" f_header_font_size="18" f_header_font_weight="" header_text_color="#ffffff" title_txt="#ffffff" sort="" title_txt_hover="#4db2ec" tdc_css="eyJwaG9uZSI6eyJtYXJnaW4tYm90dG9tIjoiNDAiLCJkaXNwbGF5IjoiIn0sInBob25lX21heF93aWR0aCI6NzY3LCJwb3J0cmFpdCI6eyJtYXJnaW4tYm90dG9tIjoiMjAiLCJkaXNwbGF5IjoiIn0sInBvcnRyYWl0X21heF93aWR0aCI6MTAxOCwicG9ydHJhaXRfbWluX3dpZHRoIjo3Njh9" rev_txt="#ffffff" post_ids="" video_icon="24"][/vc_column_inner][vc_column_inner width="1/3"][td_flex_block_1 modules_on_row="eyJwb3J0cmFpdCI6IjEwMCUiLCJwaG9uZSI6IjEwMCUifQ==" image_size="td_218x150" image_floated="float_left" image_width="30" image_height="70" show_btn="none" show_excerpt="none" show_com="none" show_author="none" show_cat="none" meta_padding="eyJhbGwiOiIwIDAgMCAxNnB4IiwicGhvbmUiOiIwIDAgMCAxNnB4IiwicG9ydHJhaXQiOiIwIDAgMCAxM3B4In0=" f_title_font_size="eyJhbGwiOiIxNCIsInBvcnRyYWl0IjoiMTIifQ==" f_title_font_line_height="1.4" f_title_font_weight="500" all_modules_space="eyJhbGwiOiIyNiIsInBvcnRyYWl0IjoiMjAiLCJwaG9uZSI6IjI2In0=" category_id="" modules_gap="eyJwb3J0cmFpdCI6IjIwIn0=" show_date="" limit="3" custom_title="POPULAR POSTS" block_template_id="td_block_template_2" f_header_font_size="18" f_header_font_weight="" header_text_color="#ffffff" title_txt="#ffffff" sort="" title_txt_hover="#4db2ec" tdc_css="eyJwaG9uZSI6eyJtYXJnaW4tYm90dG9tIjoiNDgiLCJkaXNwbGF5IjoiIn0sInBob25lX21heF93aWR0aCI6NzY3LCJwb3J0cmFpdCI6eyJtYXJnaW4tYm90dG9tIjoiMjAiLCJkaXNwbGF5IjoiIn0sInBvcnRyYWl0X21heF93aWR0aCI6MTAxOCwicG9ydHJhaXRfbWluX3dpZHRoIjo3Njh9" post_ids="" rev_txt="#ffffff" video_icon="24"][/vc_column_inner][vc_column_inner width="1/3"][td_block_popular_categories custom_title="POPULAR CATEGORY" block_template_id="td_block_template_2" header_text_color="#ffffff" category_color="#ffffff" category_posts_color="#ffffff" category_color_h="#4db2ec" category_posts_color_h="#4db2ec" limit="8" f_cat_font_size="eyJwb3J0cmFpdCI6IjEzIn0=" f_header_font_size="18" tdc_css="eyJwb3J0cmFpdCI6eyJtYXJnaW4tYm90dG9tIjoiMjAiLCJkaXNwbGF5IjoiIn0sInBvcnRyYWl0X21heF93aWR0aCI6MTAxOCwicG9ydHJhaXRfbWluX3dpZHRoIjo3Njh9" f_cat_font_line_height="eyJwb3J0cmFpdCI6IjI2cHgifQ=="][/vc_column_inner][/vc_row_inner][vc_row_inner][vc_column_inner tdc_css="eyJwb3J0cmFpdCI6eyJtYXJnaW4tYm90dG9tIjoiMCIsImRpc3BsYXkiOiIifSwicG9ydHJhaXRfbWF4X3dpZHRoIjoxMDE4LCJwb3J0cmFpdF9taW5fd2lkdGgiOjc2OH0="][vc_separator el_width="80" color="rgba(255,255,255,0.1)" tdc_css="eyJwb3J0cmFpdCI6eyJtYXJnaW4tYm90dG9tIjoiMjAiLCJkaXNwbGF5IjoiIn0sInBvcnRyYWl0X21heF93aWR0aCI6MTAxOCwicG9ydHJhaXRfbWluX3dpZHRoIjo3Njh9"][/vc_column_inner][/vc_row_inner][vc_row_inner tdc_css="eyJhbGwiOnsicGFkZGluZy1ib3R0b20iOiIzMCIsImRpc3BsYXkiOiIifSwicG9ydHJhaXQiOnsicGFkZGluZy1ib3R0b20iOiIyMCIsImRpc3BsYXkiOiIifSwicG9ydHJhaXRfbWF4X3dpZHRoIjoxMDE4LCJwb3J0cmFpdF9taW5fd2lkdGgiOjc2OH0=" content_align_vertical="content-vert-top"][vc_column_inner width="1/3" tdc_css="eyJhbGwiOnsid2lkdGgiOiIyNSUiLCJkaXNwbGF5IjoiIn0sInBob25lIjp7Im1hcmdpbi1ib3R0b20iOiI1MCIsIndpZHRoIjoiMTAwJSIsImRpc3BsYXkiOiIifSwicGhvbmVfbWF4X3dpZHRoIjo3Njd9" vertical_align=""][tdb_header_logo align_vert="content-vert-top" media_size_image_height="180" media_size_image_width="544" tdc_css="eyJhbGwiOnsibWFyZ2luLXRvcCI6IjM3IiwiZGlzcGxheSI6IiJ9LCJwb3J0cmFpdCI6eyJtYXJnaW4tdG9wIjoiNDQiLCJkaXNwbGF5IjoiIn0sInBvcnRyYWl0X21heF93aWR0aCI6MTAxOCwicG9ydHJhaXRfbWluX3dpZHRoIjo3NjgsInBob25lIjp7Im1hcmdpbi10b3AiOiIwIiwiZGlzcGxheSI6IiJ9LCJwaG9uZV9tYXhfd2lkdGgiOjc2N30=" align_horiz="content-horiz-center" image="8933" image_retina="8930"][/vc_column_inner][vc_column_inner width="1/3" tdc_css="eyJhbGwiOnsid2lkdGgiOiI0MS42NjY2NjY2NyUiLCJkaXNwbGF5IjoiIn0sInBob25lIjp7Im1hcmdpbi1ib3R0b20iOiI1MCIsIndpZHRoIjoiMTAwJSIsImNvbnRlbnQtaC1hbGlnbiI6ImNvbnRlbnQtaG9yaXotY2VudGVyIiwiZGlzcGxheSI6IiJ9LCJwaG9uZV9tYXhfd2lkdGgiOjc2N30="][tdm_block_column_title title_text="QUJPVVQlMjBVUw==" title_tag="h3" title_size="tdm-title-md" tdc_css="eyJhbGwiOnsiZGlzcGxheSI6IiJ9LCJwaG9uZSI6eyJjb250ZW50LWgtYWxpZ24iOiJjb250ZW50LWhvcml6LWNlbnRlciIsImRpc3BsYXkiOiIifSwicGhvbmVfbWF4X3dpZHRoIjo3Njd9" tds_title1-title_color="#ffffff" tds_title1-f_title_font_size="18" tds_title1-f_title_font_weight="700" tds_title1-f_title_font_line_height="1"][tdm_block_inline_text description="TmV3c3BhcGVyJTIwaXMlMjB5b3VyJTIwbmV3cyUyQyUyMGVudGVydGFpbm1lbnQlMkMlMjBtdXNpYyUyMGZhc2hpb24lMjB3ZWJzaXRlLiUyMFdlJTIwcHJvdmlkZSUyMHlvdSUyMHdpdGglMjB0aGUlMjBsYXRlc3QlMjBicmVha2luZyUyMG5ld3MlMjBhbmQlMjB2aWRlb3MlMjBzdHJhaWdodCUyMGZyb20lMjB0aGUlMjBlbnRlcnRhaW5tZW50JTIwaW5kdXN0cnku" description_color="#eaeaea" f_descr_font_size="eyJhbGwiOiIxNCIsInBvcnRyYWl0IjoiMTMifQ==" f_descr_font_line_height="1.6" tdc_css="eyJwaG9uZSI6eyJjb250ZW50LWgtYWxpZ24iOiJjb250ZW50LWhvcml6LWNlbnRlciIsImRpc3BsYXkiOiIifSwicGhvbmVfbWF4X3dpZHRoIjo3Njd9" f_descr_font_family=""][tdm_block_inline_text description="Q29udGFjdCUyMHVzJTNBJTIwJTNDYSUyMGhyZWYlM0QlMjJtYWlsdG8lM0Fjb250YWN0JTQweW91cnNpdGUuY29tJTIyJTNFY29udGFjdCU0MHlvdXJzaXRlLmNvbSUzQyUyRmElM0U=" description_color="#eaeaea" f_descr_font_size="eyJhbGwiOiIxNCIsInBvcnRyYWl0IjoiMTMifQ==" f_descr_font_line_height="1.6" tdc_css="eyJhbGwiOnsibWFyZ2luLXRvcCI6IjIxIiwiZGlzcGxheSI6IiJ9LCJwaG9uZSI6eyJjb250ZW50LWgtYWxpZ24iOiJjb250ZW50LWhvcml6LWNlbnRlciIsImRpc3BsYXkiOiIifSwicGhvbmVfbWF4X3dpZHRoIjo3Njd9" links_color="#1aa4ce" f_descr_font_family=""][/vc_column_inner][vc_column_inner width="1/3" tdc_css="eyJhbGwiOnsiZGlzcGxheSI6IiJ9LCJwaG9uZSI6eyJjb250ZW50LWgtYWxpZ24iOiJjb250ZW50LWhvcml6LWNlbnRlciIsImRpc3BsYXkiOiIifSwicGhvbmVfbWF4X3dpZHRoIjo3Njd9"][tdm_block_column_title title_text="Rk9MTE9XJTIwVVM=" title_tag="h3" title_size="tdm-title-md" tdc_css="eyJhbGwiOnsiZGlzcGxheSI6IiJ9LCJwaG9uZSI6eyJjb250ZW50LWgtYWxpZ24iOiJjb250ZW50LWhvcml6LWNlbnRlciIsImRpc3BsYXkiOiIifSwicGhvbmVfbWF4X3dpZHRoIjo3Njd9" tds_title1-title_color="#ffffff" tds_title1-f_title_font_size="18" tds_title1-f_title_font_line_height="1" tds_title1-f_title_font_weight="700"][tdm_block_socials facebook="#" vk="#" tds_social="tds_social4" tds_social4-icons_color="#ffffff" tds_social4-icons_background_color="rgba(255,255,255,0.03)" tds_social4-all_icons_border_color="rgba(255,255,255,0.03)" icons_padding="eyJhbGwiOjIuOCwicG9ydHJhaXQiOiIyLjUifQ==" tdc_css="eyJwaG9uZSI6eyJjb250ZW50LWgtYWxpZ24iOiJjb250ZW50LWhvcml6LWNlbnRlciIsImRpc3BsYXkiOiIifSwicGhvbmVfbWF4X3dpZHRoIjo3Njd9" blogger="#" flickr="#" instagram="#" tds_social4-icons_hover_color="#4db2ec"][/vc_column_inner][/vc_row_inner][/vc_column][/vc_row][vc_row full_width="stretch_row" tdc_css="eyJhbGwiOnsiYmFja2dyb3VuZC1jb2xvciI6IiMwZDBkMGQiLCJkaXNwbGF5IjoiIn0sInBob25lIjp7InBhZGRpbmctdG9wIjoiNiIsInBhZGRpbmctYm90dG9tIjoiNiIsImRpc3BsYXkiOiIifSwicGhvbmVfbWF4X3dpZHRoIjo3Njd9"][vc_column width="1/2"][tdm_block_inline_text description="JTI2Y29weSUzQiUyME5ld3NwYXBlciUyMFdvcmRQcmVzcyUyMFRoZW1lJTIwYnklMjBUYWdEaXY=" f_descr_font_size="12" f_descr_font_line_height="21px" description_color="#cccccc" tdc_css="eyJhbGwiOnsibWFyZ2luLXRvcCI6IjIiLCJtYXJnaW4tYm90dG9tIjoiMCIsInBhZGRpbmctdG9wIjoiOCIsInBhZGRpbmctYm90dG9tIjoiOCIsImRpc3BsYXkiOiIifSwicGhvbmUiOnsibWFyZ2luLXRvcCI6IjAiLCJjb250ZW50LWgtYWxpZ24iOiJjb250ZW50LWhvcml6LWNlbnRlciIsImRpc3BsYXkiOiIifSwicGhvbmVfbWF4X3dpZHRoIjo3Njd9" f_descr_font_family=""][/vc_column][vc_column width="1/2" tdc_css="eyJhbGwiOnsiY29udGVudC1oLWFsaWduIjoiY29udGVudC1ob3Jpei1yaWdodCIsImRpc3BsYXkiOiIifSwicGhvbmUiOnsiY29udGVudC1oLWFsaWduIjoiY29udGVudC1ob3Jpei1jZW50ZXIiLCJkaXNwbGF5IjoiIn0sInBob25lX21heF93aWR0aCI6NzY3fQ=="][td_block_list_menu menu_id="31" menu_color="#cccccc" f_list_font_size="12" f_list_font_line_height="21px" tdc_css="eyJhbGwiOnsibWFyZ2luLWJvdHRvbSI6IjAiLCJwYWRkaW5nLXRvcCI6IjgiLCJwYWRkaW5nLWJvdHRvbSI6IjgiLCJkaXNwbGF5IjoiaW5saW5lLXRhYmxlIn0sInBob25lIjp7Im1hcmdpbi1sZWZ0IjoiMTYiLCJjb250ZW50LWgtYWxpZ24iOiJjb250ZW50LWhvcml6LWNlbnRlciIsImRpc3BsYXkiOiJpbmxpbmUtdGFibGUifSwicGhvbmVfbWF4X3dpZHRoIjo3NjcsInBvcnRyYWl0Ijp7ImRpc3BsYXkiOiJpbmxpbmUtdGFibGUifSwicG9ydHJhaXRfbWF4X3dpZHRoIjoxMDE4LCJwb3J0cmFpdF9taW5fd2lkdGgiOjc2OCwibGFuZHNjYXBlIjp7ImRpc3BsYXkiOiJpbmxpbmUtdGFibGUifSwibGFuZHNjYXBlX21heF93aWR0aCI6MTE0MCwibGFuZHNjYXBlX21pbl93aWR0aCI6MTAxOX0=" item_horiz_align="content-horiz-left" list_padding="0" item_space="16" f_list_font_family="" menu_hover_color="#1aa4ce" inline="yes"][/vc_column][/vc_row][/tdc_zone]

This above is the code for the Default pro footer.

It should work without an issue.

Let us know the results.

Thank you !

phaseoneindustrial
tagDiv Member

Hi Vlad, my composer look different and i cant edit the header.it could be an outdated version, but i cant find anywhere how to update it. no editor, see image
there currently is a 80px height. where does it come from ?
see image

sportvisionlab
Participant
#0

Hi thanks for previous answers!
Now we are editing a child file of tbd-view-category, in this page we are making a custom subheader with title of the category and an internal service menu.
The question is how to get the category name inside that page ? or real breadcrumbs ?
we tried with
get_cat_name
single_cat_title

Calin
tagDiv Staff

Hi,

Is no need to edit the theme files, you can set that code in theme panel > analytics/js codes -> https://i.imgur.com/T9Y4Gy4.png here you can set all the code you have and it need to be set between <head> and </head> tags.
Also, our theme has more headers and footers to fit with Envato standards -> https://tagdiv.com/updating-the-core-of-tagdiv-themes/
For example when tagDiv Composer is not activate the theme will use the files from this path -> wp-content/themes/Newspaper/header.php when the plugin is enable and you also use tagDiv Standard pack with a standard header it will be use this path -> wp-content/plugins/td-standard-pack/Newspaper/header.php and if you are using a cloud header it will be use the file from this path wp-content/plugins/td-composer/legacy/Newspaper/header.php
Indeed this is quite confuse, but this is the way that these files are used after after the update per envato requirements.

Thank you!

vtripolitakis
Participant
#0

Hi,
I am trying to create a custom header using the template file header.php of my child newspaper theme.
The problem is that when I try to edit a page or a template (e.g a template footer) with tagdiv composer I get an error.

Error at zones: 6(models) : 2(dom). The model does not match the content Current state has involved an issue. You could try an UNDO operation (CTRL+Z / CTRL+SHIFT+Z)

I need to be able create a custom header very fast without go through the tagdiv composer or customize cloud templates

So what I should do to prevent this error?

Thanks,

Calin
tagDiv Staff

Hi,

I think that this problem can be solve by adding an extra parameter in a theme file, the file path is wp-content/plugins/td-cloud-library/shortcodes/header/tdb_header_logo.php on line 792 set before getimagesize and ‘@’ like this -> https://i.imgur.com/VOWmTCI.png
Also make sure that allow_url_fopen = On;
-> https://chemicloud.com/kb/article/how-to-enable-or-disable-allow_url_fopen-in-cpanel/
-> https://www.a2hosting.com/kb/developer-corner/php/using-php.ini-directives/php-allow-url-fopen-directive

Thank you!

Calin
tagDiv Staff

Hi,

If you are using a standard post style, then you can do it only using a custom css like this one -> https://i.imgur.com/XX8eexW.png
.td-post-template-1 .td-post-header header .entry-title{
font-size: 18px;
line-height: 18px;
}

This code need to by set in theme panel> custom code> advance css> phone -> https://i.imgur.com/o7EN8VI.png

Hope this will help you!
Thank you!

Calin
tagDiv Staff

Hi,

So this problem appear usually for header, then please make a full backup to your website and send us an email at contact@tagdiv.com and provide admin login, as well as cPanel or FTP if possible. We will take a look. Include a link to this topic in the email.

Thank you!

be2name
tagDiv Member

Hello,
or asked as a simpler question: How can I add different banner sizes for desktop/tablet/mobile in a header-template ad-area if I don’t use Goggle Adsense nor just graphical banners?

endrit1905
Participant
#0

Hi,

I traying to add some custom code, specifically the auto ads google script code, through the header.php manually but I’m seeing that the code is not showing in the backend.

It used to be fine days before but i noticed occasionally that the auto ads are not displayed on my website even the code is here in the header.php file.

Oslo i have added some other custom codes in the file, but even then are not there when i sersh for then through the source code on the page

Any advice?
Thanks

be2name
Participant
#0

Hello,

I’m using the header coming with the default layout of Newspaper. To place the ads in the header I’m using Revive adserver. I have written a script, that checks the size of the ad-area and inserts the necessary Revive banner-code for desktop/tablet/mobile.

Here is the code:

<div id="revive-ad-header" style="display: block; text-align: center;">
<script type="text/javascript">
adUnit = document.getElementById("revive-ad-header");
adWidth = adUnit.offsetWidth;
if ( adWidth >= 728 ) {
/* Leaderboard 728x90 */
adUnit.innerHTML = '<ins data-revive-zoneid="1" data-revive-id="a7d099fe9a8c6365a11a9e0b369"></ins>';
} else if (adWidth <= 720 && adWidth >= 468) {
/* Banner 468x60 */
adUnit.innerHTML = '<ins data-revive-zoneid="2" data-revive-id="a7d099fe9a8c6a11a9e0b369"></ins>';
} else {
/* Mobile Banner 320x50 */
adUnit.innerHTML = '<ins data-revive-zoneid="3" data-revive-id="a7d099fe9a8c365a11a9e0b369"></ins>';
}
</script>
<script async src="//www.webserverdomain.de/www/delivery/asyncjs.php"></script>
</div>

This works perfectly.

I now wanted to switch to a header template. The ad-setting for the ad-area is “Use adspot from: header” so I thought this would be it.

But no ads are shown in my header. The variable adWidth always returns 0 and adUnit.innerHTML has no effect.

So I switched to the “Custom ad” and entered the code in the box there. But this doesn’t work either.

What might be the problem, that the code works perfectly with the default header but not within a header-template?

marcelo.berwanger
Participant
#0

Hello,
We have a CDN running and the images are not stored on our server. For this reason it displays the following WARNING, how can we solve it?

[20-Jul-2020 08:59:44] WARNING: [pool DOMAIN.com.br] child 44607 said into stderr: “NOTICE: PHP message: PHP Warning: getimagesize(https://CDN.site/2019/10/Logo_SCD_Prancheta-1.png): failed to open stream: operation failed in /home2/DOMAIN.com.br/httpdocs/wp-content/plugins/td-cloud-library/shortcodes/header/tdb_header_logo.php on line 792”

Thanks,

Viewing 25 results - 10,201 through 10,225 (of 29,850 total)