- 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
- NewspapertagDiv Composer Tutorial
- NewspaperTheme modules and blocks
- NewspaperThe Mobile Theme
- NewspaperCompare theme files – Winmerge tutorial
- NewspaperUsing Other Ads
- NewspaperBlock settings tutorial
- Using custom fonts
- Using typekit fonts
- NewspaperChild Theme Support
- NewspaperHow to Make the Site Faster
Hey,
I use WP Rocket plugin for cache but when this plugin is activated the mobile menu doesn’t work on phones, can you just send me the list of the files which I should exclude(css/js) from cache so it will work again?
Thanks
Hello !
Unfortunately WP Rocket plugin is an untested plugins by our developers so we cannot offer support for it. We are sorry for the inconvenience!
You can try the option a user sugested: WP Rocket > Settings > File Optimization > CSS FILES > Uncheck Optimize CSS Delivery.
Thank you !
Hello !
Sorry for missundertanding your issue !
What you are trying to achieve is called a Smart List as you can see here: https://www.screencast.com/t/9HC7WZJZAwf
Find out here how to implement a smartlist: https://forum.tagdiv.com/smart-lists/
And after you set your smartlist you will have to choose SM4 design and it will be what you are looking for.
Also please delete the css code then and also make sure to re-upload a clean td_module_single_base.php.
I hope this was more helpfull !
Thank you !
Hello,
I have activate the AMP mobile theme and itâs realy great! Just 3 questions.
1: How i can change the logo position or the menu? because on the mobile version the logo and the menu are in the same location, left side! I have add the code css but no work:
.td-main-menu-logo .td-amp-site-logo { margin-left:100px;
}
2: How i can translate the word on english ? Example: Related article and latest article ?
3: How i can edit the footer areea? âabout usâ page ?!
Many regards
Okay, after checking the CSS (should have that done earlier…) it got weirder: The viewport symbol is there but jumped into the “next row”, where it became invisible. For some reason, Safari shows the backend of the main site somehow smaller – on Chrome everything went well. Sorry for bothering with my own stupidity…
Hello !
Ok, now start disabling the plugins that do not come with the Newspaper Theme and see wich one breaks the theme. After you disabled them you should be able to see is your Custom CSS tab is back there.
Thank you !
Hello !
In order to fix that issue you will have to repair your plugin conflict so you can add that custom CSS code that i gave you in order to fix the problem woorank tells you about.
Thank you !
hi Vlad S,
tĂŽi khĂŽng tĂŹm tháș„y custom css trong web admin cá»§a mĂŹnh. https://www.screencast.com/t/7PuYGHUE hy vá»ng báșĄn sáșœ giĂșp Äụ.
thanks
ARE YOU SERIOUS??? it means that your template is made only for Horizontal images!!!???? With all your “beautiful blocks” there is no one which allows Vertical thumbnails ?However VERTICAL PICTURES is such a BASIC need!! isn’t it????
Your answer does not satisfy me at all, showing me a page full of blocks with horizontal thumbnails is not a good way to answer to my question about VERTICAL thumbnails…..
Actually I’ve just found only one block which allows vertical thumbnails, this is the block 24, but no way to change the size… so I guess I have to change the css stylesheet, so can you tell me the way to do it (for example which class in which page and which file ) ? I paid a lot for you theme, for your assistance, so please make an effort…
Hi,
If this is what you want to achieve https://i.imgur.com/jn3S8oE.png then you can set this custom css in theme panel > custom code> custom css
.single .td-post-template-default .td-post-header .entry-title {
text-align: left;
}
Thank you!
Thank you for the example and the details you provided, other users will most likely find this very helpful.
Wrapping the fields in a div container shouldn’t cause any problems, you can set a class to the div in order to apply CSS to it.
In my example I did something like this, I wrapped the whole code in a div with a class
– http://prntscr.com/ojrxr0
Now the field can be customized with CSS, depending on what you need
– http://prntscr.com/ojryay
If you need help with it, provide a link to where the fields appear, after you wrap the code with a div with class, and mention how you want them to look. Let me know.
Hi,
Yes, this can be achieve using custom css ->https://forum.tagdiv.com/create-custom-code-using-the-browsers-inspector/ if you need help with this just let me know!
Thank you!
Hi,
Yes, I can help you with that, just please provide me a link to your page, in this way will be able to provide the custom css that you need for align post title to left.
Thank you for your understanding!
Hi,
If you want to add a background image to your header section, please note that you should use the code below and place it in Theme panel -> Custom CSS area.
.td-header-header{
margin-top:5px;
background-image: url(http://192.168.0.178/Spitzu/wp-content/uploads/2019/06/p3.jpg);
background-repeat: no-repeat;
background-size: cover;
background-position: center center;
}
The result is here -> https://www.screencast.com/t/OQM3UPRJ4Ng
Thank you!
Hello !
You can achieve that by editing the ROW using the tagDiv Composer and going into the CSS tab as you can see here: https://www.screencast.com/t/IWNHo5hzjhjb
Thank you !
Hello !
Please go and check your page ! I hope it is the result you want ! Also please note not to leave your personal data here because other users can see it too. If you want the buttons square you will have to simply remove the ” Border-radius ” from the CSS.
I hope you like it !
Thank you !
“Style particular content element differently – add a class name and refer to it in custom CSS”
Hi,
Can you please help me to set up CSS for changing the post title as align left?
Cheers,
Hi Vlad,
If we use TagDiv’s Mobile plugin (https://tagdiv.com/mobile-theme-automatic-optimization-for-mobile-newspaper-theme/) would this allow us to chose a different block setup for mobile?
Alternatively, is there some css we can add to the mobile device “custom css” that would change the block for mobile devices?
Hi Simion,
I have taken what you did and extended the functionality.
When added to a module it displays a list of relevant posts, with one set of ACF custom fields, if the block directory category filter is set to either ‘News’,’Features’ or’Tech’ – or it displays posts, featuring other custom fields, if the block directory category filter is set to ‘Research’ and the relevant posts are tagged with any of ‘aged care’, ‘anxiety/stress’, ‘autism’, ‘cognitive’, ‘Dementia’, “Parkinson’s”, ‘sleep’ or ‘well-being’.
******
<?php
$hb1 = in_category(
array(‘News’,’Features’,’Tech’),
$this->post->ID
);
$hb2 = in_category( array(‘Research’), $this->post->ID );
$hb3 = has_tag(
array( ‘aged care’, ‘anxiety/stress’, ‘autism’, ‘cognitive’, ‘Dementia’, “Parkinson’s”, ‘sleep’ , ‘well-being’ ),
$this->post->ID
);
if ( $hb1 )
{
the_field(‘media_outlet’, $this->post->ID);
the_field(‘media_outlet_url’, $this->post->ID);
the_field(‘published_date’, $this->post->ID);
}
else if ( $hb2 && $hb3 )
{
the_field(‘media_outlet’, $this->post->ID);
the_field(‘published_date’, $this->post->ID);
the_field(‘country’, $this->post->ID);
}
?>
******
I thought it might be worth sharing it with the community (btw, I have spent quite a lot of time today going through the support forum. A code snippet section would be useful).
In the TagDiv block editor I added the Class name “editorial_listing_block and tried to use this to apply different a different font family, font size, font weight and colour to each of the custom fields but it didn’t work. My CCS skills are very limited.
Could you give some advice as to how I achieve my desired CSS styling for the displayed field content?
Many Thanks.
Best
G
Hi Simion,
Obviously I would like to apply formatting to this. Is it better to add a new Div Class to the main CSS style sheet or use the Newspaper custom CSS options?
If the latter could you provide me with an example that formats your Gadget field as an OpenSans font, 600 weight, bold etc?
I am not clear whether I create a new class in the CSS options box or overwrite a class using .TD_module_X {}
Thanks
G
We have now dispatched Admin Login Credentials to your address above, along with a link to this topic.
SUPPLEMENTAL INFO
Please see the following additonal efforts/info from our end:
1. We have deactivated all plug-ins, tested, and confirmed that NO conflicts exists. We observed after disabling plugins, changing the settings (in the Newspaper theme panel) for: Font Size, Line Height, Font Weight for Pull quotes did not have any effect on the rendered text within a Post.
2. If we use custom CSS, then we can change the rendered page display of Pull Quotes. When using custom CSS (placed in the “Custom Code” section of the Newspaper theme panel) the display of the Pull Quotes can be changed. But… The only thing that still won’t change is the font size; no matter what settings or custom CSS we add, the font still renders as “font-size: 16px”.
We noticed the Pull Quotes were all uppercase (screaming at readers), so I added the code below (to custom CSS), resulting in no more yelling / shouting at people:
text-transform: none !important;
I observed in the rendered text within a Post, when using a developer tool in the web browser, there is a directive as noted below:
element {
font-size: 12pt;
}
It is noted as being injected by the theme as inline. When we edit that value to some other number than 12pt, the size of the Pull Quote font changes. This is something that would require an edit of the theme file to change, and the change would be lost during the next update.
The complete code for the added custom CSS is now:
/* Start – Fix Pull Quote text styling issue */
.td_pull_quote p {
font-size: 12px !important;
font-weight: 400 !important;
line-height: 20px !important;
font-style: italic !important;
text-transform: none !important;
}
/* End – Fix Pull Quote text styling issue */
Maybe there is some other setting we’re not aware of? Maybe there is a different CSS directive we should edit?
Hi,
So the demo that you have install have a specific class that is overwrite the background color for footer from theme panel -> http://prntscr.com/oj94d3 if that class is removed the background color appear http://prntscr.com/oj94sx in order to do that you’ll need to add a custom css
http://prntscr.com/oj9a45
.td-footer-wrapper {
background-color: #211d1d!important;
}
.td-sub-footer-container {
background-color: #0d0d0d!important;
}
The code need to be set in Theme Panel >Custom code >Custom css
Hope this will help you!
Thank you!
Hi,
Using tagDiv Composer and tagDiv Cloud Library there is add on row a class that stretch the row width -> http://prntscr.com/oj8dgx
You can try this custom css for stretch category width, but the layout will look quite bad and that is whay we recommend to use cloud templates.
.category .td-category-header .td-container, .category .td-main-content-wrap .td-container{
width: auto !important;
max-width: 1440px;
}
Using css you’ll need to identify the rows/elements that you want to stretch and set on theme
width: auto !important;
max-width: 1440px;
we use the category class to apply the code only on category page -> http://prntscr.com/oj8ikl after that set the elements where you want to apply the stretch -> http://prntscr.com/oj8l8r and the class td-container that need to be stretch
Hope this will help you!
Thank you!