- NewspaperCreate Custom Code with the browser’s Inspector or the Live CSS Box
- NewspaperScroll Animation
- NewspaperWP Rocket and Newspaper Theme: Optimization Guide
- NewspaperHow to setup Twitch for Social Counter
- NewspaperModal Popup
- NewspaperFlex Block Settings Guide
- NewspaperAutoptimize Plugin – install and configuration
- NewspaperAdding Multiple Authors to Your Articles
- NewspaperDesign your Post Pages using the Cloud Library Templates
- NewspaperBig Grid Flex Settings
- NewsmagtagDiv Composer Tutorial
- TutorialsFrom WPBakery to tagDiv Composer
- NewspapertagDiv Composer Tutorial
- NewspaperTheme modules and blocks
- TutorialsDefault Block Settings Guide
- NewspaperThe Mobile Theme
- NewspaperCompare theme files – Winmerge tutorial
- NewsmagBlock settings tutorial
- NewsmagLogo & Favicon
- NewsmagFooter templates
Hi,
Unfortunately this will not be an easy task as there are many containers on the body that are different for posts, pages or category pages. The theme allows for a background color or image. YOu will need to use css to target every element on that particular page.
For example if i want to make the whole homepage grey this would be the code:
.td-header-style-5 .td-header-top-menu-full {
background-color: grey;
}
.td-header-wrap .td-header-menu-wrap-full, .sf-menu > .current-menu-ancestor > a, .sf-menu > .current-category-ancestor > a, .td-header-menu-wrap.td-affix, .td-header-style-3 .td-header-main-menu, .td-header-style-3 .td-affix .td-header-main-menu, .td-header-style-4 .td-header-main-menu, .td-header-style-4 .td-affix .td-header-main-menu, .td-header-style-8 .td-header-menu-wrap.td-affix, .td-header-style-8 .td-header-top-menu-full{
background-color:grey!important;
}
.td-header-sp-recs{
background-color:grey;
}
.td-main-content-wrap{
background-color:grey;
}
.td-footer-wrapper{
background-color:grey!important;
}
This will not work 100% on posts or category pages because other containers will be present that are not used on the homepage.
I hope this helps.
Thank you!
Hi
I suppose that you want the same implementation as on Newspaper theme: http://screencast.com/t/LaqCCHx9DK1 Unfortunately I can’t provide a solution now because this is a complex task which involve many customizations in theme’s files. Basically you will need to affect the mega menu structure and make a similar similar one with the one from Newspaper theme, and also you will need some css code for the menu style. The file which generate the mega menu it’s td_block_mega_menu.php: http://screencast.com/t/UbhsPIr362 you can try to modify it if you want. Please consider that this is a complex task which involve good coding skills and if you don’t know how to do it yourself my advice is to hire a freelancer from sites like http://studio.envato.com/ to do it for you.
Thanks!
Hello,
You can use css to hide the header if you want. Every page has a specific ID that can be targeted with css: http://screencast.com/t/cXvGp4CdWSQ
For example on your homepage you would use this code:
.page-id-37 .td-header-style-10{
display:none!important;
}
For another page, simply change the id in the code to the id of your page.
Thank you!
Hello an0therPass34,
Unfortunately, not all the options from Visual Composer are working properly with our theme. If you want to add a border for your row in Visual Composer, first of all, you have to do a custom class, like this -> http://screencast.com/t/32YNzY3r8WWs and then you should add the border with custom CSS like this -> http://screencast.com/t/YS84oYlpPUr
Please try the code below and add it in Theme panel->Custom CSS area, like this: http://screencast.com/t/EdJI1cqUbLtD
.custom_class {
border:3px solid red!important;
}
Hope this helps and let us know how it goes!
Thank you for the message!
Hello,
You can do it with css media queries. you can give a fixed size to your element on desktop and a dynamic one for tablets/phones. You can place the code directly in the specific viewport from the theme panel: http://screencast.com/t/wWhFwulG9
Thank you!
Hi,
It seems there is something interfering with the css so please disable all your plugins except visual composer and check again. Also clear your cache. There could be a plugin conflict preventing these options to work.
If the problem is still there afterwards, please send an email at contact@tagdiv.com and provide wp-admin so we can take a look. Also include a link to this topic.
Thank you!
Hi There,
I would like to ask on 2 things.
1 – How can I make my logo alignment edited? We want it at the very left so it will align with the Image Grid (Please see attached file). If it’s a css coding, can you provide us with the right code because I am not so good with css and php.
2 – We also need to lessen the spacing between the menu and the newsticker (see attached file also)
Thanks!
Hello,
1) Unfortunately the plugin is not tested to work with our theme so we cannot assure it’s functionality. Not all plugins work with our theme but this is the case for all premium themes as they are custom made and plugin sometimes cannot recognize the code or conflict with it. Unfortunately we cannot offer support for plugin implementation.
2)Post style 4 does not show the caption of the featured image by default. It does show the caption for other images except the featured one. This is the default behavior of the theme.
The post style number does not match from newsmag to newspaper. This happens when switching to another theme. There is an alternative if you do not wish to change the post template manually that involves editing the database and resenting all posts to the default template and then you can simply add the template you want for all your posts from the theme panel/ Please follow this topic to see how it can be done: https://forum.tagdiv.com/topic/change-style-of-multiple-posts-at-once/
3)Mega-menus were not meant to display in the mobile version of the website.
4) Unfortunately the ‘go to top’ options was hidden on the mobile version. You can activate it with custom css if you want:
.td-scroll-up-visible {
display: block!important;
}
5)The speedbooster plugin has a function that checks for active plugins. There is a list of plugins speedbooster is compatible with – http://screencast.com/t/hcjLnOqh4i2 so if you have other plugins active it will be automatically disabled.
In order to use the tagdiv speedbooster with all plugins you will need to remove this code – http://screencast.com/t/RZLIOPUNdqh
I hope this helps
Thank you!
You can’t use styles on the page, only classes. So you have to define the CSS, then put into the custom CSS box in theme panel, then apply the class to the table and elements. Make sure you do tables with HTML5 formatting.
For most stuff you can just apply the table class to your table
<table class="table">
<tbody>
<tr>....
I know nothing about CSS – Below is the CSS I was showed to add in…
Can you tell me how to change it so the text shows smaller and lighter exactly as it does in the sidebar?
Thanks so much!
.td-ads-title{
margin-left: auto;
margin-right: auto;
display: table;
}
Create a CSS class, then put the class in the custom CSS box in panel, then use that class for the text in the template where inserting the – advertisement – text; that’s what I did.
I’ve implemented the alterations necessary to create a fully blank page template for my site, as discussed here: https://forum.tagdiv.com/topic/how-do-i-create-a-completely-blank-page/
When I do this and incorporate an iframe video that’s been responsive to take up the entire screen on other themes, the video only fills the container width properly, but only fills a small section of the height of the screen, like so: http://sparrowvideo.co/homepage-big-slide/
For our needs, it is necessary to be able to fill a container that is responsive to whatever device the video will load on. Here is an example link to what exactly we are going for: https://espn.go.com/video/iframe/twitter/?cms=espn&id=14513772
Are there any CSS alterations or PHP integrations that we can perform to get this done? This is an extremely important aspect of our website. Also, if at all possible, we would like to accomplish this with posts, not pages.
Hello,
my problem is changing font and theme colors are apparently not working any longer using Theme Panel settings.
Can I change them via Custom CSS, instead? Can you indicate the code=
Thanks,
Mario
Hello,
I run Newspaper v6.5 on my website. The domain name is http://www.naukrinama.com
I want to do the following :
a. I have feeds from my Hindi site : http://www.naukrinama.com/hi/feed which I want to show at the bottom of my post detail page (below the comment section) in the form of design like the Related Articles Block. Is there any block on the theme which parses an RSS feed and displays the data there ? and also how can that block be placed below the comments section. And if not comments section how can it be added as a widget in the righthand sidebar.
b. I have a menu option named “Hot Vacancies”. I want to Highlight it using Red color background and make it blink. How can it be achieved ?
c. I have two option of Language selection in the top “English” and “Hindi”. In the top bar menu i want to blink the “Hindi” menu item with a suitable color and background and make the color and selection background of “English” more prominent.
d. The published date, creation date of the post is coming wrong. It is showing timezone as +00:00. I have already set the timezone in the wordpress settings as UTC+5:30 and while creating a post the time in the backend is shown correctly but in the front end it is coming wrong. How can this be corrected ?
<div class=”td-post-date”><time itemprop=”dateCreated” class=”entry-date updated td-module-date” datetime=”2016-01-06T18:30:38+00:00″ >January 6, 2016</time>
e. I tried removing the “Eliminate render-blocking JavaScript and CSS in above-the-fold content” errors in the Google Page Speed test using the steps given in the tutorial. But even after following the necessary steps none of these errors got removed. What can be done to remove these errors.
Please answer the above queries and let me know how can these be resolved.
Hi Andrei,
Eventually the problem was with the CDN service and it is easy solvable. So for the future reference, if someone else has the same issue, following are the lines that should be added to the .htaccess file:
# ———————————————————————-
# CORS-enabled images (@crossorigin)
# ———————————————————————-
# Send CORS headers if browsers request them; enabled by default for images.
# developer.mozilla.org/en/CORS_Enabled_Image
# blog.chromium.org/2011/07/using-cross-domain-images-in-webgl-and.html
# hacks.mozilla.org/2011/11/using-cors-to-load-webgl-textures-from-cross-domain-images/
# wiki.mozilla.org/Security/Reviews/crossoriginAttribute
<IfModule mod_setenvif.c>
<IfModule mod_headers.c>
# mod_headers, y u no match by Content-Type?!
<FilesMatch “\.(gif|png|jpe?g|svg|svgz|ico|webp)$”>
SetEnvIf Origin “:” IS_CORS
Header set Access-Control-Allow-Origin “*” env=IS_CORS
</FilesMatch>
</IfModule>
</IfModule>
# ———————————————————————-
# Webfont access
# ———————————————————————-
# Allow access from all domains for webfonts.
# Alternatively you could only whitelist your
# subdomains like “subdomain.example.com”.
<IfModule mod_headers.c>
<FilesMatch “\.(ttf|ttc|otf|eot|woff|woff2|font.css|css|js)$”>
Header set Access-Control-Allow-Origin “*”
</FilesMatch>
</IfModule>
and here is the link to the complete article https://www.maxcdn.com/one/tutorial/how-to-use-cdn-with-webfonts/
Have a good one,
Vladimir
I am wanting to create a landing page for a video on my steveolson.co site and I can’t find the code to remove the header. Can this be done?
I am trying to get a larger header and a smaller ad space (400 x 80) similar to my current site.
http://www.screencast.com/t/KHAOcM7K
I also like the way that the header currently sits just above the navigation bar.
I have attempted to change the CSS and have gotten the header and ads close to what I want on a desktop, but it does not look right on a landscape tablet.
.td-header-style-1 .td-header-sp-logo {
width: 560px;
margin-left: auto;
margin-right: auto;
}
.td-header-sp-recs {
width: 410px;
margin-left: auto;
margin-right: auto;
}
http://www.screencast.com/t/EYYaWfSRneHZ
What do I need to change to get the header and ad to stay on the same level and not drop below each other on a tablet?
http://www.screencast.com/t/RHoHHIHvI
If there is not a way to keep them on the same level, is there a way to center them?
Is there a way to center the top ad on the mobile version, too?
http://www.screencast.com/t/mNQqebRb
Hello Arafat,
Please try the code below and add it in Theme panel->Custom CSS area.
.td_module_8 .td-module-meta-info {
display:none;
}
The result: http://screencast.com/t/lrhS3MoM
Thank you for the message!
Hello Arafat,
If you want to hide this option, you have to use a bit of CSS. Add the code below in your Custom CSS area from Theme panel.
.td-related-title .td-related-right {
display:none;
}
The result you should see here: http://screencast.com/t/7LYOsk6QF
Thank you for the message!
Hello,
You can use css like this:
http://screencast.com/t/V7Hhe7AHIv
.menu-item-xxx a {
color: #AD2929 !important;
}
Thanks!
Hi,
thx. Icons show on my website. If I make like you mentioned in your last comment (to add fa-home to CSS field of item menu) it will be on the left side of item menu. You can check now on test website: http://global.smebanking.club. But it is with text.
But when I put <i class=fa fa-home td-only-icon></i> instead “Home” it will be in the menu but without icon or any text.
Thx for quick respond. I was not so careful and just put code into HMTL field, not it CSS.
Now it works. Thx for your time!
BTW, I have now red button and black text. How to custom item text, e.g. to white?
Hi
Sorry about that, I’ve targeted the wrong selectors for the button. Try the css like this: http://screencast.com/t/rBFBHgl0am
#dcl_comment_btn {
width: 100%!important;
border-top-left-radius:10px;
border-top-right-radius:10px;
border-bottom-right-radius:10px;
border-bottom-left-radius:10px;
}
Thanks!
Hi
The post content made in WordPress post editor it’s generated by this wordpress function: get_the_content and this may cause some issues when the shortcode it’s rendered.
Try this css in theme panel custom css > custom code, it should solve this issue:
.post-ratings img {
opacity: 1!important;
}
Thanks!
Hello,
As an alternative to the method provided above, you can simply use css to force the font weight. The character sets are loaded into the theme but not all of them are accessible from the theme panel. As you can see the only options in the panel->fonts are normal (400) and bold (600). You can target the specific part of the site you want the font weight of 300 with css. You can leave the font to default and simply set it like so:
For example:
body, p{
font-family: Roboto;
font-weight: 300;
}
Then simply add the code to the theme panel->custom css box
I hope this helps.
Thank you!