- NewspaperWP Rocket and Newspaper Theme: Optimization Guide
- TutorialsFrom WPBakery to tagDiv Composer
- TutorialsDefault Block Settings Guide
- TutorialsHow to use custom fonts
This works like a charm !
In order to have a lighter CSS file, do I risk much by removing header styles and block styles not used in my website ? I’ll check at every update to remove the same “generic styles” that won’t be used. Do you believe this is a good idea ?
Hi
Try this css in theme panel > custom code > custom css: http://screencast.com/t/NbfCmK5r3
.td-container {
background-color: rgba(255, 255, 255, 0.33);
}
Thanks!
well …
everything fine with the image ad.
Then there must be some java or css (maybe of a plugin) which makes problems. I don’t know. Everything was fine so far, and then a few months ago, it started to do these strange things. Just a few – and then it got much more often until now …
Really weird and strange … đ
Maybe I will try to reinstall wordpress over the site.
Hello bpepermans,
Please try the code below and add it in Theme panel->Custom CSS area, like this -> http://screencast.com/t/db6vdeEAvk
.td-header-style-12 .td-header-menu-wrap .sf-menu > li > a:after {
display: block;
}
.sf-menu > .current-menu-item > a:after, .sf-menu > .current-menu-ancestor > a:after, .sf-menu > .current-category-ancestor > a:after, .sf-menu > li:hover > a:after, .sf-menu > .sfHover > a:after {
background-color: red;
}
.header-search-wrap .td-drop-down-search:before {
border-color: transparent transparent #EC4D4D transparent;
}
.header-search-wrap .td-drop-down-search:after {
background-color: red;
}
The result you should see here -> http://screencast.com/t/nkbXfbDS3
I set the border color to red, but you can modify the code to any color you want it to display.
Thank you for the message!
That’s right, but with the theme panel I can only choose between bold and regular. My font (Roboto) can have weights like 100, 300, 400, 500 or 700.
I’d like to apply the “300” for the menu so I believe this can only be made through CSS. I found the way but the behavior’s strange.
I noticed the “bad effect” appears also when hovering menus with dropdown items – not with regular ones.
I removed every customization and set all this again, with no luck…
Hello,
You do not need to use css to change the header menu font family and weight as there are options for it in the theme panel: http://screencast.com/t/7SSenCl0MR9 and the bold font weight will be the same for the menu and the sticky menu if you set the font from the panel.
Thank you!
Buna
Intradevar priuma parte se executa doar daca e afisata o subcategorie. Pentru a afisa cuvantul “Category” pe toate paginile de category adauga acest cod aici: http://screencast.com/t/vbwwHJyY
if (is_category()) {
array_unshift($breadcrumbs_array, array(
'title_attribute' => '',
'url' => '',
'display_name' => 'Category'
)
);
}
Rezultatul ar trebuii sa fie ca in aceasta imagine: http://screencast.com/t/Bucp0j9Rdo
Pentru a afisa blocuri pe pagina de blog trebuie sa editezi fisierul index.php si sa adaugi shordcodul generat in Visual Composer ca in acest exemplu: http://screencast.com/t/FkbwYL73LFlT Va trebuii sa tii cont de pozitia sidebar-ului pe pagina si sa adauci linia indicata in cazul corespunzator. Un alt aspect care trebuie luat in considerare e ca tema nu a fost conceputa sa afiseze blocuri pe pagina de blog si sar putea sa fie nevoie de ajustari suplimentare din css.
Multumesc!
Hello charsay,
If you want to prevent the Featured image for the Youtube Video, you have to edit manually from Post Editor for each post where you have Youtube video, like this -> http://screencast.com/t/T6MPKWMs and also if you want to disappear the video button -> http://screencast.com/t/ec0oAsbh8wWb, please try the code below and add it in Theme panel->Custom CSS area. Please notice you have to target the specific class where you want to disappear the button. Below I gave you only an example.
.td_module_mx5 .td-video-play-ico {
display:none;
}
Another possibility would be to find a plugin with this functionality and try how it works for you.
Thank you for the message!
Hi,
Great, I will use the first method.
Can you help me with the CSS code to reduce the space between the Title and Description?
Link: http://sansan.qriosity.com.sg/category/explore/
Thanks!
-
This reply was modified 10 years by
joyceloh.
Hello,
You can use this custom css:
.td-social-linkedin{
background-image: url("https://static.licdn.com/scds/common/u/img/icon/apple-touch-icon.png");
background-size: 100%;
}
What id does is grab an image from an url and sets it as a background image for the button. Right now it’s grabbing one I found on google, but you could change it to an image from your server (which is recommended) simply grab or create an image in ms paint or photoshop (just the letters ‘in’ on a blue background will not be a hard image to create) and upload it to your server and change the path in the css.
Result :http://screencast.com/t/IZwZHlcx
I hope this helps.
Thank you!
Hi,
There have problem with speed booster plugin in page speed insight render blocking java script and css not move in the footer and also plugin not see on my dashboard menu please help me regarding
Thanks in advance
my website link below:
http://bit.ly/1O7Hkdu
Hello.
That custom css did not worked.
I placed the !important on:
.td-grid-style-4 .entry-title {
background-color: #000 !important;
background-color: rgba(0, 0, 0, 1) !important;
}
.td-grid-style-4 .td-big-thumb .td-meta-info-container {
width: 96% !important;
/* responsive portrait phone */
}
But I don’t know if it will cause posterior issues.
Have a nice day!
Hello there,
We changed the menu font by applying in with a CSS tweak :
ul.sf-menu > li > a {
font-family: Roboto;
font-size: 16px;
font-weight: 300;
}
It works quite well but when scrolling down, the “sticky menu shows up” but with the same font at a different font weight (something like 100). When scrolling back to top, the menu doesn’t revert to the previous style but keeps this weird setting.
How can we get the menu to keep the same font-weight in any situation ?
Thanks for your help !
Thanks, again. You’ve helped me isolate the issue and find some fixes. It turned out to be a combination of things: the footer CSS code + the below custom CSS:
.td-main-page-wrap {padding-top: 5px!important;}
I was using that line to reduce space between the header and my content blocks. For others with the same problem, some possible fixes: 1) add the .td-main-page-wrap custom CSS only to pages with lots of content (instead of globally with Custom CSS panel), or 2) if you reduce the padding-top of .td-main-page-wrap by X amount, add the same X amount to the padding-bottom of .td-main-page-wrap.
That should fix it đ
Hello,
It seems the logo shifts on this header style. I will add this issue to our bug list and we will hopefully fix it in a future version. You can try to use another header style until then if you wish.
You can reduce the gap between the menu and the content using this custom css:
.home .td-main-page-wrap{
padding-top: 10px!important;
}
Thank you!
Hello riolec,
If you want to change the opacity of the homepage post element, you have to use a bit of CSS. Please try the code below and add it in Theme panel->Custom CSS area like this -> http://screencast.com/t/lYHQG5AfKe
.td-post-template-8 .td-post-header {
opacity:0.7;
}
The result -> http://screencast.com/t/IkvCvMXQHo7
Hope this helps!
Thank you for the message!
Hello,
We will try to add more social icons in the future. Until then you can use the method provided and adjust it with css. Please provide a link to your website with the modification so I can provide the css code for adjusting the button.
thank you!
Hello,
1) You can use this css to make the height of the grid smaller:
@media (max-width: 767px){
.td_block_big_grid_3 .td-big-thumb .td-module-thumb {
height: 260px!important;
}
}
2) I have checked your website on many devices both android and ios but could not find any problems. Please check it again to see if the issue is still present.
Thank you!
Hello joyceloh,
If you want to move to the right you banner ad, you have to use a bit of CSS. Please try the code below and add it in Theme panel->Custom CSS area.
The code is ->
.td-header-sp-recs img {
right:-180px;
}
The result -> http://screencast.com/t/D7Y6O25P9rO
Thank you for the message!
Hello tiago,
This is the simplest solution of recreating the travel demo homepage on another demo. This cannot be done without the custom classes used by this demo.
Please follow these simple steps to recreate the travel demo homepage with another demo installed:
1) This is the shortcode of the page layout. You can simply paste it inside your page editor in classic mode and text mode: http://screencast.com/t/SUt9ItUc the code: http://pastebin.com/RAA6DkWp
2) The background image will not be found so you will need to add your own image in the row setting: http://screencast.com/t/yB2Bh0rbo
3) This is the final and most important step as the CSS for the travel homepage will not apply without this step. Please add this class: td-travel to the body of the website like so: http://screencast.com/t/fOt9sfquQtVy
This will be the result: http://screencast.com/t/vlZG4G8m1Xpy
I hope this helps!
Thank you!
Hello,
Apparently that is the name you set to your category. It cannot be changed with css, but rather from here: http://screencast.com/t/5oEGOAeK2tb
Thank you!
Hello Paul,
1) You can change the read more button from the translation section of the theme panel: http://screencast.com/t/HwtAGm8P3T8t
2) You can remove the search from the menu either with css or by removing it from the theme files:
css: .header-search-wrap{
display:none!important
}
from the files: http://screencast.com/t/X6DjcpVf
3) You can inspect the links you created using the browser inspector and use css to target them(it’s best to assign them a custom class so you can target it)
4)You need to create a custom link (link to ‘#’) for them and then add the sub-menus or mega-menu:
http://screencast.com/t/76EKnjya
5) The content is controled by the plugin (most likely contact form 7 as this is the recommended one)
I hope this helps.
Thank you!
Hello larceny,
The child theme helps you to keep the changes made by you for the future update but if your modified files are not changed by the theme in this update. Please notice that the style.css file is changed in every update and it is necessary to update your child theme that come bundled with our theme on every update to works well. If your files changed are different to files changed by the theme you have to replace only those files in the child theme.
Hope this helps!
Thank you for the message!
Hello Lars,
Unfortunately the border option in visual composer does not work properly.
The border can be set with css if you like:
First add a custom class to the row: http://screencast.com/t/3mADQrcKmz8
And then use this css to target it:
.customborder{
border:1px solid black;
}
Thank you!
Hi
There seems to be a problem with using the Shadows Into Light font with a FireFox browser. (safari and google are fine) We should be in English but we appear to be in Gobble-di-gook. Can you help
Site: http://rockshot.co.uk
http://screencast.com/t/kmffH7VLrg
Supporting info:
I had to change the font by css on certain headers and masonry grids because it was not doing that in the theme panel.
Site: http://rockshot.co.uk
http://screencast.com/t/kmffH7VLrg
CSS changes here.td-header-menu-wrap{
background: #abbaab; /* fallback for old browsers */
background: -webkit-linear-gradient(to left, #8e0000 , #ffffff); /* Chrome 10-25, Safari 5.1-6 */
background: linear-gradient(to left, #8e0000 , #ffffff); /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
}
.td-main-sidebar{
background: #abbaab; /* fallback for old browsers */
background: -webkit-linear-gradient(to left, #8e0000 , #ffffff); /* Chrome 10-25, Safari 5.1-6 */
background: linear-gradient(to left, #8e0000 , #ffffff); /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
}
.td_block_big_grid_2 .td-big-thumb .td-module-thumb img{
width: 100%;
height: 100%;
}
h1, h2, h3, h4, h5, h6 {
color: #111111;
font-family: “Shadows Into Light”,sans-serif;
font-weight: 400;
}
.vc_btn3.vc_btn3-color-juicy-pink, .vc_btn3.vc_btn3-color-juicy-pink.vc_btn3-style-flat {
background-color: #8e0000;
font-family: “Shadows Into Light”,sans-serif;
color: #fff;
}
.td-post-content a{color:#8e0000
}
body {
background: #abbaab; /* fallback for old browsers */
background: -webkit-linear-gradient(to left, #8e0000 , #ffffff); /* Chrome 10-25, Safari 5.1-6 */
background: linear-gradient(to left, #8e0000 , #ffffff); /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
}