- NewsmagtagDiv Composer Tutorial
- NewsmagBlock settings tutorial
- NewsmagLogo & Favicon
- NewsmagFooter templates
- NewsmagUsing other ads
- NewsmagUsing Typekit fonts
Hi i want to update to newspaper 6 but i have some css changes and i don’t want to lose theme.
But when i activate newspaper 6 i have many problems please help me to do this changes
Hi,
please give me your link and we will see if it’s possible to tune the footer via custom CSS.
Hi,
Please try this custom css in Theme Panel > Custom Css – http://screencast.com/t/pID1Ig5vEL
.td-header-wrap .td-a-rec-id-custom_ad_5 {
margin-bottom: 0px !important;
}
Thanks!
Hi,
You can follow the above solution but add the code in a div with a unique class – http://screencast.com/t/MENgNj22pF and use this custom css to hide it only for top review – http://screencast.com/t/4q8K3BJdPnj
.review-top .td-review-footer {
display: none;
}
If this doesn’t help you will need custom work to change and add a new the review function – http://screencast.com/t/2cqWjTrBzfm unfortunately we cannot provide any type of custom work at this time, sorry!
Hope this helps!
Hi,
Please disable all plugins, leave only Visual Composer active, also disable any css/js minification, clear cache and purge your files if you use CDN, then check again if you still have this issue. Remove also any custom modification to the code. I also tested this with latest theme version and did not found any issues with it.
Thanks!
Hi,
I see the you use version 4 of the theme, please try this custom css – http://screencast.com/t/dF0boXTeT
@media(max-width: 767px) {
.td_normal_slide .td-sbig-title {
font-size: 13px !important;
line-height: 20px !important;
padding: 0 !important;
}
}
Thanks!
Buna,
Daca vrei sa adaugi content in pagina de forum, poti crea o noua pagina denumita Forums si sa folosesti shortcoduri – http://screencast.com/t/l3qDftKrgH De aceea am adaugat documentatia pluginului – https://codex.bbpress.org/ si forumul se poate accesa aici https://itutorial.ro/forums/
5. Incearca te rog aceasta solutie – https://forum.tagdiv.com/topic/newspaper-6-upgrade/#post-54686
6. Incearca totusi si fara plugin-uri, lasa doar Visual Composer activat, da clear la cache si incearca din nou. Daca tot ai aceasta problema trimite un mail la contact@tagdiv.com si da-ne acces sa ne uitam si noi de asemenea specifica problema si un link la acest topic.
7. Se poate cu ajutorul functiei do_shortcode sa-l afisezi de exemplu sub meniu si va aparea pe toate paginile/articolele iei shortcodul din pagina – http://screencast.com/t/PvC5klsnn si il adaugi in header style care il folosesti intr-un div – http://screencast.com/t/DjeiIu0n
<div class="td-container">
<?php echo do_shortcode('[td_block_trending_now limit="5"]');?>
</div>
Result: http://screencast.com/t/mnvGjWdA
1. Se pare ca lipseste documentatia pentru smart list(am trecut-o pe todo si o sa fie adaugata). Poti vedea documentatia de la Newsmag, se aplica in acelasi mod doar ca stilurile le poti gasi aici( http://screencast.com/t/ZhN4WjoX3 ) – https://forum.tagdiv.com/smart-list/ De asemenea acest topic poate ajuta – https://forum.tagdiv.com/topic/smart-lists/
2. Din pacate ai nevoie de modificari in tema pentru a obtine acest lucru. O cale mai usoara ar fi sa nu mai folosesti article top ad, ci un custom ad pe care sa-l afisezi dupa featured image pe template-ul care vrei – http://screencast.com/t/IXOzj4Cf0oc daca te referi la ad-ul special pentru stilul 1 acesta il poti muta asa – http://screencast.com/t/ATZMdDfux
3. Foloseste acest css in Theme Panel > Custom Css – http://screencast.com/t/lG6Gal6P9
.td-header-menu-wrap.td-affix {
background-color: white;
}
Mersi!
-
This reply was modified 11 years by
Alin [tagDiv].
-
This reply was modified 11 years by
Alin [tagDiv].
Hello, i am usually tweaking a lot the themes I buy, and already with not so big themes I always wonder why the CSS code must be so complicated written. If I want to change the color of headlines – all headlines on the whole site – I have to define so many things if I don’t want to be so rude to use !important all over. Well, your theme panel offers this now, but it was just an example.
Now Newspaper has the largest style.css I’ve ever seen: 25.000+ lines!
If I want to change the whole site to simply two fonts, I don’t even want to count on how many wheels I have to turn to get this done … seems like an impossible task.
But I must admit that until that day I didn’t get my feet into LESS and SASS, so I wonder if you yourself would put such a burden of CSS on your own few shoulders, or if that 25’+ are the mere result of some simple LESS programming which actually makes things more simple than complicated.
So, am I wrong with the feeling that you made theme adaption a real pain for your clients, or would it just be a pain for old-style non-LESS user as me? Then the moment has come for me to mess less and learn LESS. Can I adapt your theme more easily, e.g. how would I change all instances of Roboto without going crazy in style.css?
Yes… widgets get accent color value unless you bypass this with css
-
This reply was modified 11 years by
neakriti.
.td-post-template-3 .td-post-featured-image img {
max-height: 700px;
width: 100%;
object-fit: none;
object-position: center;
}
try the above CSS. I know its not the real deal, but it does what you want, until tagdiv reply to your problem.
However this is not the optimal solution, nor it handles all situations like smaller images.
I believe tagdiv can only help us on that
If this CSS isn’t applied, where is the default set from within the themes panel? Do all widget headers get the assigned accent color by default?
This has nothing to do with theme updates. You apply this to your theme panel on the Custom CSS section. No matter how many updates you do this remains the same and intact.
Or wait, does CSS minifcation need to be done *after* we add your code? Because I did minification first, and then modified the functions.php file.
Custom code still works for adding to end of your functions.php file; however this one element might not, with NP 6.1 (not yet tested by myself at least):
add_action('init', 'myoverride', 100);
function myoverride() {
remove_action('wp_head', array(visual_composer(), 'addMetaData'));
}
function dequeue_visual_composer_css() {
if (is_single()) {
wp_dequeue_style('js_composer_front');
}
}
add_action('wp_enqueue_scripts', 'dequeue_visual_composer_css', 1003);
the other things I have for functions.php are to impact WordPress, and *not* the theme itself, and so work with *ANY* theme.
Hope that helped ! 🙂
I just checked again in Chrome/latest build; Win7/64 and iOS — and look great.
Note Chrome really holds onto cache. You may need to fully clear your history/cache in Chrome if it’s got stuck CSS for your site from a prior version/site. F5 in chrome does not fully refresh the page; you have to actually go to your settings and delete the cache/history (really!).
SEE:
https://support.google.com/chrome/answer/95582?hl=en
🙂
-
This reply was modified 11 years by
simchris.
1) If we add the line
@import url(“../Newspaper/style.css”);
at the style.css of the child theme
2) if we edit the functions.php file in the child theme and remove the lines
/* —————————————————————————-
add the parent style + style.css from this folder
*/
add_action( ‘wp_enqueue_scripts’, ‘theme_enqueue_styles’ );
function theme_enqueue_styles() {
wp_enqueue_style(‘td-theme’, get_template_directory_uri() . ‘/style.css’, ”, ‘6c’, ‘all’ );
wp_enqueue_style(‘td-theme-child’, get_stylesheet_directory_uri() . ‘/style.css’, array(‘td-theme’));
}
then the child theme works ok with BigGrid… I don’t know if thats ok to do….
-
This reply was modified 11 years by
neakriti.
Bruce
just to chime in; from my own projects — it’s NOT that sample, unfortunately; there aren’t any plugins I’ve seen which combine “all author views” within a theme. Normally you would do something like setup Google Analytics and apply a custom filter to the author by name, or use something like Piwik to create custom tracking per author.
The theme setup is a fairly simple one of tracking ‘views’ based on post and then writing that to a data field saved with post meta (hence why you can see that in each post custom fields). To add an additional dbase call, you would have to ALSO write another field for author with unique key separate from post key and then write that to ALL post records for that author.
You would likely need to hire a custom developer to build the dbase hooks and so forth to work with theme; but probably simpler to have a custom plugin built that can do the author lookup and then the overhead for writing multiple data fields. This would be some serious custom work, unless you’re doing a multi-site setup, where each author essentially has their own mini-site (e.g., large magazines setup unique blogs per author, and then there are unique stats by author/blog as the more typical way that’s done).
For adding something like additional author fields, you would likely need to do some custom work to add to your functions.php file and register additional record fields “per user” and then you’d have to edit the author template in theme to query/echo that custom field in the per author setup to load that info.
Neither of those are capable of being done out of the box with this, or any comparable theme unless you build those features in yourself as they’re not commonly needed by most folk as “part of theme,” since you’d lose such custom info if changing themes in some cases. So, those kinds of customizations are best done outside of the theme framework, but done via both functions.php and custom data fields which are not directly tied to, or managed by, the theme.
There are numerous plugins for adding custom user fields, and then using shortcodes in your template files.
Or you can “roll your own,” as there are hundreds of articles online for adding “custom user fields” to WordPress.
ONE example:
http://wpengineer.com/2173/custom-fields-wordpress-user-profile/
Hope that helped. Obviously the theme devs can’t build custom code for you outside of minor tweaks and CSS over-rides; they don’t do full custom stuff at this time.
Hi, with the introduction of Newspaper 6.1,
in the “Theme colors”->”GENERAL theme colors”->”THEME ACCENT COLOR” you can select a generic accent color. While red for example looks good for general use like highlighting the current page, I still prefered the black for widgets as it was in version 6.0. However there is no color option for default widget titles.
If you liked the dark background on the widgets but want some different color on your THEME ACCENT COLOR option, add the following code to your custom CSS.
aside.widget > div > span{
background-color: #333333 !Important;
}
aside.widget > .block-title{
border-color: #333333 !Important;
}
This applies to third party widgets. For tagdiv widgets you can customize the color of the title from the widget directly.
`
Ok, here is a little CSS fix for the Big Grid 2. It should work. 🙂
Just paste this in Newspaper / Theme panel / Custom CSS.
.td_block_big_grid_2 .td-small-thumb .td-module-thumb {
width: 305px;
}
1. How do I erase the excess pink space from the top of footer to snap closer to logo and same with bottom of footer to snap closer to social icons?
I think those areas have some padding due to the possibility to include some ads in those spaces. It looks like the height of the footer is hardcoded to be 1164×389. It is element ‘td-footer-wrapper td-footer-template-4’. You could change it in your style sheet.
2. How do I make the social icons in footer menu a bit bigger? And how do I make the hover colour on those icons a solid purple colour instead of the colours constantly changing?
The footer social media icons are designed to be 40×40. You’d have to change the styles too. Look at the following elements in your CSS: td-social-style-2 and td-icon-font. If you’re going to make several edits to the stylesheet, consider making a child theme.
3. Chris’s Pagespeed Custom Code no longer works (the one that you post at the end of the functions.php – will he be coming out with a new one that works with Newspaper 6?)
Have you upgraded to v6.1 of the theme?
4. How do I move the bottom share options (at the end of my posts), above my taboola advertisement so that they appear right at end of article?
Go to your dashboard. Theme Panel>Post Seetings>Sharing. You should see toggles to move the social sharing buttons.
5. Is there a code so that my custom ad 1 will appear underneath (or above) the author box?
I’m not sure if it always inserts it below ads. I think the author box is placed there via the posts template. You can attempt to mess with the posts templates to see if another one places the author box higher. Go to dashboard. Theme Panel>Post Settings>Default Post Template.
I’m wanting to do custom colors for each category.
I have a category that is Yellow, but you cannot read the White text on a yellow background.
What css would I change in order to turn it black on that category?
It is Category 1
Hi,
How do you change the version number of the child themes css file?
It always appears as style.css?ver=x and doesn’t seem to take into account either the theme version number or file last modified time.
Thanks,
Rob
If I try your solutions, I have still 2 stylesheets (js_composer.css and style.css) which remains at the top of the page.
Do you have the same problem?
Hi,
1. Your image width must be at least 745x483 to fill the whole container. If your featured image is smaller, please note that WordPress doesn’t enlarge images and you will need to use plugin like Thumbnail Upscale to enlarge thumbnails: https://wordpress.org/plugins/thumbnail-upscale/ For upscale use a combination of plugins Thumbnail Upscale + Force Regenerate.
Or you can try this custom css in Theme Panel > Custom Css:
.td_block_big_grid .td-big-grid-post-0 .entry-thumb {
width: 100%;
height: 100%
}
.td_block_big_grid .td-big-grid-post-0 .thumb-wrap {
height: 100%
}
2. I have checked you site and this is how it looks you articles titles on Big Slide – http://screencast.com/t/o0CeUvG0BDE2 you have changed the default background color. Please provide more details what you are trying to do.
Thanks!
Hi,
Please try this custom css in Theme Panel > Custom Css – http://screencast.com/t/41tiCaW8jll7
.td-header-style-10 .td-logo-wrap-full {
min-height: 80px;
line-height: 80px;
}
Thanks!