- 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
- NewsmagtagDiv Composer Tutorial
- TutorialsFrom WPBakery to tagDiv Composer
- NewspapertagDiv Composer Tutorial
- NewspaperTheme modules and blocks
- TutorialsDefault Block Settings Guide
- NewspaperThe Mobile Theme
- NewspaperCompare theme files – Winmerge tutorial
- NewsmagBlock settings tutorial
- NewsmagLogo & Favicon
- NewsmagFooter templates
Hi Bogdan,
Thank you for the response.
The problem is it’s not just the category.
As example it will be the NEWS category and ALL posts in that category. If it was just the one category or post it would have been possible with your solution.
How do I target css to apply to a category and all posts within that category?
Thank you in advance
Regards
JC
Thanks a lot Andrei.
The problem was related to the thumbnail sizes, i found a tutorial in the TagDiv documentation, and it just worked perfect (regenerate-thumbnails plugin) so far now its ok.
I’ve swaped big grid to a “Masonry Grid: Blur Out” and it makes the trick with the exerpts.
Tomorrow i am going to check again for the categories main pages, i figured a possibly error in my sintaxys while adding the css.
But I want to ask you what to do with the modules if, i want that the excerpt shows only when the user pass his/her mouse over the Gridś Thumbnail?.
Thanks a lot again!
-
This reply was modified 10 years by
rovito.
Hi,
OK. I understand now your issue but unfortunately there is just a slight problem. Your post without a featured image is dynamically placed. It will not maintain the same position in the block. You can remove indentation from all titles or a particular title but not dynamically. Css is not dynamic. If I remove indentation for the second title for example, but if the second title has a featured image besides it it will appear broken. There is no way to style just a particular element in the block unless the block has fixed content. not dynamic.
I hope this explains the situation. If you really need this customization you will need to hire a freelancer to help you out on this one.
Thank you!
Hello jmbernstein,
To align your header menu, please try the code below and place it in your Theme panel->Custom Css area, like this: http://screencast.com/t/7HiSiZrBry
.menu-main-menu-container {
display:table;
margin-left: auto;
margin-right:auto;
}
The result you should see here: http://screencast.com/t/Xwc4o1Ifjox
Thank you for message!
Hi,
you can target a specific category or post using the post id or category id. you can use your browser inspector to find it on the body tag: http://screencast.com/t/nlFLTchqbRyv the same applies to categories http://screencast.com/t/6WRac6CUk
you can then use it as a class at the beggining of your css code like so:
.category-10243 .backstretch {
width: 100%;
height: 100%;
position: fixed;
z-index: -99999;
top: 0;
}
now the code will only apply to that particular category.
I hope this helps
Thanks.
Hello Rhonda,
If you mean about this space http://screencast.com/t/x5pfv4e7CG , please try the code below and place it in Theme panel->Custom Css area.
@media (max-width: 767px)
.td-main-page-wrap {
padding-top: 0px!important;
}
You should see the result, here: http://screencast.com/t/dl4JLTvV
If is not what you want, please provide more details about it so I can be able to provide a more accurate response.
Thank you!
Hi
Please check this guide regarding purging cdn: https://www.nginx.com/blog/9-tips-for-improving-wordpress-performance-with-nginx/ Also try to deactivate all plugins except visual composer, empty all caches again then test again. If the problem persist please provide the css code that you’re using so I can inspect it closer. I’ve also test test this on your site and the css for for excerpts works fine: http://screencast.com/t/v9DTOB56pUA
.td_module_10 .td-excerpt {
color: red;
}
Thanks!
Hi,
You will need to provide a link to the page so we can inspect it. We cannot provide a css solution based on assumptions. We need to see how your title works and if our code applies or if not, why it does not apply.
Thank you!
Hi @Catalin-l !
Thank you so much for this response. Actually your solution works fine but involves that i only have my header on the home page + another page of my choice but all the other pages don’t display it anymore.
What I want to do is the opposite, I want to display the same header on all my pages except one where I want another header logo or no header at all.
Is there a way to trick the CSS you gave me to achieve this ?
Thank you again,
Let me know if I’m not clear, ill send screenshots to explain it.
Pierre Boullier
-
This reply was modified 10 years by
PierreBoullier.
-
This reply was modified 10 years by
PierreBoullier.
Thank you Bogdan. You’re always a star.
Few more minor CSS help:-
http://www.screencast.com/t/UEuNLBS1
i) At the moment, I see the options (Home, write, Logo etc.,) are top aligned. It needs to be middle aligned.
ii) CSS code to increase Font size and spacing. Also optimal spacing between the options.
I tried following:
#wpadminbar .ab-item, #wpadminbar a.ab-item, #wpadminbar > #wp-toolbar span.ab-label, #wpadminbar > #wp-toolbar span.noticon {
color: #000000;
font-size: 14px;
font-weight: 500;
}
Everything worked except two options(Home, write) is not getting updated. Please advice
iii) Search Icon is displayed in profile page( when username is clicked) but not getting displayed in menu when writing posts.
iv)Shuffle Menu Options.
I see options are in
Is there a way to shuffle
Expected: Logo, Search, Home, Write, Avatar, Profile Name.
Thanks!
Hello Tagdiv team,
I want to add my custom CSS to the main CSS. The custom CSS content is taking a long time to load and my contents looks good with the Custom CSS only. Is it possible to add the custom CSS into the main CSS. I tried, adding the CSS to the main CSS in the editor. But they didn’t work. Check http://www.getcooltricks.com .
Thanks in Advance.
Hello,
The screenshots work now.
1) the grid does not come from our theme and we cannot say for sure how responsiveness is supposed to work with it. We can assure responsiveness for our modules and blocks. We cannot assure it for custom made widgets.
2) The same applies for css styling. The methods the titles are placed is different. Our blocks use a h4 title and the custom widget you use is a ‘span’ element. You will have to use a custom class on the span element so you can target it with css and apply a background color an a bottom border.
Thank you!
Hi omar ahmed,
If you want to show only title from block, it is neccesary to hide the meta info. Please try the code below and place it in Theme panel->Custom Css area.
.td-module-meta-info {
display:none;
}
If you want to hide this for a specific block, it is neccesary to find what kind of module uses that block and put it in your code, like this:
-example for block 1-use module_4
.td_module_4 .td-module-meta-info {
display:none;
}
Here, http://screencast.com/t/8VHoTm5bW you can see the list with modules and block
Hope this helps and let us know how it goes!
Thank you!
1) Yes, thanks. Custom css did the trick.
2) Oops, it looks i overlooked it.. 🙂
Hvala! 😉
Hi,
Please provide your site url and more details about the header background as I’m not sure what you mean. Also you can check the header templates available for Newspaper theme – https://forum.tagdiv.com/header-styles/
You can remove the search from the menu using custom css in Theme Panel > Custom Css – http://screencast.com/t/mowhxMOda
.header-search-wrap {
display: none;
}
Thanks!
Hello Vladimir,
1) I think you are referring to the responsiveness of the logo on mobile.
You can use this custom css to make it responsive again.
@media(max-width:767px){
.td-header-style-10 .td-logo {
width: 100%!important;
}
}
2)You can change the mobile menu color from the theme panel: http://screencast.com/t/9xlJiRSDKR
Thank you!
Hi,
Please provide a link to your website so we can inspect the post. It can be done with custom css but we need to inspect the sticky post to do it.
Thank you!
Hello,
You can use this custom css to increase the image sizes:
.flickr_badge_image{
width:98px;
height:84px;
}
If this is not what you mean, please provide more details so we can understand the issue better.
Thank you!
Hi,
I made on center:
http://prntscr.com/99gmgi
but have problem to algin text to the left.
I change text-align: center; to text-align: left; but look that:
http://prntscr.com/99gncf
Problem is that on left side i dont have 100%.
Css what is use.
.td-page-header h1 {
overflow: hidden;
text-align: center;
}
.td-page-header h1:before,
.td-page-header h1:after {
background-color: #969696;
content: "";
display: inline-block;
height: 1px;
position: relative;
vertical-align: middle;
width: 50%;
max-width:5000px;
}
.td-page-header h1:before {
right: 0.5em;
margin-left: -50%;
}
.td-page-header h1:after {
left: 0.5em;
margin-right: -50%;
}
Thank you.
You can use custom css to apply an image to all the template 11 posts:
.td-post-template-11 .td-video-template-bg{
background-image: url('https://upload.wikimedia.org/wikipedia/commons/b/b5/Winnersh_Meadows_Trees.jpg');
background-repeat: no-repeat;
}
result: http://screencast.com/t/mG1hLR1DdDu
You will have to use your own image in the image url and it will propably require a few adjustments to align properly.
Thank you!
Hi jytgraphics,
Our theme has not been designed to show the top menu bar on smaller devices. To achieve this, please try the code below and place it in Theme panel->Custom Css area, like this:
@media (max-width: 767px) {
.td-top-menu-full {
display: block!important;
}
}
The result you should see here: http://screencast.com/t/kyOP2B31AIdV
Hope this helps and let us know how it goes!
Thank you!
Hello,
Unfortunately there is little you can do with iframes. If the iframe is not responsive, you cannot change this behavior. You can make the sidebar fall under the content like on mobile phones by using this css:
@media (max-width: 1018px){
.td-pb-row [class*="td-pb-span"] {
padding-right: 0;
padding-left: 0;
}}
@media (max-width: 1018px){
.td-pb-row .td-pb-span1, .td-pb-row .td-pb-span2, .td-pb-row .td-pb-span3, .td-pb-row .td-pb-span4, .td-pb-row .td-pb-span5, .td-pb-row .td-pb-span6, .td-pb-row .td-pb-span7, .td-pb-row .td-pb-span8, .td-pb-row .td-pb-span9, .td-pb-row .td-pb-span10, .td-pb-row .td-pb-span11, .td-pb-row .td-pb-span12 {
float: none;
width: 100%;
}}
@media (max-width: 1018px){
.td-pb-row [class*="td-pb-span"] {
display: block;
min-height: 1px;
}}
But unfortunately your iframe will not take up the rest of the space in order to fit inside the page properly.
In order to align it to center you will need to align the container to the center. In your case it is a
element. You can add an extra class to it from the text editor like so:
iframe
Then you can use the custom class with css like so:
.customclass{
text-align:center
}
I hope this helps
Buna,
Se pare ca nu functioneaza counterul de view-uri. Va rog sa dezactivati toate pluginurile exceptand Visual Composer, sa dati clear la cache si sa verificati daca da-ti refresh de cateva ori un articol sa vedeti daca problema persista.
Counterul de view-uri puteti sa-l ascundet folosind custom css in Theme Panel > Custom css – http://screencast.com/t/aELQUaJGk1R
header .td-post-views {
display: none;
}
Sau din cod daca doriti, doar comentati aceasta linie pentru fiecare template de post – http://screencast.com/t/cSfGxWk3d7x
Mersi!
Hello,
You can use CSS to target the hover color:
.vc_tta-color-grey.vc_tta-style-classic .vc_tta-panel .vc_tta-panel-heading:focus, .vc_tta-color-grey.vc_tta-style-classic .vc_tta-panel .vc_tta-panel-heading:hover{
background-color:blue;
}
result: http://screencast.com/t/vANc2cQ4
Thank you!
Hello,
I have tried that with no luck. A bit of a manual workaround is doing the job at the moment.
<div class=”backstretch”></div>
That class has a Z-index, css as follows:
.backstretch {
width: 100%;
height: 100%;
position: fixed;
z-index: -99999;
top: 0;
}
Changing the value made no difference so I have set it to display none:
.backstretch {
display: none;
}
I don’t know how to set CSS based on category and a post being in the category but at least when we have a background advert I can set an image for it so the site displays boxed and the display:none hides the image and advert is visible.
It’s working on this page: http://www.thesouthafrican.com/lifestyle/
Would also be good to be able to just have the background behind the advert tag but have no idea why it’s not working as it has no z-index.
thank you for your response