- This topic has 14 replies, 3 voices, and was last updated 5 years, 11 months ago by David.
-
AuthorPosts
-
May 21, 2018 at 7:43 pm #581299bradborland
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!
May 21, 2018 at 9:43 pm #581361TomLead DeveloperLead DeveloperHi there,
1. We don’t have any border options as of right now, but we do have some planned. All of this can be done using CSS though, which we’re happy to help with if needed π
2. The featured images have location and alignment settings which may help: https://docs.generatepress.com/article/adjusting-the-featured-images/
Let me know π
May 22, 2018 at 5:15 am #581569bradborlandThanks 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!
May 22, 2018 at 6:02 am #581591DavidStaffCustomer SupportHi 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.
May 22, 2018 at 6:06 am #581592bradborlandSo after I set the featured images smaller (width and height) I set the location above or below title?
May 22, 2018 at 8:05 am #581773DavidStaffCustomer SupportIf 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.
May 22, 2018 at 8:10 am #581779bradborlandThanks!
So what about lines? Below menu and separate posts and widgets?
May 22, 2018 at 8:16 am #581789DavidStaffCustomer SupportFor 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?
May 22, 2018 at 8:26 am #581807bradborlandJust a line separating the top menu from the rest of the content below.
May 22, 2018 at 8:32 am #581814DavidStaffCustomer SupportYou can add a border to the site header like so:
.site-header { border-bottom: 5px solid #000; }
May 22, 2018 at 8:34 am #581817bradborlandfor some reason the widget line works but not the post lines…
May 22, 2018 at 8:39 am #581821bradborlandAwesome help by the way!
May 22, 2018 at 8:40 am #581823DavidStaffCustomer SupportI edited the code above to include the archive page. Give that a go. Fingers crossed. You’re welcome!
May 22, 2018 at 8:42 am #581825bradborlandYes!!! It worked. Thank you so much!
May 22, 2018 at 8:44 am #581826DavidStaffCustomer SupportGlad i could help!
-
AuthorPosts
- You must be logged in to reply to this topic.