- 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
Hi,
Please try this custom css
.td_block_big_grid_4 .td-big-thumb:hover{
border-radius: 10px;
border: 1px solid black;
}
.td_block_big_grid_4 .td-big-grid-post .td-module-thumb {
background-color: transparent;
}
.td_block_big_grid_4 .td-big-grid-post {
width: 49%;
}
.td_block_big_grid_4 .td-big-thumb {
padding-right: 0px;
margin-right: 1%;
}
https://www.screencast.com/t/vvS6VsaRH0
Thank you.
Hi,
If you want to add a border around the posts, you should use the code below and place it in the Theme panel -> Custom CSS area.
The code is ->
.td-post-content{
border:1px solid red;
}
The result is here -> https://www.screencast.com/t/73sXC9lIl
Thanks.
Add following code to the custom CSS in theme panel
.td-fast-news .td-header-wrap .td-header-menu-wrap-full, .td-fast-news .td-header-menu-wrap.td-affix {
background: #533e95!important;
}
Hope this will help you.
Thank you for your understanding.
You can use Social icon element in the Multipurpose plugin (now, the plugin is combined with td-composer). This will show social icons without a counter.
OR
You can hide it by adding custom CSS code.
Thank you! The CSS work fine 🙂
Thanks again for the great support!
Stu
Hi, how are you? Is there a way to use block title style on single posts h2,h3 and h4?
Also trying to use block title style on comment reply title, but it doesn’t seem to work with the following code I got from support. Can you help, please?! Thanks!
.comments .comment-reply-title {
text-align: center;
line-height: 1;
padding: 14px 0;
position: relative;
background-repeat: no-repeat;
background-position: center center;
background-size: auto 100%;
}
.comments .comment-reply-title:before {
content: ‘\e904’;
font-family: ‘newspaper’, sans-serif;
font-size: 8px;
position: absolute;
bottom: -1px;
left: 0;
right: 0;
margin: auto;
line-height: 1;
}
Hi Catalin,
Could you write a css code for me to add borders around posts?
I found this but it only puts border around images, i want it with the topic.
.td-module-thumb{
border:1px solid red;
}
Thx.
Hi!
As stated here (https://forum.tagdiv.com/topic/3x-logo-retina-subcategory-button-directly-article/#post-264152), I am trying to edit style.css file, but website do not reflect my new code.
That’s because index.php file has these links:
<link rel=’stylesheet’ id=’td-theme-css’ href=’/wp-content/themes/Newspaper/style.css?ver=8.8.2′ type=’text/css’ media=’all’ />
<link rel=’stylesheet’ id=’td-theme-child-css’ href=’/wp-content/themes/Newspaper-child/style.css?ver=8.8.2c’ type=’text/css’ media=’all’ />
So it can not read the style.css file.
How can I resolve this?
Thanks for your kelp
Hi,
Unfortunate this need to be done with custom css, please provide me a link were I can inspect the blocks you want to have the orange background color on categories, in this way I will be able to provide you the right css.
Thank you for your understanding.
Hi,
In order to build an page with your own html please add a new page ( https://www.screencast.com/t/rfr05ocUbGt )
https://www.screencast.com/t/L2iqQ9lwtI
results: https://www.screencast.com/t/VxWzAQ7gxE
Here you can set you javascript and css
https://www.screencast.com/t/5OhjolRp
Also you can use tagDiv Composer, drag in row a html element https://www.screencast.com/t/jym0FUs5udy0 and insert your html there.
Hope this will help you.
Thank you for your understanding.
Hi,
In order to add some css to AMP you need to edit the style.php file from amp plugin, so you need to go in wp-content>plugins>td-amp>templates>style.php (example https://www.screencast.com/t/vIUHFAbD6uRH ).
Thank you for your understanding.
Actually we need 6 and 7 smart slider only. Using css is not the best method i feel. Is there a way we can scroll down on refresh?
Hi,
Please try this custom css:
.td-big-thumb:hover{
border-radius: 50px;
}
You can adjust it after your needs.
https://www.screencast.com/t/vgSINvJ5nuQ
Thanks.
Hi orrorea33giri,
1. Please notice that the TagDiv Composer will show only the socials form it, not from Theme panel ( those are separate from socials show in theme panel), those that are showing in theme panel will be show in top bar, footer…
Socials in Composer : -> https://www.screencast.com/t/7NQQCQNyLzs3
2. Please edit the single post template, click on add custom css
https://www.screencast.com/t/1ecxR0B3qF
add this custom css
.tdb-featured-image-bg {
background-position: center center;
}
https://www.screencast.com/t/OTDI422Cmo
Hope this will help you.
Thank you.
-
This reply was modified 7 years by
Calin.
Hi,
1. With flex blocks and flex grids that would be possible. These have options to enable/disable the date per block
– http://prntscr.com/lpzzj8
So while the date general setting in the theme panel block settings is active, the date can be removed per flex block.
If this is not helpful maybe it could be done with some CSS, the general date setting has to be enabled first. Then set a custom class to the FEATURED ANSWER and LATEST ANSWERS blocks
– https://www.screencast.com/t/DfDzaIcu0fH
Then use a code like this, replace the “myclass” with the one you used
.td_block_wrap .td-post-date,
.td_block_wrap .td-post-author-name span {
display: none;
}
.myclass .td-post-date,
.myclass .td-post-author-name span {
display: inline-block;
}
This should hide the date for all blocks, except the ones that have the “myclass” class set to them. You could gibe it a try.
2. That would require modifications to the modules used
– https://forum.tagdiv.com/topic/how-to-show-date-update-article/
Thanks
Hi,
If I understand incorrectly you wan to gave that background color for all image you have set to center, if is so please provide a link here I can inspect the problem, in this way I will be able to give you the right css.
Thank you for your understanding.
Hi,
You could use a smart list style that doesn’t refresh the page, like these ones
– https://demo.tagdiv.com/newspaper/smart-list-style-1/
– https://demo.tagdiv.com/newspaper/smart-list-style-3/
If that is not possible, maybe the first paragraphs displayed above the smart list can be removed with CSS starting from the second slide.
Something like this could work, may need modifications however
– https://forum.tagdiv.com/topic/count-on-smartlist-2-how-to-skip-the-1st-number/
Thanks
Hi,
Please add this custom css to in the Newspaper>Theme panel>Custom code>Advanced cod Phone
.tdc-row:first-child{
padding: 0 0 0 0 ;
}
https://www.screencast.com/t/ImFgD4cAFZ
Thank you.
Hi,
In order to solve this problem you’ll need to make some changes in the file plugin for this calendar, and set on the class for drop-down this css
overflow: visible!important;
z-index: 9999;
Hope this will help you.
Thank you for your understanding.
Hi,
Seems the width of the video iframe is not occupying the full size that is available. From what I can see this could be caused by a plugin
– https://www.screencast.com/t/DAW00Rldl
That plugin has CSS for iframes which overrides the theme CSS it seems. If possible try as a quick test to deactivate it to see if that is the case.
I could give you a code to force the video to be as it should, enter it in the custom CSS code of the theme panel and check the results
.td-post-featured-video iframe {
width: 100%;
}
Thanks
Add following code to custom code >> custom CSS in the theme panel
.author-box-wrap .avatar {
border-radius: 50%;
}
Hi there,
need to create a own page with personal HTML code and own CSS.
I know something about HTML and CSS but nothing about PHP.
I have done the same with another theme…
– I have created a page-SLUG.php clone. SLUG is the page ID of page I have created in WP dashboard;
– I set “@import url(“stilePalinsestoSchermo.css”);” in style.css;
– I have edited page-SLUG.php; I have erased all codes between get_header and get_footer;
– I have added HTML code (+ some scripts in javascript);
How can I do it in Newspaper?
Thanks, I’ll try that.
Another question. Where can I edit the css or theme files for the AMP pages?