- This topic has 14 replies, 3 voices, and was last updated 4 years, 9 months ago by Leo.
-
AuthorPosts
-
July 1, 2019 at 4:14 am #945877Shivam
Hey team,
I tried to add a Page hero as per your documentation tutorial…
But i am facing few problems..1. Although i have set background to transparent check screenshot still Heading is coming with black background Click here to check screenshot Please tell me the solution.
2. Next, i want to change the size and position of the gravatar, Author Name, Published date exactly like this website (Click here to check screenshot )
July 1, 2019 at 4:31 am #945887ShivamHey team,
I have solved the Background issue, that was happening because of some CSS Code. It is fixed now.
Now please tell me the solution for how can I make my Gravatar image, Author name, and published date exactly like thing along with the text…. (Click here to check screenshot )
July 1, 2019 at 8:37 am #946204DavidStaffCustomer SupportHi there,
one way to add the byline and date info is with this CSS:
.page-hero .author-name:before, .page-hero time.updated:before { content:'written by'; display: block; text-align: left; color: #b2b2b2; font-style: italic; font-size: 1em; } .page-hero time.updated:before { content:'posted on'; }
The pipe
|
is part of the HTML in the Header Element just remove these / replace with spaces.For the social icons you would need a plugin that provides a shortcode which can also be added to the header element.
July 1, 2019 at 8:11 pm #946623ShivamI want o move the gravatar little forward and is there any way to place the social icon there because I am not able to get the shortcode for the social icon…
For better understanding here is the screenshot ( click here to check screenshot )July 2, 2019 at 8:04 am #947085LeoStaffCustomer SupportAny chance you can clear and disable WP Rocket first?
Let me know 🙂
July 2, 2019 at 8:54 am #947142Shivamwhy?
July 2, 2019 at 9:32 am #947173LeoStaffCustomer Supportso I can inspect the code.
We do ask for this specifically:
https://www.screencast.com/t/sAZU8h7bUcEJuly 2, 2019 at 7:09 pm #947544Shivamdeactivated the plugin
July 2, 2019 at 8:38 pm #947571LeoStaffCustomer SupportYou can reduce the
10px
in the existing CSS to bring author picture more to the right..page-hero-gravatar img { width: 50px; height: 50px; border-radius: 50%; position: relative; vertical-align: middle; margin: 0 10px 0 0; }
Are you using FontAwesome already? If so you can add the social icons directly in the page hero content.
July 3, 2019 at 3:30 am #947743Shivamyes it worked one more thing is there any way to add social icon after post updated date…
July 3, 2019 at 8:42 am #948085LeoStaffCustomer SupportI actually commented this above:
Are you using FontAwesome already? If so you can add the social icons directly in the page hero content.
July 3, 2019 at 9:12 am #948118ShivamCan you tell me in detail how to add social share button with font awesome icon?
July 3, 2019 at 9:13 am #948119LeoStaffCustomer SupportYou would need to install FA first:
https://docs.generatepress.com/article/font-awesome/Then there are lots of info on Google on how to use FA.
July 3, 2019 at 9:27 am #948137Shivamalready installed..
July 3, 2019 at 10:42 am #948208LeoStaffCustomer SupportAnd what’s the issue? Maybe something like this would help?
https://stackoverflow.com/questions/26814297/want-to-make-font-awesome-icons-clickable -
AuthorPosts
- You must be logged in to reply to this topic.