Site logo

Archived topic

Create lines and horizontal titles

14 replies · Started by bradborland on May 21, 2018

Viewing posts 1–15 of 15

Hello,

I just had a couple of quick questions:

1. Am I able to create lines? For example, a thin line under my menu buttons or a thin line between posts on the front page or between sidebar widgets?

2. Is there a way to have the titles of posts on the front page appear beside the picture, as in horizontally instead of over or under the pics?

Thanks so much!

Thanks so much!

1. Yes! I would love some CSS advice on lines. :)

2. Okay, I looked into this. First there isn't an option for the title and article blurb to be next to the picture just an above and below option. Second, do I need to apply the featured image feature. If so, what's the difference between just displaying the posts image and using the featured image? In other words, what exactly is a featured image?

Thanks!

Hi Brad, lets deal with number two first then we can look at the CSS for borders.

In the blog settings you can set the featured image to a smaller size and set the alignment to left.

So after I set the featured images smaller (width and height) I set the location above or below title?

If you set the Image above title then the title and the excerpt will be displayed to the side of the image. Note on image sizes you can just set the width and leave the height as auto.

Thanks!

So what about lines? Below menu and separate posts and widgets?

For the blog posts and the side-bar widgets you can add this CSS:

.blog .post .entry-content,
.archive .post .entry-content {
	padding-bottom: 2em;
	border-bottom: 1px solid #000;
}
.sidebar .widget {
	border-bottom: 1px solid #000;
}

For the menu do you want these lines to static, so visible always or when the a link is hovered or active?

Just a line separating the top menu from the rest of the content below.

You can add a border to the site header like so:

.site-header {
	border-bottom: 5px solid #000;
}

for some reason the widget line works but not the post lines...

Awesome help by the way!

I edited the code above to include the archive page. Give that a go. Fingers crossed. You're welcome!

Yes!!! It worked. Thank you so much!

Glad i could help!

This archived topic is closed to new replies.