Search Results for 'header'

Results from the Forum
foto4go
Participant
#0

Hi, I bought the template newsmag 4 but I have a problem with the image for the background ads.
I followed the instructions on the documentation but the no stretched image is placed above the top header. How can I solve? the affiliate link instead runs regularly
Thank you
http://lnx.aereidaguerra.net/foto4go/
for example i need to have this result https://labussolanews.com/

Calin
tagDiv Staff

Hi,

If this is what you want https://www.screencast.com/t/AktCBxkV1AP3
Then please add this custom css

.td-header-style-12 .td-main-menu-logo, .td-footer-bottom-full .td-pb-span3 {
float: right!important;
}
.td-header-style-12 #td-header-menu {
float: right;
width: 900px;
}
.td-header-style-12 .td-main-menu-logo, .td-footer-bottom-full .td-pb-span3 {
float: left;
}
.header-search-wrap{
position : relative;
}
.td-header-wrap .td-drop-down-search {
left: 0;
}
.td-header-wrap .td-drop-down-search:before {
left: 19px;
}

Thanks

Calin
tagDiv Staff

Hi,

If this is the result you want https://www.screencast.com/t/lpc2qEiF2TJ , then please add the below css in Newspaper>Theme panel>Custom code> Custom css
.td-header-style-12 .sf-menu > .current-menu-item > a, .td-header-style-12 .sf-menu > .current-menu-ancestor > a, .td-header-style-12 .sf-menu > .current-category-ancestor > a, .td-header-style-12 .sf-menu > li > a:hover, .td-header-style-12 .sf-menu > .sfHover > a {
background-color: black!important;
}

This will work only for header stile 12

Thanks.

Simion C.
tagDiv Staff

Hi,

That is the Newspaper theme from what I can see, this is the Newsmag forum.

Newspaper has a few block header styles to choose from
https://demo.tagdiv.com/newspaper/block-header-1/
Most of theme are left aligned however, or center aligned. This is because the right side is where the ajax filter is displayed
https://www.screencast.com/t/gTQAf2T1Lzu

If you don’t plan on using ajax filters you could use some CSS
https://www.screencast.com/t/U7XnTHaM9Ky
This code is general, it will affect all the block titles in the website when used

.block-title {
text-align: right!important;
}

Thanks

Simion C.
tagDiv Staff

Hi,

1. I believe you are referring to the category tags – http://prntscr.com/likf3f
Those have predefined colors, they could only be changed with CSS, not by a theme setting.

I could try and give you a solution, mention for which elements you want to change the color, which blocks and where. A link to the website/page would be helpful so I can test.

For example something like this would work for all the category tags at once
https://www.screencast.com/t/kFYKB3RkS

.td-post-category {
background-color: blue;
color: black;
}

2. Maybe something like this – https://www.screencast.com/t/1IPmNEYmVI
The menu will start from the right if you enter this code in Theme panel->Custom CSS

@media (min-width: 767px) {
#td-header-menu .sf-menu li {
float: right;
margin-right: 14px;
}}

3. I could take a look, provide a link to where the grid is in your website and exact details about what you want to do.

4. Seems the theme will override the font weight on mobile, it will set a font-weight of 600, so the one from the theme panel will not apply anymore
https://www.screencast.com/t/rhlVigkI6Hh
I will add this on our list of issues, I don’t think this is intended to happen. As a quick fix I could give you a code to make sure your desired font weight applies. For example
https://www.screencast.com/t/t5hkyCyH

.td_block_big_grid_4 .td-small-thumb .entry-title {
font-weight: 100!important;
}

Let me know.

Thanks

josesdc
Participant
#0

Hello, I made an installation of the Newspaper theme and tagdiv composer was installed. However, when moving the wordpress installation from the demo directory to the main directory, tagdiv composer stopped working when I tried to edit the content of a page. Tagdiv does not finish loading and this code appears in the console.


JQMIGRATE: Migrate is installed, version 1.4.1
header-bd1e2519-1541148187.min.js:9 JQMIGRATE: Migrate is installed, version 1.4.1
js_files_for_wp_admin.min.js:25 Array(2)
js_files_for_wp_admin.min.js:25 Array(2)
js_files_for_wp_admin.min.js:25 element mouse down
js_files_for_wp_admin.min.js:25 clear _deletePanel
js_files_for_wp_admin.min.js:25 Object
5wpeditor.php?wp_path=/var/www/html/betadev.sdc.com/:303 Uncaught SyntaxError: Invalid or unexpected token
2wpeditor.php?wp_path=/var/www/html/betadev.sdc.com/:308 Uncaught SyntaxError: Invalid or unexpected token
2wpeditor.php?wp_path=/var/www/html/betadev.sdc.com/:313 Uncaught SyntaxError: Invalid or unexpected token
3wpeditor.php?wp_path=/var/www/html/betadev.sdc.com/:318 Uncaught SyntaxError: Invalid or unexpected token
5wpeditor.php?wp_path=/var/www/html/betadev.sdc.com/:326 Uncaught SyntaxError: Invalid or unexpected token
wpeditor.php?wp_path=/var/www/html/betadev.sdc.com/:329 Uncaught SyntaxError: Invalid or unexpected token
wpeditor.php?wp_path=/var/www/html/betadev.sdc.com/:334 Uncaught SyntaxError: Invalid or unexpected token
wpeditor.php?wp_path=/var/www/html/betadev.sdc.com/:339 Uncaught SyntaxError: Invalid or unexpected token
4wpeditor.php?wp_path=/var/www/html/betadev.sdc.com/:344 Uncaught SyntaxError: Invalid or unexpected token
2wpeditor.php?wp_path=/var/www/html/betadev.sdc.com/:349 Uncaught SyntaxError: Invalid or unexpected token
3wpeditor.php?wp_path=/var/www/html/betadev.sdc.com/:354 Uncaught SyntaxError: Invalid or unexpected token
wpeditor.php?wp_path=/var/www/html/betadev.sdc.com/:359 Uncaught SyntaxError: Invalid or unexpected token
3wpeditor.php?wp_path=/var/www/html/betadev.sdc.com/:364 Uncaught SyntaxError: Invalid or unexpected token
wpeditor.php?wp_path=/var/www/html/betadev.sdc.com/:364 Uncaught ReferenceError: tdConfirm is not defined
at wpeditor.php?wp_path=/var/www/html/betadev.sdc.com/:364
wpeditor.php?wp_path=/var/www/html/betadev.sdc.com/:1633 Uncaught ReferenceError: jQuery is not defined
at wpeditor.php?wp_path=/var/www/html/betadev.sdc.com/:1633
wpeditor.php?wp_path=/var/www/html/betadev.sdc.com/:1663 Uncaught ReferenceError: jQuery is not defined
at wpeditor.php?wp_path=/var/www/html/betadev.sdc.com/:1663
at wpeditor.php?wp_path=/var/www/html/betadev.sdc.com/:1769
mce-view.js:762 Uncaught TypeError: Cannot read property 'shortcode' of undefined
at mce-view.js:762
plugin.min.js?wp-mce-4800-20180716:1 Uncaught ReferenceError: getUserSetting is not defined
at i.onPostRender (plugin.min.js?wp-mce-4800-20180716:1)
at i.a (plugin.min.js?ver=4800-20180716:1)
at jg.c.fire (tinymce.min.js?ver=4800-20180716:2)
at i.fire (theme.min.js?wp-mce-4800-20180716:1)
at i.postRender (theme.min.js?wp-mce-4800-20180716:1)
at i.postRender (theme.min.js?wp-mce-4800-20180716:1)
at i.postRender (tinymce.min.js?ver=4800-20180716:2)
at i.<anonymous> (theme.min.js?wp-mce-4800-20180716:1)
at Object.qt [as each] (tinymce.min.js?ver=4800-20180716:2)
at i.each (theme.min.js?wp-mce-4800-20180716:1)
wpeditor.php?wp_path=/var/www/html/betadev.sdc.com/:132 Uncaught ReferenceError: jQuery is not defined
at window.loadIframe (wpeditor.php?wp_path=/var/www/html/betadev.sdc.com/:132)
at onload (wpeditor.php?wp_path=/var/www/html/betadev.sdc.com/:277)

When I try to instal the plugin from scratch appear a message that said:
The following plugins were disabled because they are incompatible with this version of Newspaper:

tagDiv Composer

Can you help me with this issue?

Thnks!

bayarshahab
Participant
#0

Hi,

How can I move the header block title to the right side as in the picture below

https://imgur.com/a/L0J6HvL

ctoweett
tagDiv Member

It can be enabled with code. Paste this in the custom CSS section of the theme panel.
@media (max-width: 767px){
.td-header-top-menu-full {
display: block;
}
.td-header-sp-top-menu {
display: block !important;
text-align:center
}
}

Calin
tagDiv Staff

Hi,

Please paste in Newspaper>Theme panel>Custom code>Custom css the below code
.td-header-style-12 .td-main-menu-logo, .td-footer-bottom-full .td-pb-span3 {
float: right;
}

See the results: https://www.screencast.com/t/bFEowfFjO
https://www.screencast.com/t/qiMqEBQyzbKw
This css will work only on header (Style 12), and in footer(Style 5).

Thank you.

Simion C.
tagDiv Staff

Hi,

Some header style display indeed a gradient – https://www.screencast.com/t/fuMlZbHDJp
It could be removed if needed, with a code like this
https://www.screencast.com/t/RdIk2Ym2

.td-header-gradient:before {
display: none;
}

The code can be entered in the theme panel custom CSS section.

Thanks

pbc
Participant
#0

Hi, how to display logo on right side (Style 12), and in footer(Style 5).

Thanks

Simion C.
tagDiv Staff

Hi,

@Sydney Archdiocese
The result will be the same for codes you want to be loaded in the header, between the head tags. Either enter the code directly in the theme (or child theme if used) header file, or in the theme panel
https://www.screencast.com/t/99JXi1lzzD

If you enter it directly in the main theme header file it will be lost after a theme update, since all the theme files will be replaced. Entering it in a child theme header file, or theme panel, it will not be lost.

Thanks

Calin
tagDiv Staff

Hi,

If I understand correcty you like heder style 1,
Then set the images in header style one, but be notice that if you are using the header ads will look wrong.
https://www.screencast.com/t/bQaR1L5qWWDC
If this is what you want https://www.screencast.com/t/MNHCw9B7VhC
Please paste the below custom css in Newspaper>Theme panel>Custom code >Custom css
.td-header-style-1 .td-header-sp-logo{
width: 1024px!important;
}
.td-header-style-1 .td-header-sp-logo a img{
float: left;
position: relative;
left: 52px;
}

You can edit the above css after your desire.

Thanks

uitdezaanstreek
Participant
#0

Hi there,

Where can i style/disable/get rid of the header gradient?

Regards, Ed’

Simion C.
tagDiv Staff

I see ads as well at the moment, maybe it just took some time before they started to appear on the website
http://prntscr.com/li4zoq

What exactly do you mean by zoomed in? Zooming is a browser function, if a user wants to zoom in they can do so.

If you entered the analytics script in the theme panel it will be loaded in each page of the website, in the header. Make sure everything is set properly on the Google side
https://support.google.com/analytics/answer/1008015?hl=en
That is what the Analytics section in the theme panel does, it outputs the code you enter in the website header. Check in the page source for the script and it should be loaded visible. It may take some time before the statistics are available. You could check this as well
https://support.google.com/analytics/answer/1008083?hl=en

For AMP the code has to be added of this form – https://www.screencast.com/t/QBkx8rs1PPh
https://developers.google.com/analytics/devguides/collection/amp-analytics/
The rest of the tags and code will be added automatically.

Simion C.
tagDiv Staff

Hi,

1. From what I can see the title breaks when there is not enough space
https://www.screencast.com/t/UkljSSad
If it would not the result is like this – https://www.screencast.com/t/rLHnv33V
https://www.screencast.com/t/nuEuV19AwZ
From what I can find hyphenation of words is possible but not for all languages and may not work in all browsers
https://css-tricks.com/almanac/properties/h/hyphenate/
I believe that is why the current word break was implemented.

2. It would be better to use a shadow, there are plenty of shadow generators online. For example a quick test I made
https://html-css-js.com/css/generator/box-shadow/
https://www.screencast.com/t/pABY7aPdQ
https://www.screencast.com/t/TR7fI9Ras6p
You can design a shadow how you like it and use this code to apply it (code can be entered in Theme panel->Custom CSS) simply replace the values I used in the example

.td-header-menu-wrap {
-webkit-box-shadow: 0px 5px 31px 1px rgba(0,0,0,0.27);
box-shadow: 0px 5px 31px 1px rgba(0,0,0,0.27);
}

Header style 6 that you are using doesn’t underline the active menu items, it colors their background
https://www.screencast.com/t/4TYnzCHPQY5P
I could give you a code to make it visible, like this
https://www.screencast.com/t/1LsDVN0jIZD
https://pastebin.com/VTwu8faP
If you want you can chnage the color of the underline in the code.

Thanks

Sydney Archdiocese
tagDiv Member

So is the best way to implement GTM inside the header php and not from within the theme’s google analytics section?

ernieb51
Participant
#0

I just purchased and installed newsMag. Looks like a great theme. But tagDiv Composer is required. When I click on the link to install tagDiv Composer, I get the result
Installing Plugin: tagDiv Composer
The plugin does not have a valid header.
Downloading installationpackage from http://towncrier.us/wp-content/themes/Newsmag/includes/plugins/td-composer.zip…
Download failed. Not Found

Yet the tagDiv Composer plugin (td-composer.zip) is included in the specified path. How do I install this and get the theme to work?

Thank you.

NQDA
tagDiv Member

Thank you Calin.

Works but on some elements not because they have different tabs.
Example: http://www.clipular.com/c/5950073125732352.png?k=wbyQwQNZC71M-xQtMb2VoHm4Gfk

I change the code (for WPBakery)
.vc_ui-panel-header-container .vc_general li:nth-child(3) {
display: none;
}

And for exceptions (Video Player example)
.vc_ui-panel[data-vc-shortcode="vc_video"] .vc_ui-panel-header-container .vc_general li:nth-child(2) {
display: none;
}

mayer62
tagDiv Member

Can u show me how can i allign the logo in same raw? or maybe show me the page to modify to do that! im working in header style 1. rly thanks

Calin
tagDiv Staff

Hi,

If I understand correctly you refer at this css tab https://www.screencast.com/t/hnCSLsIqOON , if is so, then is no option to hide or disable the tabs.
You can hide it with custom css , for example Please the below custom css in Newspaper>Theme panel>Custom code>Custom css

.tdc-tabs a:last-child{
  display:none;
}

see results:
https://www.screencast.com/t/EsqnG3Xp

For WPBakery
https://www.screencast.com/t/j1dByLMcJg
https://www.screencast.com/t/nT1kJaRl
Hope this will help you.
.vc_ui-panel-header-container .vc_general li:nth-child(2){
display: none;
}

Thank you for your understanding.

  • This reply was modified 7 years by Calin.
amrinder
tagDiv Member

issue of top header menu height is solved. thanks suggestion worked well.

amrinder
tagDiv Member

Hi please check this website: https://rrbnaukri.in

here, i want it to load faster, top header menu should be smaller, and the homepage should be zoomed in if possible.

Simion C.
tagDiv Staff

Hi,

Seems the test detects that you do not use a CDN, that is not required however. You could use one and make tests. For example
https://forum.tagdiv.com/cloudflare-cdn/
Using a CDN or a caching plugin may reduce the http requests as well
https://torquemag.io/2018/02/how-to-reduce-http-requests-wordpress/

For expires headers you could check their documentation, maybe try what is suggested
https://gtmetrix.com/add-expires-headers.html

The theme will serve a minified javascript already, for CSS minification you could do it manually for example
https://cssminifier.com/
Or try plugins that can do this automatically (these could create problems in some cases).

Also check with your hosting, maybe they have optimizations services or modules they can activate server side.

Thanks

Calin
tagDiv Staff

Hi,

Unfortunately our theme don’t have such options, if you want to do that you need to change some theme files, and if you do not have the proper skills you’ll damage the theme.
If you want to make the changes, for example for header 10
https://www.screencast.com/t/qbJ7yrFXicUS
results: https://www.screencast.com/t/Ounrrnl0

Thank you for your understanding.

Viewing 25 results - 16,501 through 16,525 (of 29,850 total)