- NewspaperWP Rocket and Newspaper Theme: Optimization Guide
- TutorialsFrom WPBakery to tagDiv Composer
- TutorialsDefault Block Settings Guide
- TutorialsHow to use custom fonts
Hi,
I couldn’t find on the tutorial or in the forum the way to keep an EXTERNAL css file, as I did with my previous theme (Atahualpa, extremely flexible). I do not want to keep my css code INSIDE the theme.
How and where can I tell Newspaper to use an external CSS file? (I have made a child Newspaper).
In my previous theme, I used the instruction:
<link rel=”stylesheet” type=”text/css” media=”all” href=”/wp-content/themes/atahualpa_child/migueldimase.css” />
Thanks in advance
Thanks Simion,
We have made many changes in the template. I’m afraid of losing them in the update. I will have to make the changes via CSS.
Hi Simon,
thats my Problem, how i add them without using the TDComposer.
I dont really know how to add a class to a class, correctly described?
I need to add the three Classes tdc-row stretch_row_1400 td-stretch-content
to .veranstalter, its the class of the Parent Template
https://knopfstadt.de/veranstalter/musicclub/
I don’t want it with the page id, because i want it for childpages , so i need to use the .veranstalter class and its .tdc-row, right?
How? is it possible with css or less? SO i don’t need to modify the Plugin templates?
Regards
Hello rpharaniya,
If you want to use a bit of CSS code to change the AMP style page, please edit here -> https://www.screencast.com/t/vIUHFAbD6uRH There’s no option for custom CSS code for AMP version, sorry! You need to follow the above advice if you want to customize your AMP version.
Hope this helps!
Thanks for your understanding!
Can you help me, I want to turn off lazyload at td_block_big_grid_3. Wait for the website to load, then display the image. Sometimes it is not good, wait too long not to be.
Or can you tell me which class (css) or event (js), let me proactively find a way and turn it off.
Only on td_block_big_grid_3
Please, I just want you to help me upload the button, I’m editing the css code
Hello alebasur,
Sorry but please notice that we cannot provide additional customizations, unfortunately! As my colleague Simion said you above, you should check the Inspector browser tool to create your own CSS code.
Thanks for your understanding!
Can you please suggest something to be done at the server side. Applying CSS or Javascript would be client side or Browser based one. The whole purpose of having it on server side is to negate the extra http call to server
Hello All,
I have been using Newspaper theme with tagdiv AMP plugin, Is there any way to add custom CSS to change my style in AMP view.
Because I am using Dark theme in the normal view and AMP only have it’s default theme. So it looks odd.
Thanks!
Hi, is it possible to change the the link colour of article titles in the mobile theme? Ours is black by default and we’d like to change. Can this be done with custom css?
Thanks
Hi,
You can try using a custom CSS code to hide it ->
.td-video-play-ico{
display:none;
}
Thanks.
Hi,
That is unusual. I could give you a code to center it
– https://www.screencast.com/t/1Sey4oWslk
.td-header-style-10 .td-header-sp-recs {
text-align:center;
}
The code can be entered in Theme panel->Custom CSS.
Thanks
Hi,
What exactly do you mean by entry record? Maybe it could be removed with CSS. I will try to give you a solution if possible.
Thanks
Hi,
You could stretch them with CSS. I believe adding those classes will load the theme CSS just as if you used the composer, how are you adding them exactly?
Also you can maybe identify the containers that the plugin uses, stretch them. Theme stretches rows like this to full width for example
– https://www.screencast.com/t/DmqeRaClGaYN
If you want these modifications per page, that would be possible only if you somehow use the unique page ID class before your code
Each page has an ID, example – https://www.screencast.com/t/yVEVtDJoe1
The header and footer elements can be stretched in the theme panel
– https://www.screencast.com/t/W2Tl0Tt4i
Hello kennysous,
Notice that by default, the More Article Box element is hidden on mobile devices. So, you should use the code below and place it in Theme panel -> Custom CSS area.
The code is ->
@media(max-width:767px){
.td-more-articles-box{
display:none;
}
}
Thanks.
Hi,
Seems I missed that last question, sorry for that. You could add br tags inside the description, like this
– https://www.screencast.com/t/buwbrETgqyWs
That section does not have an actual text editor at the moment. Maybe also wrap that text in a div or span to style it as well. So HTML and some CSS would work there.
– https://www.screencast.com/t/vJCh50DUFU
– https://www.screencast.com/t/1mMcqCQJ48
Let us know if you have more questions.
Thanks
Hi,
No, those are predefined blocks. That block will always look like this
– https://demo.tagdiv.com/newspaper/block-24/
The 1 column look will be the mobile look. What you could do is to hide the block on mobile, and display block 15 instead if that is what you want.
The tagDiv composer allows blocks to be removed per viewport. Check the CSS tab of the block, while selecting your desired viewport
– https://www.screencast.com/t/PduFaZaQn43
– https://www.screencast.com/t/1UJ6WiPGcqXl
So for example hide block 24 on mobile, and block 15 for desktop and the other devices (to display it only on mobile).
Thanks
For what block does that happen? It is necessary that you provide this information. I cannot test all blocks and modules. If you discover that the code does not work for some blocks/modules mention which ones.
Since the category tags are not supposed to display like that, it may require additional codes.
You can inspect the element and try to create CSS codes, check here
– https://forum.tagdiv.com/create-custom-code-using-the-browsers-inspector/
Hi,
i want to stretch a Page without using the tdComposer, is it possible?.
I am using the Plugin, https://calendarize.it, with their Template configuration i can set the Default Page for “Organizer”, so the Content is Generate by the Plugin itself.
Changes doesnt matter if i use the tdCOmposer.
So can you help me to stretch the Page with CSS?
I’m not a pro, but i take closer look and thought about i need to add these three Classes to my Page “Organzier”
tdc-row stretch_row_1400 td-stretch-content
I’Ve test it with the Chrome Developer Tool and add these Classes to this line:
<div class"td-container tdc-content-wrap">.....
and it works, but i don’t know which kind of Technique i need to use for adding this on specified Pages, is it possible?
Can you help me there?
And another Question, the Conent is strechted when i use the td Composer, but how i stretch the Header with Logo und Menue also?
Hello Simion,
The CSS code works nice, however, ‘read this’ will still be visible. With which css code could be managed not to show ‘read more’ and ‘more from this autor’; in fact, the whole block below a post.
Many thanks,
Ad
Hello,
The Fixed widget is working very wierd.
See it here what happens when i scroll near of it:
https://snag.gy/atlX5z.jpg
website: https://rendeljkinait.hu/ it happens on the main page
Thanks,
Laszlo
Hi,
If you mean the article titles you could make that modification where the module title is defined
– https://www.screencast.com/t/UoTwOw8lYU
You would need additional code if you want that link to change dynamically, but if you place it there it would appear in the module (may need to create additional CSS also).
If you mean the block title, that file you mention would be the one (if that block uses block header template 11)
– https://www.screencast.com/t/bLmzd5LIb
– https://www.screencast.com/t/YLMGdqI4e
Wrap that in a link or what is needed.
Thanks
Sorry, this does not help with my question.
I want to know what is the CSS code to change the color of the line below the block title. Could you help me please?
Thank you,
Yes, could you tell me the code to put the tag on the top left?
And you can tell me where I hit the css code, is that I can not find it
You simply have to copy it from here, then enter it in the Custom CSS section
– https://www.screencast.com/t/IRQ9MqsZDs
Once you save the settings, the code will be loaded and the top menu should be displayed on mobile.