Site logo

Archived topic

Space in widget-titles and at the blog-site

12 replies · Started by Nick on September 15, 2014

Viewing posts 1–13 of 13

Hello Tom, hey Guys,

i got two problems with spaces which make me confusing:
1) Between widget-lines and the divider-lines (borders?!) there is a lot of space. With the code

.widget-title {
  margin-bottom: 10px;
}

in custom css i could reduce the space between the divider line and the widget contents. How could i reduce the space between widget-titles and the lines?

2) At my blogsite (masonry) there is a lot of space between the title-/date-area and the text of the blog. How could i reduce this space?

For your help thanks in advance. :-)

Best Wishes, Nick

I could resolve my first request with the following css:

.widget-title {
margin-bottom: 10px;
padding-bottom: 10px;
}

:)

For #2 -

.masonry-brick .entry-content, 
.masonry-brick .entry-summary {
      margin-top: 20px;
}

Perfect, thanks tom! :-)

How could i reduce the space in the bottom area of an blog? I tried the following, without success:

.masonry-brick .entry-content, 
.masonry-brick .entry-summary {
	margin-top: 5px;
	margin-bottom: 5px;
}

You're welcome!

Hey Tom,

i would imagine, that you read over the question in my last post, regarding to the space in the bottom area?

Thanks in advance. ;-)

What do you mean by bottom area of a blog? Single post? Blog excerpt?

That area should reduce when you change the Content Spacing using the Spacing addon.

Is the site live? If I could see it I could provide code that will fix it pretty easily.

Let me know :)

I think the issue you're having is because of the bottom margin of paragraph tags.

While we need paragraph spacing, we don't always need the last paragraph to have spacing.

p:last-child {
      margin-bottom: 0;
}

Adding that CSS should remove spacing from the last paragraph throughout your entire site.

Let me know if that helps or not :)

Hey Tom,

perfect you're great, that was exactly the code i where searching for. :-)

Do you have any summary - or plan - for all the CSS, which is not modifiable with spacing addon?

Greetings from Germany
Nick

Yes, I'll be adding more options to the Spacing addon, including paragraph spacing and more :)

Nice news, thanks in advance! :-)

This archived topic is closed to new replies.