- TutorialsDefault Block Settings Guide
- NewspaperWP Rocket and Newspaper Theme: Optimization Guide
- TutorialsFrom WPBakery to tagDiv Composer
- TutorialsOffset Feature
- TutorialsWhat is Ajax preloading?
Sorry, not sure if i got it..
I’ve made a new page using admin panel (just added a new page from it). It’s not the main page, just one of some others, in particular it’s a sitemap page.
I don’t find there any class like for sidebar on post page
sidebar code here is
<div class=”span4 column_container” itemtype=”http://schema.org/WPSideBar” itemscope=”itemscope” role=”complementary”>
<aside class=”widget widget_categories”>
<div class=”block-title”>
<span>Рубрики</span>
</div>
-
</aside>
Hi Lucian,
update: problem solved, but is it the right way?
I’ve added this line:
$buffy .= ‘</br>’;
like this:
http://gyazo.com/cc790219a1fca31fbfbb4a0d11b4c0a6
And the problem is solved! But is this the right way to do it?
Thanks
JB
Hi Lucian,
Yes, i’m sure that it happened after i’ve removed those lines
http://screencast.com/t/2IO8XfHK41f
by adding ‘//’ before them.
I’ve removed them and everything went back to normal (expect that the dateCreated is back)
It’s nog that something creates space, but it’s like there is one line missing and the complete post is moving up right behind the post tag blocks. When we can add a blank line instead of those tho lines:
//$buffy .= ‘<time itemprop=”dateCreated” class=”entry-date updated’ . $visibility_class . ‘” datetime=”‘ . date(DATE_W3C, $td_article_date_unix) . ‘” >’ . get_the_time(get_option(‘date_format’), $this->post->ID) . ‘</time>’;
//$buffy .= ‘<meta itemprop=”interactionCount” content=”UserComments:’ . get_comments_number($this->post->ID) . ‘”/>’;
The problem is solved i guess. I’ve tested and the ‘missing line’ issue isn’t there when i add a ‘featured picture’ to the post.
Thanks…
JB
Hi,
Unfortunately the theme doesn’t have a feature like that. You can try to find a plugin that dose that or similar or try to modify a block to achieve that but it won’t be an easy task.
Thanks
Hi,
You can use the same method I have suggested above. Here are the steps:
1. Use the page builder to create and customize block 5(which is made using module 4) to show the latest articles from all categories: http://screencast.com/t/UmiKiMHW
2. after you added and edited the block switch to classic mode: http://screencast.com/t/oNsv2jvf5po and get the shortcode for the block: http://screencast.com/t/J88Sz3HwG
3. You can add the block using the do_shortcode() function to echo the block into the posts template you want to display it, like I pointed above: http://screencast.com/t/TxqQdtaD7
Will show up like this on post page: http://screencast.com/t/BDU8KNvdk
Thanks
Glad you figured it out!
Thanks for the message!
Hi,
I was wondering if it’s possible to add author below title (besides date) in the ‘block 3’ visual composer style? But only on certain blocks, not by default.
Thanks in advance,
Tim
The edits are good but they only apply to one of many possible templates your posts can have. Do the exact same code edit (uncommenting the byline) in each of the following files:
loop-single.php, loop-single-1.php, single_template_2.php, single_template_3.php, single_template_4.php, single_template_5.php
And if you want, a similar edit for each of these files in includes/modules (the modules display posts in blocks and archive pages mainly):
td_module_1.php, td_module_2.php, td_module_3.php, td_module_4.php, td_module_5.php, td_module_6.php, td_module_8.php, td_module_9.php, td_module_aj_search.php, and td_module_search.php (if it isn’t already uncommented in that last one).
Happy editing!
So you pretty much want all the whitespace gone at once? That’s a lot of CSS; here’s my shot at it.
First, still keep this:
.td_mod_wrap .meta-info {
display: none !important;
}
Now:
.td_block_wrap {
margin-bottom: 0px;
padding-bottom: 0px;
}
.td_mod_wrap {
margin-bottom: 0px;
}
.td_mod1, .td_mod2, .td_mod3, .td_mod4, .td_mod5, .td_mod6, .td_mod7, .td_mod8, .td_mod9 {
margin-bottom: 0px!important;
}
.block-title {
margin-bottom: 0px;
padding-bottom: 0px;
}
.td_mod_wrap .thumb-wrap {
margin-bottom: 0px;
}
.wpb_row {
margin-bottom: 0px;
}
.td_mod3 {
min-height: 65px;
}
This removes all the whitespace that I could see on your homepage. As others have said, I actually think this is way too dense a style. Having some whitespace is good!… Play with the above numbers until you’re happy with it.
This last bit is the whitespace between vertical elements. It’s experiemntal and I haven’t tested it thoroughly. It’s tricky to get rid of this because it does not play well with the grid layout that the whole theme is designed around (and doesn’t change the overall site width, e.g. your main menu). I would personally avoid using it.
.span1, .span3, .span4, .span6, .span8, .span9, .span11, .span12 {
margin-left: 0px !important;
}
Again, change that number and if necessary separate the individual span classes so you can adjust their margins individually.
Note that it looks like you have a row after your video in the page editor, which is the source of the whitespace between that and the footer. You also have a text widget in the sidebar, which is the source of the whitespace above the socials widget.
There may also be whitespace elsewhere on your site that’s not on the homepage. Most of it would be caught by the above, I think…
Hi Lucian,
first of all I have to thank TheMediumUTM!, he was doing his best to help me.
Secondly, I think these white spaces are big problem that the theme has it. Its not only me that have this problem.
Here is the screanshot address that showing these white spaces: http://www.screencast.com/t/psO73z7g
Thought I pasted these codes I still see these white spaces.
What I would like to see is that just these white spaces desapera from the site.
Request
I want to change the themes blocks or modules layout. Here is a website that has a pretty layouts. I want to change some of the modules look likt this websits layout.
Here is the website. http://www.aftonbladet.se
Do you think in the future the themes demo pages would have a similar or closer layou of this above mentioned site?
Regards
Ecofame
I want to change the background colour for blocks and rows.
Is it possible? I see tha i can input a css code as a parameter but i don’t know how.
Also i want reduce the distance between blocks (ex in a column with 6 blocks 3up and 3 down). Is it possible?
BR,
S.
nvm i fix it with a CSS code i found…
.block-title {
border: 0px !important;
}
Hi!
I saw the similar topic, but didn’t find the answer. On the main page i’ve got a row with some blocks which i’ve made with VC. Now it looks like this http://webfile.ru/2b107eb06309d5b8e65f003c48bc8496. How can i desrease this white space? I managed to do it using VC editor for the row, but after that the containers in Firebug stand/overlap one on another. Maybe it’s ok or there is another way for it?
Okay Thanks! 🙂
Hi,
Thanks @TheMediumUTM!
@Ecofame Please specify what space do you need to remove, I have also checked your site and seems to look fine.
Thanks
Hi,
Thanks TheMediumUTM! We will look into this, thank for letting us know.
Is there any way to make the block grid view?
Example: http://prntscr.com/4l5mxm
Hi,
That can only be achieved by modifying the module you use and apply a condition into the module file you want to change which will change the module structure if the post dose not have a featured image set. This is not an easy task though and you need custom work for this, we recommend to hire a developer to do this for you if you don’t have basic php/html/css knowledge as we cannot offer custom work as we work hard on the development, updates, fixes and support.
Thanks for the message
-
This reply was modified 11 years by
Lucian.
Okay this is possible through CSS, example:
.td_mod9.td_mod_no_thumb .item-details {
margin-left: 0px;
}
this will remove the margin of the containing div so that the post expands full width if you don’t set an image.
Hi,
Can I setup a block that goes full width if no image is defined?
This is important as some articles may have only text and no featured image whatsoever.
How to achieve this?
Hi,
Work fine for each template, I have tested this, make sure you uncomment it from each post template if you are using other than the default one:
You have to uncomment it from the single_template for post templates 2, 3, 4, 5: http://screencast.com/t/VsSNqON2U5
Regarding the twitter button, you will need custom work for it and, unfortunately we cannot offer custom work as we work hard on the development, updates, fixes and support. You can always get a freelancer from sites like: http://studio.envato.com/ if you don’t know how to do it yourself.
Thnaks
This in the docs, as Lucian said:
Go to your homepage while logged in.
Click “Edit page” in the admin bar at the top.
If you see a blue button labelled “Backend editor”, click it.
You are now in the Visual Composer editor.
You’ll see the rows and columns that your homepage is made up of. Inside the columns are blocks.
Edit individual blocks to change their settings, including their titles.
This is also where you change which posts these blocks show!
Hi Ecofame,
Quick clarifications:
1. It shouldn’t make a difference between the child and parent themes.
2. A CDN is a content delivery network, used to serve your site to people faster. Don’t worry — if you don’t know what it is, you’re probably not using one 😉
3. The caching plugin is actually what would have prevented you from seeing the changes, and then you would have had to clear its cache. You can deactivate it for now (although they’re often helpful, it’s not the problem or the solution at the moment).
Now, on to business.
Can you explain which whitespace you want to remove on your site? There are a lot of options. The CSS that Lucian and I gave you got rid of white space under each row of articles, because that’s what the first people in this thread were asking for, and I can see the difference on your site now.
But I assume there’s more that you want to remove. Maybe you can point out the whitespaces you want to remove on this screenshot of your site?
To be honest I found that the update didn’t fix it and I had to change the z-index of both elements. It might be affecting you too. I did this:
.sf-menu {
z-index: 2 !important;
}
.td_revolution_slider {
z-index: 1 !important;
}
Here are a few elements you can play around with the whitespace on:
.home .td_mod_wrap {
margin-bottom: 0px;
}
.home .td_block_wrap {
padding-bottom: 0px;
}
.home .wpb_row .row-fluid {
margin-bottom: 10px !important;
}
Enter in Theme Panel -> Your Custom CSS and fiddle with the numbers till you’re happy.