- NewspaperWP Rocket and Newspaper Theme: Optimization Guide
- TutorialsFrom WPBakery to tagDiv Composer
- TutorialsDefault Block Settings Guide
- TutorialsHow to use custom fonts
Hello
Please try the code below and place it in Theme panel->Custom CSS area.
The code is ->
#td-header-menu .sf-menu > li > a {
padding: 0 25px;
}
The result you should see here -> http://screencast.com/t/6JXWtRYT
Thanks.
Hi
The indicated site use a infinite scroll model to load posts. Unfortunately with our theme this is not possible at the moment. This is a complex task which need lots of customizations in order to be achieved. It will need to be custom made and unfortunately is not a ‘walk in the park’ from any point of view you look at it.
First must be chosen a way to load the next posts and here are two main ways:
– load all posts when the page it’s loaded first time, which is not very good for page-speed
– load posts when the users scroll-down, which means additional queries to the database.
Regarding the video this is not an much easier task either.
First you need to understand how page structure looks like when a sidebar it’s used. There are two main containers in place: a span 8 and a span 4. What you’re trying to do is to move a part of content from one container to another when user scroll down. This is not possible at all because after the html it’s generated it can’t be changed within same session. In your example the video and text are in the same container. The css applied only change the position, which is possible, but not affect the html. You can achieve a similar result using our theme but it’s required a custom post template with a custom structure.
I mentioned in my previous replies that we can’t offer any custom services at the moment. If you’re not aware of the steps you need to take in this regard you can always hire a developer or a freelancer from sites like http://studio.envato.com/ to do this for you
Thanks!
Hello Aldemi,
1)Unfortunately, our theme has not been designed to use a dynamic width. We do not recommend to increase or decrease the width of the theme’s width because the layout of the theme will be broken. Also, please notice that it is not a simple task and if you want to change the width you will have to adjust the all of other elements of the theme to works with the new width and this involve custom work. If you want to display more levels in our theme and you are not aware of the steps in this regard, please consider hiring a freelancer/developer to implement this for you because we cannot provide customization services at the moment, sorry!
2)Please notice that what you are asked involve more additional customizations and thus custom work. Please notice that we cannot do your website but only can guide you to the right direction. Below, I present you the steps which you should follow in order to achieve as you want.
First of all, please use the inspector (right click ->Inspect or CTRL+SHIFT+I) and then you will see all element from your homepage. In most of these cases, you should decrease the paddings or the margins and with a bit of CSS code, you can accomplish it. -> http://screencast.com/t/gQR7fCRxoI -> http://screencast.com/t/MMI8BNhTT -> http://screencast.com/t/bj9ndTfrO -> http://screencast.com/t/9lV88FQi -> http://screencast.com/t/1abWpsLmL Following the above steps, please try to do it yourself and place the code in Theme panel->Custom CSS area. If you are not aware with the steps in this regard, please consider hiring a freelancer/developer to help you because we cannot provide customization services at the moment, sorry!
Thank you for the message!
Hello cdeloach,
If you want to replace the icon with the text for your mobile menu, you have to use a bit of CSS code to do that. Please try the code below and place it in Theme panel->Custom CSS area.
The code is ->
.td-icon-mobile:before {
content: 'MENU';
}
The result you should see here -> http://screencast.com/t/6yMAWrvVaN
Thank you for the message!
Hi
1. Try this css: http://screencast.com/t/UQ7uHzLYE3W
.td-mobile-close a{
background-color: red;
}
2. You can change the menu items text color from theme panel > theme colors: http://screencast.com/t/tmmfIft2AnQ
Thanks!
Hello willysawa,
Please try the code below and place it in Theme panel->Custom CSS area.
The code is ->
.sf-menu > li > a:after {
height: 50px;
z-index: -1;
}
The result you should see here -> http://screencast.com/t/f23JuY7G3
Hope this helps and let us know how it goes!
Thank you for the message!
Hi
Try this css in theme panel > custom code > custom css: http://screencast.com/t/XCiK6aTS
.td-header-container {
width: 100%;
}
.td-header-top-menu, .td-header-header, .menu-main-menu-container {
width: 1021px;
margin-left: auto;
margin-right: auto;
}
Let me know how it goes.
Thanks!
Hello Liefwin,
Please try the following code and place it in Theme panel->Custom CSS area.
The code is ->
.td-pulldown-filter-list li:first-child {
display:none;
}
The result you should see here -> http://screencast.com/t/I4iA0Dnpo
Hope this helps!
Thanks.
Hello Sebastian,
If you want to make it permanently these settings, you should use the child theme. You have to use a bit of CSS code and place in Custom CSS area from the child theme.
The code is ->
h1 {
background-color:red!important;
color:white;
}
The result you should see here -> http://screencast.com/t/STIZyZypE6Wg
Please notice that if you make these changes on the main theme, on each update, the code will be overwritten and you will lose the settings. For more information about child theme, please consult our documentation here -> https://forum.tagdiv.com/the-child-theme-support-tutorial/
Hope this helps!
Thank you for the message!
Hi
By default the theme does not display the top menu on mobile devices. However you can use this css in theme panel > custom code > custom css to display the top menu on mobile: http://screencast.com/t/CR5mfgq8EON
@media (max-width: 767px){
.td-header-top-menu {
display: block;
}
}
Thanks!
Hi,
Yes,the latest articles section does not appear in the visual composer editor. You can change that with this css:
.td-pb-article-list{
background-color:grey!important
}
Thanks.
Hello Carly,
I suppose that you want to make the post title on the page to be smaller. Please try the code below and place it in Theme panel->Custom CSS area.
The code is ->
.td_module_wrap .entry-title a {
font-size: 15px;
}
The result you should see here -> http://screencast.com/t/FjdlYLhm
Hope this helps and let us know how it goes!
Thank you for the message!
Hi,
you can use this css to make all the red markers a bright red:
.td_text_highlight_marker_red{
background-color:red!important;
box-shadow: 8px 0 0 red, -8px 0 0 red;
}
You can use any color you want instead of the color “red”. CSS accepts rgb color or hex colors. you can use this color picker and simply replace the word red in the code with your preferred color: https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Colors/Color_picker_tool
Thank you!
Hi,
The code I provided does exactly that. It removes the menu entirely with the hamburger dropdown, the logo, the search icon and the sticky menu. Simply add the code in the theme panel->custom css box and it should work. Mind that different header styles can have different results. I tested it on the default header style. If the code does not work on your end please provide a link to your website so I can inspect it.
Thank you!
Hello Catalin,
We are almost there… The main menu is now centered, thank you!
But I would like to have the hover color of the menu that coincides with the high and low ends of the menu bar.
What is the css code to do that, please?
Thanks in advance.
Nassim.
Hi everybody,
i just wanted to ask, if it is possible to customize the existing post-templates in way, that is safe in case of updates, etc.
In my case, I just want the headline (h1) to be underlaid with an orange box with the headline having white font-color.
Actually I just need a way to “overwrite” the existing css permanently, because I´ve managed it with developer-tools in my browser.
Thank you in advance for you answer!
Regards, Sebastian
Hi,
In order to have it display properly, you can add the code in a header file. In my case I use header style 1 so I would add the code here: http://screencast.com/t/aRWvffCK6q
This is a simple div you can add content to:
<div class="mycustomdiv">Add your content here</div>
After you do that, it needs a bit of css for positioning. you can add this code in the css box of the theme panel:
.mycustomdiv{
margin-left: auto;
margin-right: auto;
display: table;
line-height: 28px;
}
This will be the result: http://screencast.com/t/xTKGkiEmw
Hope this helps.
Thank you!
Hello thanik30,
If you want to decrease the font size for the block title (for block 13) you have to use a bit of CSS code to do that. Please try the code below and place it in Theme panel->Custom CSS area.
The code is ->
.td_module_14 .td-module-title{
font-size: 16px!important;
}
.td_module_mx3 .td-module-title{
font-size: 13px!important;
}
The result you should see here -> http://screencast.com/t/gC4Iu5xc3
Hope this helps and let us know how it goes!
Thank you for the message!
Hello Nassim,
If you want to align the menu you have to use a bit of CSS code to do that. Please try the code below and place it in Theme panel->Custom CSS area.
The code is ->
.td-header-style-6 .sf-menu {
padding-top: 10px;
}
The result you should see here -> http://screencast.com/t/Bf1t1Db0e
The mega menu feature can be used only for the main item because it still using the sub-menu items (subcategory). For more information about this kind o feature, please check our documentation here -> https://forum.tagdiv.com/mega-menu/
Hope this helps!
Thanks.
Hi,
Unfortunately there is no way to disable it from the theme panel. You can however hide it with css:
@media (max-width:767px){
.td-header-menu-wrap-full{
display:none!important
}}
Hope this helps.
Thank you!
Hello atabrb,
Unfortunately, our theme does not have such an option to disable the mobile version, sorry! If you want to quit to the mobile menu, you can use a bit of CSS code to hide the mobile toggle icon to no longer has access to the menu in mobile mode.
The code is ->
#td-top-mobile-toggle {
display:none!important;
}
The result you should see here -> http://screencast.com/t/JiyDQ33F9P9
Hope this helps!
Thank you for the message!
hi, i can’t seem to use jquery in custom code via theme panel.
i’m inserting this code:
$.fn.chunk = function(size) {
var arr = [];
for (var i = 0; i < this.length; i += size) {
arr.push(this.slice(i, i + size));
}
return this.pushStack(arr, "chunk", size);
}
$(".td_module_10").chunk(2).wrap('<div class="chunk-module"></div>');
this code will wrap every two .td_module_10 class to a div class chunk-module.
I just wanna create a wrap on modules so i can do some custom css for mobile optimization such as displaying 2 modules per row like this:
if it doesnt have this wrap in module, it’s hard to control it’s responsiveness in relation to this issue:
https://forum.tagdiv.com/topic/how-to-change-responsive-size-of-module-in-mobile/
as a workaround, i imported a cdn jquery using this code:
it works but it kinda looks messy with the “x” error in theme panel. can you suggest other implementation to use jquery in custom js via theme panel?
Thanks!
Do you have a custom css for that? I don’t know what to write there, i’m afraid i could mess up the whole theme.
I’ve istalled the child theme for newsmag but seems that the parent theme css are not loaded.
http://blog.noisport.it/wp-secret-content/uploads/2016/04/errore_child_theme.jpg
can you help me?
Additionally I can’t install Required Plugins from the panel. I have to install them manually.
Wordpress say to me that the plugin have a not valid header
Hello Laonce,
If you want to change the color of this border, please try the code below and place it in Theme panel->Custom CSS area.
The code is ->
.td-related-title {
border-bottom: 2px solid red;
}
Thank you for the message!