WordPress.org

Forums

Point
[resolved] How to сhange in css main-navigation, size-font? (5 posts)

  1. acceleratorXIV
    Member
    Posted 1 year ago #

    Hi!

    How to сhange in css main-navigation, size-font?

    Thank!

  2. skarotine
    Member
    Posted 1 year ago #

    Hi,

    Go to the (style.css) in the appearance section

    Search for ".secondary-navigation in the style.css sheet and modify the "font-size" by what size you want !

    .secondary-navigation a {
      border-left-color:#FFFFFF;
      border-left-style:solid;
      border-left-width:1px;
      border-right-color:#E2E2E2;
      border-right-style:solid;
      border-right-width:1px;
      color:#2A2A2A;
      font-size:16px;
      font-weight:bold;
      line-height:1.4;
      min-height:46px;
      padding:18px 30px 18px 20px;
      text-align:left;
      text-decoration:none;
      text-transform:uppercase;
    }

    I hope it helps,

    Skarotine

  3. acceleratorXIV
    Member
    Posted 1 year ago #

    Hi, skarotine!

    Thank you for having responded, thanks for the answer proposed is very nice. But I found another answer instead. I found the answer: themes/twentytwelve/style.css/582 line. (my version of wordpress 3.8.1)

    .main-navigation li {
    margin-top: 24px;
    margin-top: 1.714285714rem;
    font-size: 14px; /* before 12px; after 14px; */
    font-size: 1rem; /* before 0.857142857rem after 1rem; */
    line-height: 1.42857143;
    }

    Thanks to everyone

  4. MyThemeShop
    Member
    Theme Author

    Posted 1 year ago #

    HI, you can add custom CSS code in Theme Options Panel >> Styling >> Custom CSS
    so you will not loose that code after updating theme in future.

    PS: We will do our best to provide support through the WordPress forums. However, all theme support is provided in our forum. If you have not registered yet, you can do so here: https://mythemeshop.com/go/signup/index/c/free. After searching the knowledge base and forum if you are still stuck, feel free to open a new thread, and a member of our support team will be happy to help. Cheers!
    Support link: http://community.mythemeshop.com/forum/general-support/support-for-free-themes

  5. acceleratorXIV
    Member
    Posted 1 year ago #

    Thank you,

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic