- NewsmagtagDiv Composer Tutorial
- NewsmagBlock settings tutorial
- NewsmagLogo & Favicon
- NewsmagFooter templates
- NewsmagUsing other ads
- NewsmagUsing Typekit fonts
Hi @infusednz
For some of them you have to add an inline style
better create your own class into style.css than use inline css
<span class="dropcap" style="background-color:#e91fae">K</span>
-
This reply was modified 9 years by
nairolf.
Hi,
just as general rule you should start moving on from “inline styles” and move to CSS classes.
e.g.,
<TABLE width="100%">
to
<TABLE class="mytable100w">
Many browsers are going to not work well with inline styles any more, and your site will fail “AMP” validation with Google’s new protocol.
Just a thought, sorry to intrude.
brad: Security with this theme is quite good – you just need to make sure you’re on the latest releases. I’d encourage you to look at upgrading to v3.1 when possible – if you bought the theme from Themeforest; it should be available for download there.
Chris: Great! I recently upgraded to 3.1; Although I have so many extra bits and pieces running on my site, I need to cut things down – I have set up a paywalled section for my customer with premium content, running woo commerce, subscriptions, members, bbpress, etc. I need to do something to speed things up. I have an events plugin that is just too slow with this theme I can’t even use it. The whole site runs quite nicely with default themes. I’ve only just started on my journey pulling out the extra bells and whistles – for instance; the td-backstretch routines: I can get by with a static standard backstretch image; I don’t need all the shiny js that they’ve implemented there, I dont need a 700k css file, etc. I understand why they have done it the way they have, it’s just too diverse now and for poor little servers like mine, it’s just too much. I’ll probably quit and give up before I finish haha.
Hi there,
i’m trying to align the 300×300 banner on the sidebar, so it’s in the middle. But somehow i tried a view CSS while in inspect element, but when the CSS is added the banner floats still on the left.
You can view the 300×300 ad via visiting: http://test.skien.nl/
Also…
as noted in couple of my optimization threads the only way to remove ‘render blocking’ resources for mobile is to actually move the style.css to footer, de-enqueue it from header, and then manually insert the critical CSS in the header.php file manually (use a critical css generator to do this task). This is how I do it.
That is the broad stroke, but something you can explore on your own time. 🙂
Hello,
Is it possible to set a max-width for the main content area?
Also, I would like the main content to be boxed with a border so that it makes a clear visual distinction between the background and the main content placeholder.
In fact, I would like something like on this website: http://www.begeek.fr/
I installed the child theme but my css skills are quite limited especially regarding keeping everything responsive.
Could you please guide me?
Thank you
Hello,
I investigated this further and there truly seems to be an issue with the layout in newspaper 7.4. I will pass this information on to the development team and we will look for a fix as soon as possible.As a temporary solution, you can add this custom css in the theme panel->custom css box:
.td-main-content-wrap{
overflow: hidden;
}
Sorry for the inconvenience.
Hi tagDiv,
I tried to remove query string from all resources.
Mention: whit the plugin Speed-Boostser activated or not allways bring the same results, so discarded.
So, using functions like:
function remove_cssjs_ver( $src ) {
if( strpos( $src, '?ver=' ) )
$src = remove_query_arg( 'ver', $src );
return $src;
}
add_filter( 'style_loader_src', 'remove_cssjs_ver', 10, 2 );
add_filter( 'script_loader_src', 'remove_cssjs_ver', 10, 2 );
or
function _remove_script_version( $src ){
$parts = explode( '?', $src );
return $parts[0];
}
add_filter( 'script_loader_src', '_remove_script_version', 15, 1 );
add_filter( 'style_loader_src', '_remove_script_version', 15, 1 );
… for all other resource works but only this resources are untouched:
- http://fonts.googleapis.com/css?family=Open+Sans:300italic,400italic,600italic,400,600,700&ver=7.4
- http://fonts.googleapis.com/css?family=Roboto:500,400italic,700,900,500italic,400,300&ver=7.4
- http://domain.com/wp-content/plugins/js_composer/assets/css/js_composer.min.css?ver=7.4
- http:///domain.com/wp-content/themes/BT/style.css?ver=7.4
Why is not possible?
I know that this practice ensure you that the browser will not be able to store them in cache and users allways will see the right version from each update.
Thanks.
Hello,
For the search form, you can use this css code to change the color:
.td-search-form input[type=submit]{
background-color:red!important;
}
The image titles can be changed with this code:
.wpb_singleimage_heading{
background-color: red!important;
}
As for the add to card:
.woocommerce .product a.button, .woocommerce .product #respond input#submit, .woocommerce .checkout input#place_order, .woocommerce .woocommerce.widget .button {
background: none red;
}
Simply change the word red inside the code.
Thank you!
Hi zenzino,
You will have to increase the max-height if you want that all your customizations to be applied. Try the code below and place it in Theme panel->Custom CSS area.
The code is ->
.td-header-style-1 .td-header-sp-logo img {
max-height: 120px;
}
The result -> http://screencast.com/t/Thzu00YkJOo
Thanks.
Salut RaulCalin,
Tema noastra nu are o astfel de implementare si nu stiu daca se poate implementa asa ceva. Te rog sa observi ca varianta mobila a temei noastre este facuta din CSS cu @media si aceasta va intra pe rol doar atunci cand dimensiunea dispozitivului tau este de dimensiunea corespunzatoare variantei mobile/tableta.
Multumesc pentru intelegere!
Hello,
I suspect your fonts got changed vie css. Please remove any custom css in your theme panel or any custom code added in the theme files. Restore the theme to it;s default behavior without any interference and check the fonts again. Also disable all plugins except visual composer, clear cache and reset cdn files if you use it.
If you cannot manage to get the icons to show, please provide a link to your site pointing at such an elements and we will take a look.
It can also be a cdn issue like this topic suggests: https://forum.tagdiv.com/topic/strange-chinese-symbols-replaced-icons-and-arrows/
Thank you!
Hi Bogdan,
I try to put the code in the CSS (with the theme panel) and the image take all the background, no just the box header… Do you have any solution?
Thank you!
Hello,
Unfortunately there is no simple way of doing it with css. you will need to create special functions for this to work properly. Our theme does not have such a detect in place so there is no easy way to detect if there are no more posts to display and make the arrow not show anymore.
Thank you!
Hello,
You can disable the search menu with this custom css:
#td-top-search{
display:none;
}
You can add the code in the theme panel->custom css box
Thank you!
Hello,
You can follow this topic to add an image to your category box only. The theme only provides the option to add it as a background but it can be added with css. https://forum.tagdiv.com/topic/change-header-image-for-each-category/
You will need to add your own category ID though.
Thank you!
Hello,
You do not need to be a designer but if you want to bypass he css cascade effect you will require a bit of knowledge. Css works like this on every website as it is the way it was programmed to work. That is why it;s called ‘cascading style sheets’. It works on re-writes. it overwrites it’s code on every change and you can see these overwrites if your connection is slow or your website is not optimized. The links Nano mentioned are useful in learning how to bypass this with minimum knowledge required.
Thank you!
Hello,
Please remove any custom css you may have added to your site as it will not work properly for each case. If you want to remove the background from the posts, then simply use a primary category for the post that does not have any background set to it. The primary category makes the post grab the background of the category: https://forum.tagdiv.com/primary-category/ and please provide more details to how you want the featured images shown Style 8 uses the featured image as a background and style 6 requires no background image or color set so it can stretch to the full width of the screen.
Thank you!
Hello aph100,
You can try to use a bit of CSS code to hide it.
The code ->
.td-banner-wrap-full{
display:none;
}
If the code will not work, provide the link to your website so I can provide a more accurate response.
Thanks.
Hello kaidensharma,
If you want to move to the left your logo, please notice that you have to use a bit of CSS code to do that. As an example, you can use the code below and place it in Theme panel->Custom CSS area.
The code is ->
.td-header-style-3 .td-header-sp-logo {
margin-left:0;
}
This is a basic example which you can use it to adjust the position of your logo. Please notice that all of these modifications are custom and if you want to bring good results you should implement itself all of these. Also, if you are not aware of the steps which are needed to take in this regard, please consider hiring a freelancer/developer to help you because we cannot provide custom work at the moment, sorry!
Thanks for your understanding!
Hello,
1. The fonts can be changed for each module in particular. The module is the base element in our theme. A block consists of 1 or more modules. You can find a list of what modules are used on what block here: http://screencast.com/t/brl5OaBYkP Then you can access this part of the fonts section: http://screencast.com/t/Xf935WZJe6k
2. Every part of the site can be changed from the block settings. Our default fonts are ‘open sans’ and ‘roboto’
3. If you do not use the blockquote elements, yopu can try to use a span around the ” and add an inline css to it like this link suggests:http://www.w3schools.com/tags/tag_span.asp
4. We did not add a specific values for the elements. They were set with the value the designer considered them to display properly in. If you want to see what font size a particular element has, you can use the browser inspector to do it. You can use this guide on how to use it: https://forum.tagdiv.com/create-custom-code-using-the-browsers-inspector/
5. You can find the color settings under the theme panel-> theme colors tab here: http://screencast.com/t/Vv67faEMMX
Thank you!
Hello,
The header styles are different on each demo and you cannot change this from the theme panel. Each demo has it’s unique header style. If you want to change the header style you will have to edit the theme code for the element or use custom css for it.
As for the iframe, our modules and blocks ere not designed to show iframes. Sorry. Our theme modules and blocks will only show the post featured images and the excerpt, not an iframe element. If you require this you will have to implement it custom. As for the firefox issue, It;s most likely caused by the table you are implementing at the top iof the content. Please try to remove the table and see if you still get the error
Thank you!
No problem – hope it helps… After 3 years with this theme – I do still love it so much but with all the layers of abstraction (and unexplained css hacks and old elements overwriting each other from older versions), the speed at which the pages load is now crippling my site.. I’ve decided to strip out all unnecessary bells and whistles for my needs.. I mean the css file is 712kb and almost 200k for just the home page (and that’s before any media content)!!! Wish me luck!
-
This reply was modified 9 years by
jsup.
Hello lasvegascfp,
Please try the code below and place it in Theme panel->Custom CSS area.
The code is ->
@media (min-width:767px){
#menu-item-5135, #menu-item-4798{
display:none;
}
}
@media (max-width: 767px){
.td-header-top-menu-full {
display: block!important;
}
}
@media (max-width: 767px){
div.td-header-sp-top-menu {
display:block !important;
}
}
@media (max-width: 767px){
.td-header-top-menu-full {
display: block!important;
}
}
.td-header-sp-top-widget, .td_ul_login{
display:none!important;
}
The result you should see here -> http://screencast.com/t/PY0SCqg0nsBW
Thanks for your understanding!
Hi
You can use this css to change the title’s colors and add a background color for it: http://screencast.com/t/LiaK4Y2ERHvf
.td_block_big_grid .entry-title a{
color: red!important;
background-color: green
}
I’ve checked your site and the images from grids are displayed fine now. If you still have this issue please provide more specif details about it so I can have a closer look and get back to you with a more accurate answer.
Also the playlist works fine now: http://screencast.com/t/s5qAx6Lck8jL There is no limit for youtube playlist so if you still have this issue please provide a link which causes the issue and maybe we can help.
Thanks!