Tagged: Adventurous Pro, button, center headline button, code, css, facebook button, Promotion Headline, promotion headline button
- This topic has 23 replies, 3 voices, and was last updated 4 years, 3 months ago by
Skandha.
-
AuthorPosts
-
June 18, 2019 at 10:07 am #175207
powerguy
ParticipantI would like to replace the green headline button in the promotion headline to a facebook button.
I would also like it centered.
Easy peasey ?
June 18, 2019 at 11:47 pm #175239Skandha
Participant@powerguy: Go to => Appearance => Customize => Additional CSS and add the following CSS Code.
.right-section a { display: block; background: url('https://catchthemes.com/demo/catchbox/wp-content/themes/catch-box/images/social-profiles.png') no-repeat right top; background-position-x: right; background-position-y: top; width: 34px; height: 34px; -webkit-border-radius: 3px; -moz-border-radius: 3px; border-radius: 3px; text-indent: -99999px; background-position: 0 -44px; background-color:#fff !important; padding:0 !important; } @media screen and (min-width:981px) { #homepage-message .right-section { float:left; margin-left:50px; } }
Let me know if this works out!
Kind Regards,
SkandhaJuly 1, 2019 at 2:59 pm #176089powerguy
ParticipantThe facebook button worked fine.
Is there a way I can also keep the original button ?
Thanx
July 2, 2019 at 12:42 am #176137Skandha
Participant@powerguy: That is the original button, only the background image and the position was changed.
I hope I was able to resolve your issue. If it’s not too much trouble, I have a quick request: could you please leave an honest review?
https://wordpress.org/support/theme/adventurous/reviews/#new-post
Your review will help others know what to expect when they’re looking for the support I offer. Even a sentence or two would be hugely appreciated. Thanks, and if there’s anything else at all that I can do to help, don’t hesitate to let me know. Have a good day! 🙂Kind Regards,
SkandhaJuly 2, 2019 at 8:47 am #176171powerguy
ParticipantThank you.
I understand that.
Is there any way I can have 2 buttons in the promotion headline ?
July 3, 2019 at 12:47 am #176213Skandha
Participant@powerguy: Yes you can have two button in promotion headline section but for that you will need to create a child theme and do a bit of customization. Let me know if you are familiar with child theme customization otherwise I suggest you to hire a customizer.
Kind Regards,
SkandhaJuly 7, 2019 at 10:06 am #176552powerguy
ParticipantI have done some child theme customization
I have created and launched a child theme on my site.
When I re-add the above custom css for the facebook button I get an error message that 2 lines will break my site.
They are:
background-position-x: right;
background-position-y: top;Please advise.
Thank you.
July 8, 2019 at 9:03 am #176614powerguy
ParticipantSo. I guess I’m ready to try the 2 button modification.
July 9, 2019 at 1:38 am #176655Skandha
ParticipantJuly 9, 2019 at 8:15 am #176694powerguy
ParticipantJust to clarify:
I am to create a folder named “inc” within the child theme folder ?
Then within the “inc” folder I am to create a file named “adventurous-promotion-headlines.php”
And paste the code into that file ?
Thanks.
July 9, 2019 at 8:21 am #176695powerguy
ParticipantThere are 2 sections on the code page link you sent me.
First there are 117 lines of code.
Then a 2nd section titled: “RAW Paste Data”
Do I paste both sections into the file ?
Please advise.
Thanks again.
July 9, 2019 at 11:50 pm #176767Skandha
Participant@powerguy: Yes you are to create a folder named “inc” within the child theme folder and then within the “inc” folder I am to create a file named “adventurous-promotion-headlines.php”.
You will need to paste only the 117 lines of Code and not the Raw Paste Data.
Let me know if the button shows up on your site.
Kind Regards,
SkandhaJuly 12, 2019 at 8:21 am #177009powerguy
ParticipantCreated the new folder, file and code in child theme but it didn’t change anything.
It actually brought the green button back with facebook text.
I had to use the previous css code to get my facebook button back.
HHmmmmm……
July 13, 2019 at 10:43 pm #177082Skandha
Participant@powerguy: Hello there,
I could check it if you provide me your WP Admin Credentials. I will contact you shortly by email.Kind Regards,
SkandhaJuly 29, 2019 at 7:40 am #178260Thomas Jahn
ParticipantHello, how can i add the Instagram Logo to my primary Menu like the same as the footer Widged symbol?
Do you have any css possibility or soloution in the Primary menu?
best regards
July 30, 2019 at 3:22 am #178339Skandha
Participant@bamper1: Hello Thomas,
Please post your site URL so that I can look into the issue.Kind Regards,
SkandhaJuly 30, 2019 at 4:16 am #178346Thomas Jahn
Participanthttp://www.thomasjahnphoto.com
So i will placed the symbol of intagram in my primary menu. I hope you have a solution for that.
July 30, 2019 at 5:14 am #178356Skandha
Participant@bamper1: Hello Thomas,
You can use the Social Header Menu Menu Location to add your social icons like intagram.Go to => Appearance => Customizer => Menus => View All Location => Social Header Menu => Edit Menu and add the menu items.
Let me know if this helps you out!
Kind Regards,
SkandhaJuly 30, 2019 at 6:39 am #178361Thomas Jahn
ParticipantSorry it is not this thing what i will do. I will in my primery menu which is ready, add only the instagram symbol so that i have only one menu row whit my actuly prime menu + instagram symbol like the widget.
Thanks for your help.
Thomas
August 6, 2019 at 7:11 am #178864 -
AuthorPosts
- The topic ‘Facebook Button on Promotion Headline’ is closed to new replies.