facebook link

Discussion in 'GeoCraft WordPress Theme' started by zweitbuch, Mar 19, 2014.

  1. zweitbuch

    zweitbuch Member

    Joined:
    Mar 18, 2014
    Messages:
    172
    Likes Received:
    1
    how can i increase the size and change the position of the Facebook symbol for the facebook link?
     
  2. Piyush

    Piyush Support Staff

    Joined:
    Dec 8, 2012
    Messages:
    4,745
    Likes Received:
    107
    Hello,

    Paste the code given below in Custom CSS section
    (GeoCraft Settings -> Theme Options -> Styling Options -> Custom CSS) of your dashboard.

    Code:
     
    .footer_bottom .social_icon li.facebook img {
    width: 25px;
    }
    
    You can adjust the value of "width" as per your requirement.
     
  3. zweitbuch

    zweitbuch Member

    Joined:
    Mar 18, 2014
    Messages:
    172
    Likes Received:
    1
    thank you a lot! and how can i put it on the top top of my page, right next to the logout button?
     
  4. Piyush

    Piyush Support Staff

    Joined:
    Dec 8, 2012
    Messages:
    4,745
    Likes Received:
    107
    Hello,

    You need to customize module_functions.php file (geocrafttheme\library\controls\module_functions.php) present in your theme directory for this issue.
     
  5. zweitbuch

    zweitbuch Member

    Joined:
    Mar 18, 2014
    Messages:
    172
    Likes Received:
    1
    could u tell me what exactly i have to customize?
     
  6. zweitbuch

    zweitbuch Member

    Joined:
    Mar 18, 2014
    Messages:
    172
    Likes Received:
    1
    plz advice
     
  7. Gourav

    Gourav Support Staff

    Joined:
    Oct 19, 2012
    Messages:
    7,728
    Likes Received:
    207
    Hello,

    1. For changing Facebook icon position

    Just go to single-listing.php and follow the instruction as shown in image given below
    2014-03-25_1143.png



    2. For your second issue

    Go to images directory present in your theme directory and replace your image with present Facebook icon image or edit it.

    The name of image is "facebook.png"

    Note:- Use same name for your edited image and remove the current image.



    Thanks & Regards
    Gourav Shrivastava
     
  8. zweitbuch

    zweitbuch Member

    Joined:
    Mar 18, 2014
    Messages:
    172
    Likes Received:
    1
    i am sorry but still, i had another question, maybe i did not express myself clearly...

    What i want is getting the facebook button from the FOOTER to the HEADER (right next to the welcome USER, Dashboard, ...) line

    i think i have to move this code:

    Code:
                        <?php if (geocraft_get_option('facebook') != '') { ?>
                                <li class="facebook"><a target="new" href="<?php echo geocraft_get_option('facebook'); ?>">
                                        <img src="<?php echo TEMPLATEURL . '/images/facebook.png'; ?>" alt="facebook" title="Facebook"/>
                                    </a></li>
                            <?php } ?>
    

    but i am not very sure where exactly
     
  9. Nitesh

    Nitesh Support Staff

    Joined:
    Oct 19, 2012
    Messages:
    5,165
    Likes Received:
    160
    Hello,

    Open module_functions.php file
    (geocrafttheme\library\controls\module_functions.php) and add code as shown in the image given below.

    header menu.png

    Thanks & Regards
    Nitesh Raghuwanshi
     

Share This Page