Hi,
All the header styles are predefined in terms of layout, so any modifications will most likely require custom code.
1. Header style 1 logo is already on the left side, while the header ad is on the right. It would be difficult to position the logo right in any way different while also maintaining responsiveness, the containers and design is predefined
– https://www.screencast.com/t/gWKG8xzPc
2. The only header styles that do not have a limit for the logo size, are header styles 9, 10 and 11, please see this guide
– https://forum.tagdiv.com/logo-favicon/
The rest have required sizes for best results.
3. You could remove that space with a code like this
– https://www.screencast.com/t/4f2ap7eH
Custom CSS code can be entered in Theme panel->Custom code section
– https://pastebin.com/bq644WU3
It should not cause any issues if you use this code.
4. Try removing the news ticker and place it again on the page, there should not be such a big space around it. It should look like this
– https://demo.tagdiv.com/newspaper_tech/
5. You can set colors for the header main menu as you wish (background color, text color, hover color etc) in the theme panel
– https://www.screencast.com/t/NJz90WaXAT
6. That is the latest articles section, you can choose a different module
– https://www.screencast.com/t/7enpgmqjs0
Thank you!
Hello neoandrej,
You should use a custom CSS code with a certain post ID if you want to make these changes only for a specific post page. As a hint, you should try using the following code and place it in Theme panel -> Custom CSS area.
The code is ->
.postid-1090 .td-main-logo img{
display:none;
}
The result is here -> https://www.screencast.com/t/w6awJvFBh
Thanks for your understanding!
Hi Simion,
I proudly present to you my new page that sorts my events on per year basis. As you said there was no option currently in your theme which allowed to do this, so this was all a matter of Efficient Algorithm Utilization using the existing methods.
So basically what I did was, by using WordPress Bulk Edit Functionality, I assigned each of my posts a tag according to their year. First in my admin panel, I filtered all my posts for year 2018 and then bulk assigned them a 2018 tag, then I filtered for 2017 year and bulk assigned them a 2017 tag and so on.
Then using Block 7 of your theme, I was able to apply filtration by providing tag ids for each year. And the result was awesome. TAAAA DAAAA. Just what I wanted without writing or modifying a single line of code. The line of code that was written was a bit of CSS to make the years shift towards left instead of right side.
This is not a query but a solution which I did and writing it here in case it might help out others who face a similar situation like me.
Please check this page now.
https://pildat.org/pildat-activities
Hello,
homepage newspaper blockgrid10, I would like to change the color of the “author” link from black to white but I can not find the template or css to change.
can you help me? Thank you
http://i64.tinypic.com/29w1n9c.jpg
Another question. How to change the color of the left sidebar via CSS code?
Thanks for the css… that worked perfectly!
Is there any way to use a large logo (as in my site) and use a Header Ad to the right of it?
So on the category page through theme panel i have this settings
Category header – disabled
CATEGORY TOP POSTS GRID STYLE = Grid Style 2
ARTICLE DISPLAY VIEW – Module 10
Normal Pagination.
Now when i view the category page on my site there is no space margin between the big grid style 2 and and articles.
I am also using the block 11 and custom homepage via pagebuilder.
One more thing VOICE Style is being used.
For homepage it works fine. Its happening on every category page and module. There is no space between the top and the articles on the category pages.
Hello prashanth,
Please use these guides to properly implement SSL:
http://www.wpbeginner.com/wp-tutorials/how-to-add-ssl-and-https-in-wordpress/
https://css-tricks.com/moving-to-https-on-wordpress/
https://yoast.com/dev-blog/move-website-https-ssl/
https://forum.tagdiv.com/topic/moving-to-ssl/
Probably, your SSL configuration was not well implemented. Try the above clues in this case because the SSL implementation is not covered by our support.
Thanks.
Hello,
Please try to disable all plugins besides the tagdiv composer and the mobile theme and restore any optimization/customization. Then test again. There could be a plugin preventing google from grabbing the correct info. It seems the css is not being grabbed properly in the test.
Thank you!
Hello great1212,
1)Your logo has black color and that’s why on mobile devices this is not visible because the very top banner is black. Try the code below and place it in Theme panel -> Custom CSS area.
The code is ->
@media (max-width: 767px){
.td-header-wrap .td-header-menu-wrap-full, .td-header-wrap .td-header-menu-wrap, .td-header-wrap .td-header-main-menu {
background-color: white !important
}
@media (max-width: 767px){
#td-top-mobile-toggle i{
color:black!important;
}
@media (max-width: 767px){
.header-search-wrap .td-icon-search {
color: black !important;
}
The result is here -> https://www.screencast.com/t/RyyPOmOE
2)The footer uses the logo in full width and that’s why you bring different results. Try to change the footer template.
3)Please check the following the topic from here -> https://forum.tagdiv.com/topic/social-counter-and-instagram-problem/
Thanks for your understanding!
Glad you could solve the issue.
1. The black demo is custom made, by theme options it is not possible to achieve that design. It contains custom CSS in it’s stylesheet
– https://www.screencast.com/t/DTn5qT5f
It colors most of the theme elements with custom CSS code as seen in the stylesheet. You could use that for inspiration if you want to create something similar. Together with the browser inspector tool
– https://forum.tagdiv.com/create-custom-code-using-the-browsers-inspector/
I will try to help you further if you could mention what exactly you want to do, and where in the website.
2. The theme general width cannot be changed, it is predefined. It is not recommended to make any modifications to it, as this will most likely cause layout issues.
All the blocks and grids depend on this fixed width, their design will be damaged if it is modified.
There are row options in the composer to stretch them to predefined widths or full widths
– https://www.screencast.com/t/RlJHQWPbpFHU
Also there are full big grids, which are always full width
– https://demo.tagdiv.com/newspaper/full-big-grid-1/
Header and footer can also be stretched as you mention
– https://www.screencast.com/t/eDLhcqO6
But a general width setting for all the website pages is not available at the moment.
If you could provide a link to your website we will inspect the sharing issue.
Hi Mesotu,
No, it’s not ok to use that code, since it is going to block CSS and JS, too:
https://yoast.com/dont-block-css-and-js-files/
The 500 error IS a big deal, since Google thinks there is something wrong with your server and does report it as a server issue. Repeatedly. Weird enough, out of 15-20 themes I’ve been using, Newsmag is the ONLY one that has the issue, so there goes the ‘inherent WordPress problem’ theory. Secondly, we can’t really blame it on Google crawling those folders, because Google does not really care who’s fault it is. It either sends you more traffic or less traffic, and those errors are one of the important factors how it decides that. So, let’s not forget that we create websites so they can be SEEN by as many people as possible. If there is an issue that prevents that, no matter who’s fault it is, we have failed in accomplishing our main goal.
I have not seen a solution, yet, that is not spread over 3-4 support tickets. I am considering changing the theme just to get rid of this one problem.
Hello,
You can do it by altering the mobile theme code or by hiding them with css.
Here is an example of how yu can remove the about us and follow us sections on the mobile theme:
comment out or remove this code: https://www.screencast.com/t/Owr9dZbN
Thank you!
Hello,
try this css:
.td-ps-bg .td-social-but-icon, .td-ps-bg.td-social-but-text{
background-color:grey!important;;
}
Thanks.
Hi,
The post and comment counter in the author page will be displayed
– https://www.screencast.com/t/dI2fJfPg
There is a margin between the two counters, if it is removed they will be displayed like this
– https://www.screencast.com/t/KcNg5q1b
If you plan not to comment on posts then the post count will only be visible, I could give you a code to remove that margin if that is the case
– https://www.screencast.com/t/mAhztkg1OZ1
Enter this code in Theme panel->Custom code->Advanced CSS in the phones section
.td-author-counters span{
margin-right: 0;
}
Thanks
Hi there,
We’ve recently launched our site and have included the AMP plugin for support. We haven’t changed anything with the plugin, simple enabled it for posts and that’s it.
When running the Google AMP test on our pages they fail with error: “The text inside tag ‘style amp-custom’ contains ‘CSS !important’, which is disallowed.”
For example see here – https://gaminglyf.com/news/2018-03-14-microsofts-new-xbox-live-avatars-will-launch-in-april/amp/
We’re struggling to figure out what’s causing the issue? When viewing the highlighted code in the Google test it doesn’t contain ‘!important’ anywhere in the code let alone the highlighted section. What’s going wrong here?
Hi,
You can set colors for various elements as creating the post
– https://www.screencast.com/t/93yraB6qF
But for all posts at once you could try that with CSS, that would be the only way of achieving something like that. For example a code like this will set a color for the paragraphs and all headings in the post content belonging to a specific category
– https://www.screencast.com/t/nDjjeNRa
The browser inspector can help you identify the elements needed and create custom code
– https://forum.tagdiv.com/create-custom-code-using-the-browsers-inspector/
Thanks
We want to keep the main menu fixed. Not a menu that shrinks from 80px – 60px in height when the page is scrolled. I’m sure you have a quick css fix for this, we would greatly appreciate it.
Thank you;
David Sukola
I would like to integrate PrismJs syntax hightlighter in Newspaper 8.7 theme. I have included the following code in functions.php file inside theme folder.
// Function to add prism.css and prism.js to the site
function add_prism() {
//To register the prism.css
wp_register_style(
'prismCSS', //Handle name to register and enqueue prism.css
get_stylesheet_directory_uri() . '/prism.css' // location of the prism.css file
);
// Register prism.js file
wp_register_script(
'prismJS', //Handle name to register and enqueue prism.js
get_stylesheet_directory_uri() . '/prism.js' // location of the prism.js file
);
// Enqueue the registered style and script files
wp_enqueue_style('prismCSS');
wp_enqueue_script('prismJS');
}
add_action('wp_enqueue_scripts', 'add_prism');
But, it has no effect. I have uploaded prism.js and prism.css file in the same directory as functions.php file directory.
When I view the source code, it show both file but no luck. Please help
Hi
The Sharing buttons at the end of each blog post has gotten it´s colours back. I still have the above CSS given to me 26/8-16 as I had before, and have not changed anything. I notice more choices have been given to costumize the sharing buttons look, for example doing them all black, but I still prefer having them gray. Can the above CSS be modified to work for the new button options?
https://www.ladiesabroad.se/2018/03/manadens-staycation.html
thanks from Lena
Спасибо, догадался сам.
Надо вначале CSS добавить в это месте:
*/
body {
visibility: visible !important;
}
и сделать так:
*/
body {
visibility: visible !important;
float: left;
position: relative;
}
Может кому сгодится. Зажадничали что ли 2 строчки?
Hi Simion,
Thanks a lot for your amazing help! Great work!
The excerpt-question is answered.
About the header background-image:
I went to Newspaper/includes/demos/craft_ideas/demo_styles.css
In line 175 I changed the code from
background-image: url(“images/header-bg.png”);
to
background-image: url(“http://reisdromen.com/wp-content/uploads/2018/03/Brush-stroke.png”);
Unfortunately, nothing happened. Did I do something wrong?
Thanks.
Nick
website pencopy.com
The following cacheable resources have a short freshness lifetime. Specify an expiration at least one week in the future for the following resources:
https://www.googletagmanager.com/gtag/js?id=UA-77563813-2
http://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js
https://www.google-analytics.com/analytics.js
https://pagead2.googlesyndication.com/pub-config/r20160913/ca-pub-2477206161595107.js
http://fonts.googleapis.com/css?family=Open+San … %2C400%2C400italic%2C500%2C500italic%2C700%2C900
I already add as you page speed guide code:
# BEGIN Expire headers <ifModule mod_expires.c> ExpiresActive On ExpiresDefault “access plus 5 seconds” ExpiresByType image/x-icon “access plus 604800 seconds” ExpiresByType image/jpeg “access plus 604800 seconds” ExpiresByType image/png “access plus 604800 seconds” ExpiresByType image/gif “access plus 604800 seconds” ExpiresByType application/x-shockwave-flash “access plus 604800 seconds” ExpiresByType text/css “access plus 604800 seconds” ExpiresByType text/javascript “access plus 604800 seconds” ExpiresByType application/javascript “access plus 604800 seconds” ExpiresByType application/x-javascript “access plus 604800 seconds” #ExpiresByType text/html “access plus 600 seconds” #ExpiresByType application/xhtml+xml “access plus 600 seconds” </ifModule> # END Expire headers
suggest me what i have to do for it.
Hi, i have had the same issue. I have found the Autoptimize pluging cause the change in style when the “inline and defer css?” option is on
I have tried entering page specific CSS to remove this
margin-top:48px
using
.td-post-template-8 .td-main-content {
margin-top: 0px;
}
It works fine in the debugger, tried refering to the post with
#post-346 .td-post-template-8 .td-main-content {
margin-top: 0px;
}
Still not working
(http://www.dalat.org/web/da-school-history/)
see (pic)
