Archived topic
various customizations
12 replies · Started by John on May 6, 2022
Folks !
Ok, the importation of customizations worked
from understand-culture.com to johnottomagee.com
Great thanks to Ying for that solution.
There are, however, a handful of customizations needed:
Copyright Footer: How can I delete that?
I cite GP in Contact with a link to GP.
See "John" in the menu.
The image of me is cropped.
It should look like on Imprint on understand-culture:
https://understand-culture.com/imprint/
Menu: I want to be able to add Top-Spacer.
Apparently, I need CSS Classes for that.
Is that a plug-in or a customization?
Logo: John Otto Magee
I'd like it to have the exact same look as the logo on understand-culture:
https://understand-culture.com
With "John" and "Magee" in the gray, and "Otto" in the red-orange.
Thanks !
Hi there,
1. Copyright.
First go to Appearance > GeneratePress and make sure the Copyright Module is enabled
Then in Customiser > Layout > Footer you will find a field to add your own copyright
https://docs.generatepress.com/article/changing-the-copyright-message/
2. In Customizer > Layout > Blog --> Featured Images. - select the Posts tab. There you will see there has been a height value of 275px set which is cropping the image.
The 275px works great for the original image on the UC site but the JOM site is using a different image.
If you remove the 275px from the height you will see the full image.
Try those first and we can then look at the other two points
Hi David,
1. Copyright/Footer
I used the snippet you folks suggested.
Removing the copyright-footer altogether.
I cite GP on my contact page.
2. Featured Image
On both the UC and JOM sites their
is px-number under height. I inputted
275, but no change.
I am not sure what I am supposed to do.
Thanks.
On both the UC and JOM sites their
is NO px-number under height. I inputted
275, but no change.
Oh - that was a Page ....
Go back to the Featured Images in the Customizer and check the Pages tab - does that have a Height value ?
How dopey of me ... of course ... page not post.
Yes, just went in. Height is 275 px.
Thats one me - i said Post lol
Remove the 275px so the field is empty and you should see 100% of the image.
If however you want to keep the same look as UC, then you will need to upload a different sized image...
"That's one me – i said Post lol"
It should have occurred to me, David.
I like the UC-look.
We worked hard on it.
I'll simply resize the image.
Thanks !
Ok, we're close to the finish line:
Logo: John Otto Magee
I’d like it to have the exact same look as the logo on understand-culture:
https://understand-culture.com
With “John” and “Magee” in the gray, and “Otto” in the red-orange.
Ok so this topic ( for reference is how we did the UC site title ):
https://generatepress.com/forums/topic/two-color-site-header/#post-1847911
The updated PHP Snippet will be this:
add_filter( 'generate_site_title_output', function( $output ) {
$titleHTML = 'John <span class="site-title-accent">Otto</span> Magee';
return sprintf(
'<%1$s class="main-title" itemprop="headline">
<a href="%2$s">%3$s</a>
</%1$s>',
( is_front_page() && is_home() ) ? 'h1' : 'p',
esc_url( apply_filters( 'generate_site_title_href', home_url( '/' ) ) ),
$titleHTML
);
});
and you will need to the CSS from that topic for the color:
.main-title .site-title-accent {
color: #ff0000;
}
Ah, that's why I could not make it work.
It's a php-snippet + CSS.
And I see in CSS where I can adjust the color.
Thank you, David !
John
You can close this topic out.
Your timing is perfect by the way.
David in Derby also solved a problem for me.
Two Davids in England.
Both super fast and super helpful.
Must be something in the water over
their on your island !
John
Haha - awesome - say hello to my namesake :)
Glad to be of help
I'll do that !
John