Site logo

Archived topic

Images without paddings but text with paddings

16 replies · Started by Birgit on June 22, 2018

Viewing posts 1–15 of 17

Good morning from Germany,

I would like to have the images above the text reaching from left sidebar to right sidebar und even without padding to the header-image. It should look like this
Without paddings (old website)
but it looks like that:
With paddings (new website)

The website ist under construction, so I can't give you a link, I'm sorry.

Can someone help me, please?

Best wishes from
Birgit

Sorry, it's too early in the morning...

It should look like this: Without paddings (old website)

but it looks like that: With paddings (new website)

Hi there,

Is that the featured image? If so try there is actually an option in the customizer to remove the padding:
https://docs.generatepress.com/article/adjusting-the-featured-images/

If not then we would need to see the live site unfortunately.

You can edit the original topic and use the private URL field so only our staff can see :)

Hi Leo,

thanks for your help! It seems you should have a look at the site, but I am going on vacation tomorrow for 14 days. When I will be back, I'll contact you again, okay?

Thanks again and greetings
Birgit

Sounds good.

Just add the link to the site and comment here again :)

Hi Leo,

now I'm back again. I'm sorry but I can't give you the link to the site because it is under construction and the URL is still the wrong one. Could I make you an admin so that you can log in to the website? Is there any mail-address to send you the access data?

Hm, I see no possibility to make images featured.

I will send you the login details in the next five minutes. Thanks for helping me!

Hi there, in the Page editor this is where you can add featured images:

Featured Image

Thank you, David, I found it now but it doesn't help with my problem. The featured image would be above the sidebars and the content and not in the content.

With the featured images add we can then do the following:

1. Customiser > Layout > Blog - Featured Images for Single and Page - Set the Location above title.
2. Customiser > Layout > Container - Set to Single Container and zero out the padding.
3. Add the code snippet Tom provides here:

https://generatepress.com/forums/topic/featured-image-sidebar-issue/#post-494909

How to add (Simplest method is the Code Snippets Plugin mentioned:
https://docs.generatepress.com/article/adding-php/

4. Use this CSS to add padding back to the content:

.inside-article, .comments-area {
	padding: 20px !important;
}

Thanks again, David, I will try it tomorrow and then I will tell about my successes. ;-)

Hi David and all,

seems I'm too old for things like that. ;-) I tried it out and the result is two images. I think I did something wrong. Please have a look at the screenshot. The upper image has to disappear...

Screenshot

We're almost there! Go back to Point 1. In the Blog featured images, there are three buttons for Archives / Posts / Pages. Select each of them and set the Location above title. That should remove the other image. Let me know.

This archived topic is closed to new replies.