- NewspaperWP Rocket and Newspaper Theme: Optimization Guide
- TutorialsFrom WPBakery to tagDiv Composer
- TutorialsDefault Block Settings Guide
- TutorialsHow to use custom fonts
Hello Erythros,
Please notice that the Live CSS featured was been implemented to help the users to see the changes in live mode, otherwise, if you will use the Custom CSS mode, you should press save and refresh and then you will see the changes. This is the single reason. If you do not like it you will do not use it.
Thanks.
Hello thebackpackertravels,
Try the code below and place it in Theme Panel -> Custom CSS area.
The code is ->
.td_block_social_counter {
font-size: 15px;
}
Thanks for the message!
Hi,
For the homepage you can use a code like this, to set a background for the sidebar
– https://www.screencast.com/t/MyuzY1tat
You can change the color to what you want, and then enter the code in Theme panel->Custom CSS section
.home .tdc-content-wrap .td-pb-span4 {
background-color: lightgrey;
}
For the posts you can use a code like this if you want to set a background there also
– https://www.screencast.com/t/mtb5UEmEnzX0
.single .td-main-sidebar {
background-color: lightgrey;
}
Thanks
Hello,
It is possible with a bit of a css trick. Please provide a link to your site so I can inspect it and provide the css code.
Thanks.
Thanks for the tip. Is there a reason to use the Live css featured from the TD composer instead of the Custom code under the theme panel ?
Seems that there’s an easy way to mix the code in the Live css or if you open by mistake the td composer with live css on 2 different pages, some of the code will get lost.
Hi,
I followed your code adding in advanced CSS, however, it is not working, the white gap is still there.
I set the height on a custom class to create the background effect on desktop. However, I did notice the layout issue on mobile. I deleted the custom height and move the code to apply to the desktop only in theme panel. For some reason there is still a layout issue on mobile. Please advise, thanks!
Hi,
It seems to be coming from a plugin maybe, like Simple Custom CSS and JS
– https://www.screencast.com/t/NeFly3JE2
The code might be entered in the plugins custom code fields. The theme already has the options to use custom code, in the theme panel
– https://www.screencast.com/t/50nJkSwGR
I could give you another code to make the titles display on the homepage, if you cannot find the source of the one that hides them
– https://www.screencast.com/t/QheNUvrlp09
.home .entry-title {
display: block;
}
You must enter this code in Theme panel->Custom CSS section
– https://www.screencast.com/t/xtr71DskYx
Thanks
Ok,
So a temp fix is to use this in the CSS, seems to be working ok:
}
.td-post-template-9 .td-post-featured-video iframe {
width: 100% !important;
}
Hi,
I am having the same issue here. Version 7 would make the video fit the full width rather than bringing in the set width from facebook.
Is there a way to change the CSS so it makes the FB iframe fill the space?
It’s odd that it worked in Newspaper 7 and not 8.
Thanks
Ross
Hi,
Please add this css code in the theme panel-> custom css box:
@media (max-width:767px){
.menu-item-346{
display:none;
}
}
Thank you!
Hi,
There is a margin top on the Big grid
– https://www.screencast.com/t/DOtLPNvOaT
You could use the custom class to remove it with a stronger code
– https://www.screencast.com/t/Tn3Xxp2IeQ
If you want the code to apply only on mobile you can sue the Advanced CSS option in the theme panel
– https://www.screencast.com/t/DlFrgk7e
I also see that there is a height set on the row through a custom class, and it is causing some layout issues, but that could be a work in progress on your design
– https://www.screencast.com/t/9PaMofbd
Just thought I should point that out.
Thanks
Hello Matias,
You should try using the code below and place it in Theme panel -> Custom CSS area.
The code is ->
.td-a-rec-id-sidebar{
display:none;
}
.single .td-a-rec-id-sidebar{
display:block;
}
.home .td-a-rec-id-custom_ad_2 {
display:none;
}
Thanks.
Hello Alinadomino,
Try the code below and place it in Theme panel -> Custom CSS area.
@media (max-width: 767px){
.td-scroll-up {
display: block;
}
}
Thanks for the message!
i paid $61 for the newer newspaper 8 … i had newspaper 7 … 2 questions
1) i downloaded the 2 zip files one had 54mb and the other 13mb the 54mb would not install it said was missing css …the 13mb installed but it did not take in my existing content and database…is there a way to install newspaper 8 with all my existing content and database data?
2) are the demos an extra cost? …i installed the sports demo and it did not take in my existing content and database….do i have to customize it manually? what about the exsisting database
Hi,
You can try a code like the one provided below. It should make the homepage, category pages and posts have the container background color that you choose
– https://www.screencast.com/t/shvOiA4EHjo
– https://www.screencast.com/t/eMKNFFYdD
– https://www.screencast.com/t/wJFTfgDt9h1
If you want to add more elements, you can identify them with the browser inspector and add their classes to the code
– https://forum.tagdiv.com/create-custom-code-using-the-browsers-inspector/
The code must be entered in Theme panel->Custom Css section
.td-header-container,
.td-main-content-wrap,
.td-category-header,
.td-category-grid,
.post {
background-color: lightgrey;
}
Thanks
Hello,
If you use the mobile theme then you will be able to simply create a separate menu for your mobile, version: https://forum.tagdiv.com/the-mobile-theme/
If you do not use the plugin, then please provide a link to your site and specify which menu items you want removed from mobile devices and I will provide the proper css code for it.
Thanks.
Hello harmario,
Try the code below and place it in Theme Panel -> Custom CSS area.
The code is ->
.td-header-style-8 .td-ad-m{
border-bottom: 0;
}
Thanks.
If you refer to the sub-footer alignment: https://www.screencast.com/t/9xLgBlYMvsBZ then you can use this css to align it:
.td-footer-bottom-full .td-pb-span5, .td-footer-bottom-full .td-pb-span4, .td-footer-bottom-full .td-pb-span3 {
width:33.33%!important
}
Add the code in the theme panel-> custom css box.
Thanks.
Hello debarup,
If you want to change the color of your blockquote, you can do it from Theme panel, like this -> https://www.screencast.com/t/D19szfK6tVBs Also, for changing the color hyperlink text, please use the code below and place it in Theme panel -> Custom CSS area.
The code is ->
a{
color:red!important;
}
Thanks.
Most of it should be, assuming you’re running Apache/Linux. Note that the nice formatting of my code got kind of whacked when they moved to the new forum template…. soo.. might not be super readible/legible.
Kind of multiple threads going in my old mega thread — so, perhaps useful to work ‘backwards’ ?
a) some basic wp-config cleanups (add direct paths, memory change, image compression)
aa) htaccess stuff for common time to live, file type, redirect xmlrpc queries, etc.
b) some basic functions.php stuff to clean needless stuff in header of WP pages, remove stuff like XMLRPC stuff, some security stuff; remove ‘?’ queries on stuff (versioning);
c) optimize style.css with minifcation; compress main .js file per Google tool
d) consider moving to web-safe font stack and not loading ANY google fonts; have to hack out section in the main them booster function file, then search/replace the ‘font-family’ elements in the style.css (easier prior to minification, obviously)
e) put custom CSS bottom of style.css vs theme panel
advanced stuff included – un-enqueueing the main style.css, loading in footer; after generating “critical CSS’ with the critical CSS generator online; putting above the fold CSS in header.php (only way to remove render blocking css) ** not needed if moving to http/2 platform.
Super advanced peeps might choose to use mod-pagespeed, https, php 7, and http/2.
So, basically.. kind of a “test your speed,” (with *no* ads running); then make some mods; then retest couple of times, etc., rinse repeat.
I’m no longer using Newspaper – moved to NewsMag 3x last year entirely. Not yet on 4x. But also using TagDiv’s WPION thing as a beta test. (actually re-rendering thumbs for one test of that right now in other browser tab!).
Soooooooo….. basic Apache stuff, and WP-config.php stuff, and common sense thing for functions.php that do specific things — all useful. Good to research WHAT things do before using them.
-
This reply was modified 9 years by
simchris.
Hello,
This live CSS editor is side-wide and this css tab doesn’t allow for custom css to be added.
My question is: is there a way to add lots of css code customization for specific TD element only? Exemple
If a page has two td_block_5 elements, I want some customization only for one of the blocks and not to the other one.
Moreover, there are many changes that I’d like to apply to specific pages only.
Example:
I’d like something like
.td_module_3 .td-module-title {
letter-spacing: 1px;
}
to affect only the td_module_3 elements on the current page and no other pages/posts.
Hi,
When the mobile theme plugin is active, it will display a predefined template for the front page. There are no options at the moment to add a new page template or remove the default Top grid and Related articles section.
Content for pages on mobile is limited to the mobile editor that appears in the page edit screen, when the mobile plugin is active
– https://forum.tagdiv.com/the-mobile-theme/
You could manually remove these sections from the theme files by commenting or removing these elements from the front page, if that is what you want
– https://www.screencast.com/t/yLgwSvmuoMB8
Or maybe hide them with CSS
– https://www.screencast.com/t/KubcQaddK
Thanks
Hi,
For me best is style 1 🙂
I do some css modification:
<code> .td-banner-wrap-full,
.td-header-header {
height: 180px;
}
.td-header-style-1 .td-header-sp-logo img {
max-height: 160px !important;
}
.td-header-style-1 .td-header-sp-logo {
height: 116px !important;
}
.td-header-style-1 .td-header-sp-recs {
margin: 43px 0 9px 0 !important;
}
Looks almost ok: http://prntscr.com/fx5ia4 on this screenshots. How align to logo img to left side?
If you need access to my website, open private box or I will send you access. My website need login and password to view.
many thanks.
Quick question: what’s the best way to limit the css to a specific page?
Or, using the css editor inside the TD composer already does that? Asking because I don’t really want all the td_block_x to be affected by a change.
Hello sanket3811,
Use the code below and place it in Theme Panel -> Custom CSS area.
.td-scroll-up-visible{
display:none!important;
}
Thanks.