- This topic has 20 replies, 2 voices, and was last updated 9 years, 10 months ago by Eduardo.
-
AuthorPosts
-
January 29, 2015 at 6:52 pm #50768EduardoParticipant
Hello,
I am Eduardo from Spain.
I want to know if is possible to have social icons in menu line.
Thank you in advance.January 29, 2015 at 6:54 pm #50769EduardoParticipantSo sorry,
I forgot to write that I have Catch box pro theme.
Thank you.January 29, 2015 at 8:53 pm #50775SakinKeymaster@Eduardo: Sorry there is not option to add Social Icon inline with Menu. You can add social icon only in Widget Area (Sidebar). That you can manage from “Appearance => Widgets”.
January 29, 2015 at 11:30 pm #50783EduardoParticipantOk. Thank you Sakin
But, Can I increase padding between social icons (header sidebar right) and header?
Nowadays social icons is touching the header image.January 29, 2015 at 11:42 pm #50786January 30, 2015 at 9:14 pm #50829EduardoParticipantSakin, I still have the blog in a private space (something like “test”). So If you want to watch it, I am able to send you an e-mail, or private post with login and password.
Thank you.Nevertheless, you can watch the problem with social icons in this link:
https://drive.google.com/file/d/0BzK84rT02Y4_VGV3UEN6aW91ZnM/view?usp=sharingJanuary 31, 2015 at 11:44 pm #50871SakinKeymaster@Eduardo: You can add the following css in “Appearance => Theme Options => Custom CSS” box. If you further want more space then you can increase margin-top from 10px to more that you want.
.sidebar-top .widget_catchbox_social_widget { margin-top: 10px; }
February 1, 2015 at 2:47 am #50878EduardoParticipantPerfect! Thank you!
February 7, 2015 at 5:51 pm #51226EduardoParticipantHello Sakin,
I have a few questions.
1. Now, I put the social media widget on the primary sidebar (I just have the post column on the left and sidebar column on the right), I put the icons in the center, but I would like to put the title of these icons also to the center.
2. I would like to narrow the frame on the left of post column, and on the right of sidebar column.
Thank you!
February 7, 2015 at 9:22 pm #51230EduardoParticipantOne more:
3. Post a comment window, I just want to see: Name and comment, because I do not want the people have to register for post a comment.
Thank you again!
February 7, 2015 at 10:22 pm #51231February 9, 2015 at 9:18 pm #51367EduardoParticipantThank you
February 10, 2015 at 12:39 am #51397SakinKeymaster1. If you want to center all widget ticket to be align centered then you need to add the following css in “Appearance => Theme Options => Custom CSS” box:
.widget-title { text-align: center; }
But if you just want to center the social icon title then add the following instead:
.widget_catchbox_social_widget .widget-title { text-align: center; }
2. You can change the percentage in the following css and then add it in “Appearance => Theme Options => Custom CSS” box:
@media screen and (min-width: 961px) { #primary { width: 64%; } #secondary { width: 34%; } }
3. People don’t have to be register to post a comment. I can post comment in your site that’s not a problem. To remove this it require high level of customize, so you might need to hire customiser for that. First you need to build child theme, copy function
catchbox_comment_form_fields()
fromcatchbox-functions.php
file, then paste that in your child themefucntions.php
file and edit it there as per your need.February 10, 2015 at 9:38 pm #51447EduardoParticipantOh oh,
I did something wrong:
PHP Parse error: syntax error, unexpected ‘}’ in /usr/home/mayorderin.com/web/wp-content/themes/catch-box-pro-child/functions.php on line 27My web does not work.
Please help me!
Thank youFebruary 10, 2015 at 10:02 pm #51449SakinKeymaster@Eduardo: Please check your child theme functions.php file. If there is any php error then yes your site will be blank. Then you need to edit that file and fix that php error or delete that child theme. Be careful with the codes. You can use FTP or cPanel to access that file and make changes.
February 11, 2015 at 11:04 pm #51501EduardoParticipantHello Sakin,
finally I restarted my blog, but I still want to change the comment form fields. I pasted that in functions.php in the child theme (you can see below).
But now, first I want to put close to the email field, the following text: “This field is optional”, in spanish “Este campo es opcional”.Second, I would like to remove “the web field”.
Third, I need to make narrow the both margins (on the right and left).
Thank you!
<?php
/**
* Catch Box Pro Child Theme functions and definitions
*
*/
if ( ! function_exists( ‘catchbox_comment_form_fields’ ) ) :
/**
* Altering Comment Form Fields
* @uses comment_form_default_fields filter
*/
function catchbox_comment_form_fields( $fields ) {
// get data value from theme options
$options = get_option( ‘catchbox_options’ );
$disableurl = $options[ ‘commenting_disable_url’ ];$req = get_option( ‘require_name_email’ );
$aria_req = ( $req ? ” aria-required=’true'” : ” );
$commenter = wp_get_current_commenter();$fields[‘author’] = ‘<p class=”comment-form-author”><label for=”author”>’ . esc_attr__( ‘Name’, ‘catchbox’ ) . ‘</label> ‘ . ( $req ? ‘<span class=”required”>*</span>’ : ” ) . ‘<input id=”author” name=”author” type=”text” value=”‘ . sprintf( esc_attr__( ‘%s’, ‘catchbox’ ), $commenter[‘comment_author’] ) . ‘” size=”30″‘ . $aria_req . ‘ /></p>’;
$fields[’email’] = ‘<p class=”comment-form-email”><label for=”email”>’ . esc_attr__( ‘Email’, ‘catchbox’ ) . ‘</label> ‘ . ( $req ? ‘<span class=”required”>*</span>’ : ” ) . ‘<input id=”email” name=”email” type=”text” value=”‘ . sprintf( esc_attr__( ‘%s’, ‘catchbox’ ), $commenter[‘comment_author_email’] ) . ‘” size=”30″‘ . $aria_req . ‘ /></p>’;if ( isset( $fields[‘url’] ) && $disableurl == ‘1’ ) {
unset( $fields[‘url’] );
}return $fields;
}
endif; //catchbox_comment_form_fieldsadd_filter( ‘comment_form_default_fields’, ‘catchbox_comment_form_fields’ );
February 12, 2015 at 11:31 pm #51575EduardoParticipantHello Sakin,
How is everything going? Is possible to do those changes?
Thank youFebruary 13, 2015 at 2:00 pm #51649SakinKeymaster@Eduardo:
1. To disable the website field, you don’t need to change anything. Just go to “Appearance => Theme Options => Comments Options”, check in “Disable Website Field” and save it.2. Then your child theme functions.php file should be like below to add the text Este campo es opcional:
<?php /** * Catch Box Pro Child Theme functions and definitions * */ /** * Altering Comment Form Fields * @uses comment_form_default_fields filter */ function catchbox_child_comment_form_fields( $fields ) { $req = get_option( 'require_name_email' ); $aria_req = ( $req ? " aria-required='true'" : '' ); $commenter = wp_get_current_commenter(); $fields['email'] = '<p class="comment-form-email"><label for="email">' . esc_attr__( 'Email', 'catchbox' ) . '</label> ' . ( $req ? '<span class="required">*</span>' : '' ) . '<input id="email" name="email" type="text" value="' . sprintf( esc_attr__( '%s', 'catchbox' ), $commenter['comment_author_email'] ) . '" size="30"' . $aria_req . ' /><span class="email-optional">Este campo es opcional</span></p>'; return $fields; } add_filter( 'comment_form_default_fields', 'catchbox_child_comment_form_fields', 30 );
February 14, 2015 at 2:09 am #51703EduardoParticipantThank you for “website Field” I did not able to watch it
About email field, it does not work, any idea?February 17, 2015 at 4:30 pm #51874EduardoParticipantHello Sakin,
How is everything going?
I am waiting for an answer about removing e-mail field or introducing the text “este campo es opcional”. Codes in functions.php does not work.And, what about to make narrow the both margins (on the right and left)?
Thank you. -
AuthorPosts
- The topic ‘Social Icons in line with menu’ is closed to new replies.