Logo & Links

Discussion in 'Nutrition WordPress Theme' started by macho, Jul 24, 2014.

  1. macho

    macho New Member

    Joined:
    Mar 28, 2012
    Messages:
    14
    Likes Received:
    1
    Location:
    South Africa
    Hi there,

    Is there custom CSS that I could put in to center the main logo of the site? Before editing the main logo would be Nutrition.

    And is there code I could enter to change the colour of hyperlinks in the site?

    Thanks in advance for your help.
     
  2. Gourav

    Gourav Support Staff

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

    Paste this code in Custom CSS
    Appearance > Theme Option > Styling Option > Custom CSS
    Code:
    .header .logo {
    float: right;
    margin-right: 30px;
    }
    a{
    color:blue;
    } 

    Adjust margin as per your requirements.


    Thanks & Regards
    Gourav Shrivastava
     
  3. macho

    macho New Member

    Joined:
    Mar 28, 2012
    Messages:
    14
    Likes Received:
    1
    Location:
    South Africa
    Thanks so much!

    If I adjust the logo to the center would it automatically adjust accordingly if the site is viewed on a different sized screen?
     
  4. Nitesh

    Nitesh Support Staff

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

    For other devices Paste this code in Custom CSS
    Appearance > Theme Option > Styling Option > Custom CSS

    Code:
    @media only screen and (max-width: 767px) and (min-width: 480px)
    .header .logo {
    {
    float: none;
    }}
    @media only screen and (max-width: 480px){
    .header .logo {
    float: none;
    }}
    Thanks & Regards
    Nitesh Raghuwanshi
     

Share This Page