- NewsmagtagDiv Composer Tutorial
- NewsmagBlock settings tutorial
- NewsmagLogo & Favicon
- NewsmagFooter templates
- NewsmagUsing other ads
- NewsmagUsing Typekit fonts
Hi
I complete line 853 of td_module_single_base.php with:
$buffy .= '<div class="author-box-wrap ' . get_the_author_meta('display_name', $author_id) . ' ">';
And add in custom css:
.author-box-wrap.Maricel7{
display:none;
}
(with my administrator name)
But still I have the admin box in the post, that I don’t want.
There are some error?
Thanks!
Can’t upload newspaper theme.
Hi,
Please do not post your credentials here as others have access to this forum. i have removed them from the reply now.
3. If you want to remove the uncategoriesed category, please add this code in the theme panel-> custom css box:
.td_block_popular_categories a[href="http://xelamitvark.am.php56-17.ord1-1.websitetestlink.com/category/uncategorized-hy/"]{
display:none
}
5. Sorry but the footer as any other part of our theme only has 3 sections. We built our theme on 3 columns so there cannot be 4, sorry.
6. You can add this code in theme panel-> custom css box:
.td-sub-footer-copy{
width:100%;
text-align:center;
}
Please change your credentials as other users may have seen them.
Thank you!
Hello,
Try to add this code in the theme panel-> custom css box:
@media (max-width: 767px){
.td-header-top-menu-full, .td-header-sp-top-menu {
display: block!important;;
}
.td_ul_login{
display:none!important;
}
.td-header-sp-top-menu, .menu-top-container{
width:100%!important;
}
#menu-td-demo-top-menu{
margin-left: auto;
margin-right: auto;
display: table;
}}
Thank you!
The page speed of my site http://www.rockingfamily.at is worst. Gzip is activated, and i’ve already installed the recommended Caching plugin.
Google Page insights told me, that the server response time ist very slow. But the latency is very low and i can load my stats site in a few miliseconds.
But when i check the site with firebug, it lasts nearly 2 seconds to laod the site html (header), before laoding the images, css, js, and so on.l
How ca i improve the loading of my site?
Best greetings from Austria
David
Hi,
Yes it is, just enter it in the desired field of the Advanced Css section
– https://www.screencast.com/t/Lsb0nTrUFIfo
Then the code will apply only on the respective screen sizes.
Thanks
While checking a newspaper theme based site: https://www.ghpage.com/10-beautiful-wives-behind-the-success-of-ghanaian-male-celebrities/3/
see screenshot: https://s9.postimg.org/deax6fgan/2017-04-13_14-23-31.jpg
I noticed this new design of ‘pagination’ in which there are numbers like 2,3,4 to visit next page. It says ‘Previous Page’ and ‘Next page’ without showing any numbers.
How can achieve the same thing on my website? Is it a new update on Newspaper theme or do I have written some CSS code for this?
Also, kindly make these a little bigger than what shown in the above example. Is there any possibility of have button like this: https://s11.postimg.org/bin2u1hv7/2017-04-13_14-27-02.jpg
Here is the issue,
I have tried 3-4 different method to insert inline ads after several paragraphs under post content ( both using plugins and without plugins) . It works perfectly.
But I noticed that when we use it with speed booster plugin, it has one weird issue.
First of all, based on info available here- https://forum.tagdiv.com/how-to-make-the-site-faster/ , I delete this code from speed booster file to make it work with other plugins:
// disable the plugins if there are incompatible plugins
$active_plugins = get_option('active_plugins');
//print_r($active_plugins);
//die;
foreach ($active_plugins as $active_plugin) {
if (!in_array($active_plugin, $this->allowed_plugins)) {
define('TD_SPEED_BOOSTER_INCOMPATIBLE' , $active_plugin);
return;
}
}
and then move the JS and css file to footer using file ID. It works very well with all other plugins installed on my website. But for this example- let’s consider that I don’t move any other files.
before activating speed booster. Here is how ad looks on my site: https://s30.postimg.org/6gjkrz7cx/ads-1.jpg
you can see that the ad after pragraph-1 is properly aligned to center within post content.
After activating speed booster, here is how it looks- https://s12.postimg.org/8lqlmqmp9/ads-2.jpg
You can notice that the ad leaves the post content and probably get aligned to the center of whole website, not just post content.
On further checking, I noticed that the issue is caused by the following line:
$this->move_style_to_footer_queue('td-theme');
When I delete this line from speed booster, the ads start displaying correctly. But then a new issue arises, the homepage gets broken like this: https://s11.postimg.org/6tk42duer/2017-04-13_14-14-13.jpg
So, either I can run these ads properly but then homepage gets broken or display homepage correctly, then ads gets misaligned.
I do want to use speed booster for optimisation purpose. So, please look into the issue and see if anything can be done.
Thank you.
Hi,
The theme has these requirements – https://forum.tagdiv.com/requirements-for-newspaper/ and modifications to be made according to this guide if it is necessary – https://forum.tagdiv.com/system-status-parameters-guide/
You can try to reinstall the theme using this method – https://forum.tagdiv.com/install-via-ftp/ and use only the plugins provided with the theme package, clear any caching installed and try again.
I see that you have many errors and warnings present on your website
– https://www.screencast.com/t/vRGaXW5G4cLn
This indicates that the transition to https was not done properly, please check these few leads that have proved to be useful to other users in this situation
– 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/
You can also check our forum for some insight on this matter
– https://forum.tagdiv.com/topic/moving-to-ssl/
Thanks
Css can hide elements, yes. If you want to you can remove the elements you want using this code:
.td-social-twitter, .td-social-google, .td-social-pinterest{
display:none!important;
}
But removing the word share from the button will require you to edit the theme code and remove it like so: https://www.screencast.com/t/8SVr6sYIn
Adding a new social icon will again require you to modify the code like these topics suggest:
https://forum.tagdiv.com/topic/add-linkedin-sharing-button/
https://forum.tagdiv.com/topic/how-to-add-a-vk-sharing-button-on-your-posts/
Thank you!
Hello,
Yes, you can add the code just for a specific device if you use the advanced css section: https://www.screencast.com/t/MPrc6vXR0
You can do this for any block you want if you use the browser inspector and get the proper classes for each element.
Here is an example for block 18:
.td_block_18 .td_module_mx8 .td-module-thumb{
height: 500px;
}
Please use this guide in order to customize the theme css: https://forum.tagdiv.com/create-custom-code-using-the-browsers-inspector/
Thank you!
Hello,
If you remove these lines from the current version of speedbooster: https://www.screencast.com/t/FqBdGKtNdrRv then all of the theme styles will not get moved to the footer anymore and you will no longer see the flash of different color on the first load. The site will load slower though as it will wait until these files are loaded. That was the point in moving them to the footer in the first place. But a side-effect of having a better loading speed is the flash of colors when there are color changes in the css. This would be a compromise between loading speed and visual effects. I think it;s enough to just comment out the td-theme code, not all 4 but I highlighted all 4 theme stylesheets.
Thank you!
Hello,
Yesterday I asked a question https://forum.tagdiv.com/topic/google-fonts-not-working-on-mobile-theme/ and Simion C. redirected me to a link. The solution actually worked and now I am able to use my own uploaded fonts to the mobile theme.
But now when I know that, I only use few selected fonts like Poppins, Open Sans, Georgia, and Merriweather. Is there any need to load Google fonts on the desktop or anywhere? What I understood that mobile theme does not load google fonts so we need to upload and define new fonts under style.css to use it. But the same is not the case with the desktop version. So, here are few confusions/questions of mine. Please help me understand/resolve it:
1. When I download Poppins font from https://www.fontsquirrel.com/fonts/poppins , it has 4-5 TIFF files which I further converted into .WOFF to use it. But do we need to upload all these files which had different font-weight?
Can’s we upload just one normal font-weight Poppins theme and then define different font-weight under style.css like this:
font-family: 'poppins-bold', sans-serif;
font-size: 12px;
font-weight: 600;
Or do we have to upload all kinds of fonts with different font-weight and then there simply write the name of font-family under style.css and then there is no need to separately write font-weight? Please help me understand this.
2. To upload multiple font files, do I need to write this code again and again under style.css
@font-face {
font-family: 'add your font family here';
src: url('add the source url for the font. insert the path that leads to the font') format("opentype");
font-weight: normal;
font-style: normal;
}
If we have already defined font-weight while loading the font ( font-weight: normal;) as shown in the above code, can we change the font-weight again after specifying font-weight while using it under style.css or under custom style.css?
3. Since I use only 4 fonts throughout the site. Can we simply upload it and then remove loading all another kind of fonts including google fonts to increase the site speed? If yes, how can I remove it?
4. Our default font is roboto and open sans. Is the only way to change it with desired one is by replacing these fonts-family name or do we need to delete is from somewhere?
5. Does site loads all the uploaded fonts every time user visits a page or does it call only the used fonts on that specific page?
I know these questions are silly, but will help me a lot making my site faster.
Thank you.
update:
pretty much at my wit’s end on this and am finished for the day. what a total waste of time. really discourages me from fiddling with this any longer.
i disabled the background image and simply set an off-white color for the background. but that made no difference in terms of the slider image staying within the confines of the div class .td-container.tdc-content-wrap. i fiddled with revslider settings, i changed header and logo positions and still nothing. the slider image is not extending the width of the browser window.
also, in terms of the Main Menu (Header style), there is another problem. i prefer not to use the centered main menu (style 10) but the left-justified instead (style 9). however, unlike the problematic revslider image, the left-justified menu extends all the way to the left of the browser window as i resize it. it shouldn’t. it should stay within the confines of the .td-container.tdc-content.wrap class. it looks stupid all the way to the left when the logo stays centered on the page.
i want the revslider to extend the width of the page, not the menu. right now, it’s backwards.
i’m just about to throw up my hands on this. i’ve commented out most of the css rules i created, thus, everything i’ve done to this point has been a waste of time. and i still haven’t gotten this layout right. and that’s before i add any content, which is the real work.
i don’t know what to do next except scuttle this theme and try another one.
An update (in case someone else encounters the same problem):
– I tried using Newsmag v3.3 style.css and overwrite it to my Newsmag v3.4. Problem still exists (so it’s not the style.css issue it seems)
– I then replace the whole folder and use/revert back to Newsmag v3.3. Problem goes away.
– If I tried the v3.4 again, problem comes back.
So for now, I’m back to using v3.3
Hi,
It looks like it’s not the thumbnails problem. I uploaded a new image and set it as the featured image and the layout still messes up.
I think it’s more like a CSS problem which is beyond my technical expert (only know a bit of it)?
Thanks for your reaction! I can’t do it by editing the CSS code?
If you put in your own ads, you need to setup the CSS to either swap out smaller images, or to scale with things like max-width and similar.
In my experience, the ad module only controls the placement, not your HTML for custom ads.
( I don’t work here. )
Ok…can I use css to limit the size of the container? The problem is, my image isn’t showing the desired sharpness and quality on the full logo header. When the size of the container is limited, it compresses the image and I get a higher quality. Can you give css to fix this? Thanks!
hello
I have my wordpress website with NewsMag theme at http://www.slachz.com, however i am not able to update the theme, please help, i have downloaded the theme but i am not being able to update the theme as IT SHOWS THAT STYLE.CSS IS MISSING.
Hello,
If you want to have access to your style.css core file from Admin Panel, you should Go to the Appearance->Editor and select from there the style.css, like this -> https://www.screencast.com/t/yjeIvfpj
Thanks for the message!
Hello,
In the rtl modification this is very different. This s because of the rtl direction change. We have seen this before and this is a css issue. The modification to move the theme to rtl is not easy as lots of elements have to be adjusted including the mobile menu. By default the mobile menu is hidden from view to the left of the screen. If you change direction you will make it visible and have to hide it from view again. Sorry but we cannot provide any rtl solution sorry. if you find you cannot use our theme properly because of the missing RTL functionality we will be able to provide a refund as our theme is not RTL compatible.
Thank you!
Hi,
I have tested the weather widget function, but everything is working properly. Please try as a test to disable all your plugins except the ones provided with the theme, remove the weather widget from your page and clear any caching installed. Then add the widget again and check to see if it is working properly. Please let us know how it goes.
If the problem is still there, maybe you have not made the necessary modifications when moving to https
You could check these few resources for more information
– 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/
You can also check our forum for some insight on ssl:
– https://forum.tagdiv.com/topic/moving-to-ssl/
Thanks
Thank you for your answer.
I just need to know will I lose changes when theme is upgraded. For example, if I edit files td_block.php, td_block_1.php, td_block_3.php, style.css what will happen with those files when upgrading theme to new version?
Is it possible to change those files and save it somewhere in wordpress/theme folders where they will override any further update of those files. Something like that is possible in joomla, I don’t know for wordpress.
…to clarify, I need the main style.css.