- This topic has 10 replies, 2 voices, and was last updated 10 years, 2 months ago by Theme Horse Support Team.
-
AuthorPosts
-
October 2, 2014 at 11:00 pm #16999GrafixerMember
I am happy to see that three social media logos appear on each page. They are tasteful, small and provides a direct link to my company’s social media pages. My question is: why do they appear twice on each page? I have them on the top right corner, and in the center in the footer.
Just to be clear they are the small white circle logos of FaceBook, Google+ and Linkedin. Please do not confuse them with similar “Shareaholic” logos, which appear only on the bottom right corner in color.
Can you advice me how to remove the Social Media Logos from the footer altogether? I would love to keep them on the top of each page, but I do not need them twice. They also interfere with the “Shareaholic” logos,October 4, 2014 at 5:48 am #17041Theme Horse Support TeamKeymasterHi Grafixer,
We have designed our theme this way. So you need code customization for it. We recommended not to change the code because if you change the code then while updating to our new version all your customisation code will be lost. So better make child theme and first unhook the functions and the edit the code.http://codex.wordpress.org/Child_Themes
The file is inside the clean retina pro -> library -> structure -> footer-extension.php
remove it
add_action( 'cleanretina_footer', 'cleanretina_socialnetworks', 20 );
add this
//add_action( 'cleanretina_footer', 'cleanretina_socialnetworks', 20 );
Then after it your footer social link will not be displayed.Thank you!
October 6, 2014 at 3:58 pm #17135GrafixerMemberIs the child theme part of WordPress or is it a feature of the Clear Retina Pro theme? Can you suggest a place where I can read up on the concept of child theme and how to calibrate it?
Thank you so much… AndyOctober 6, 2014 at 4:52 pm #17139Theme Horse Support TeamKeymasterHi Andy,
you can read more about child theme from
http://codex.wordpress.org/Child_ThemesIts the part of word press to edit the theme and while editing it there will not be any loss of data while updating to the new version/
Thank you!
October 7, 2014 at 10:01 pm #17221GrafixerMemberI created the child theme, and have a new style.css file. I am not sure if should add the entire content of the footer-extension.php to the new style.css and change the line in the new text, or should i create a new library-structure – footer-extension.php in the child theme folder?
October 8, 2014 at 12:23 am #17225GrafixerMemberCan you please confirm where to make the suggested changes. In the original theme-library-structure-footer-extention.php?
Or should I somehow copy the entire hierarchy to the child theme folder and make the change there? I am so sorry for asking again the same thing, but this is new to me and a bit scary. I appreciate your help.October 9, 2014 at 11:54 am #17287Theme Horse Support TeamKeymasterHi Grafixer,
You don’t need to copy all the file just create a child theme folder then after create two files. Create styles.css and functions.php file. Import the css in style.css from the parent style.css and under functions.php file unhook the functions and then only customize the code.Thank you!
October 14, 2014 at 8:05 pm #17529GrafixerMemberI am still having problem with setting the change(s). The first issue is my child theme. After creating the child theme, I am loosing the heading image. I have only text appearing instead. Also some of the menu titles are changing their name and their order. Can you please help with that before we get back to the footer?
I created a child theme with a style-css document. I also created a functions.php document in the same folder where I inserted the following code:
<?phpadd_action( ‘wp_enqueue_scripts’, ‘enqueue_child_theme_styles’, PHP_INT_MAX);
function enqueue_child_theme_styles() {
wp_enqueue_style( ‘parent-style’, get_template_directory_uri().’/style.css’ );
wp_enqueue_style( ‘child-style’, get_stylesheet_uri(), array(‘parent-style’) );
}This I picked up from the WordPress child theme website, which you recommended. Apparently it is a better way to instruct the site to pick up the style instruction from the parent css. Can you please help me by describing what am I doing wrong, that my child theme already distorts the original layout.
October 15, 2014 at 8:42 am #17540Theme Horse Support TeamKeymasterHi Grafixer,
Yes exactly i think you have done it correct but some thing may be missing there. Just import use it once/* Theme Name: clean retina Child Theme URI: https://www.themehorse.com/clean-retina Description: clean retina Child Theme Author: Theme Horse Author URI: https://www.themehorse.com Template: Clean retina child Version: 1.0.0 Tags: light, dark, two-columns, right-sidebar, responsive-layout, accessibility-ready Text Domain: clean-retina-child */ @import url(“../clean-retina-pro/style.css”); /* =Theme customization starts here -------------------------------------------------------------- */
and remove this
`<?phpadd_action( ‘wp_enqueue_scripts’, ‘enqueue_child_theme_styles’, PHP_INT_MAX);
function enqueue_child_theme_styles() {
wp_enqueue_style( ‘parent-style’, get_template_directory_uri().’/style.css’ );
wp_enqueue_style( ‘child-style’, get_stylesheet_uri(), array(‘parent-style’) );
}`Hope this may help you.
Thank you!
October 15, 2014 at 2:14 pm #17557GrafixerMemberI think you might sent me the wrong codes. You are using as the parent code, your basic Clean Retina theme. I have only the Clean Retina Pro installed. Do I need the very basic theme also, even if I do not use it? In your codes you refer only the basic Clean Retina theme as opposed to the Pro version.
When I replace the import code, I still missing the header image, and all my menu items are in different order. Some of the menu item names I used a different word as label. It does appear fine in the Clean Retina Pro theme, but once I implement the child version, it uses the original designation. For instance, my landing page greeting is Hello & Welcome, but the name of the page and the link is HOME. On the Clean Retina Pro, it displays the proper wordings, however in the child theme in the menu it reverts to Hello Welcome instead of HOME only. Can you please advise what is wrong? I am afraid to proceed to any further custom coding till the child theme does not show the exact same as the original Clean Retina Pro.
October 16, 2014 at 7:33 am #17585Theme Horse Support TeamKeymasterhi Grafixer,
Ok Could you send your child theme folder at [email protected] and also your temporary username and password. Don’t forget to send the forum link too.
We will look over it.Thank you
-
AuthorPosts
- You must be logged in to reply to this topic.