New Landing How can we help? Themeforest Theme Support Flexform How to center main menu? knowladgbase example won't work

Viewing 5 posts - 1 through 5 (of 5 total)
  • Posted in: Flexform
  • #5297
    #5302
    Green thumb
    Member
    Post count: 62
    This reply has been marked as private.
    #5404
    Green thumb
    Member
    Post count: 62

    Hi guys, I managed to center menu, but I don’t know how to edit my custom css on general options for theme so I wouldn’t have to modify style.css locally. I belive editing only custom css on general options os prefered way since at updates my styles won’t get overriden by accident.

    I’ve attached both files how it looks like with theme and how it looks like if I write code only for menu without any additional css styles.

    And second question. Anyone knows how can I edit custom css so when I click on a menu it will stay in that clicked color?

    Here is custom css code:

    .menu ul {
    margin: 5 0 40px 0 !important;
    padding: 1.7em !important;
    float: left !important;
    list-style: none !important;
    }

    .menu li {
    float:left !important;
    }

    .menu a {
    float:left !important;
    padding: .2em 0.2em !important;
    text-decoration: none !important;
    color: #D0822A !important; /* barva pisave */
    text-shadow: 0 1px 0 rgba(255,255,255,.5) !important;
    letter-spacing: 1px !important;
    border-width: 1px !important;
    border-style: solid !important;
    border-color: #D0822A #FFB73D #D0822A #FFB73D !important;
    border-width: 2px !important;
    background: #A7255F !important;
    background: -moz-linear-gradient(#471025, #A7255F) !important;
    background: -webkit-gradient(linear, left top, left bottom, from(#471025), to(#A7255F)) !important;
    background: -webkit-linear-gradient(#471025, #A7255F) !important;
    background: -o-linear-gradient(#471025, #A7255F) !important;
    background: -ms-linear-gradient(#471025, #A7255F) !important;
    background: linear-gradient(#471025, #A7255F) !important;
    }

    .menu a:hover, nav a:focus {
    outline: 0 !important;
    color: #D0822A !important;
    text-shadow: 0 1px 0 rgba(0,0,0,.2) !important;
    background: -moz-linear-gradient(#A7255F, #A7255F) !important;
    background: -webkit-gradient(linear, left top, left bottom, from(#A7255F), to(#A7255F)) !important;
    background: -webkit-linear-gradient(#A7255F, #A7255F) !important;
    background: -o-linear-gradient(#A7255F, #A7255F) !important;
    background: -ms-linear-gradient(#A7255F, #A7255F) !important;
    background: linear-gradient(#A7255F, #A7255F) !important;

    }

    .menu a:active {
    -moz-box-shadow: 0 0 2px 2px rgba(0,0,0,.3) inset !important;
    -webkit-box-shadow: 0 0 2px 2px rgba(0,0,0,.3) inset !important;
    box-shadow: 0 0 2px 2px rgba(0,0,0,.3) inset !important;
    }

    #5496
    Cosmin – SUPPORT
    Member
    Post count: 3851

    Hi guys,

    If the KB article is too advanced, I suggest hiring someone to help, as theme support unfortunately can’t cover complex customizations. We did the FAQ as many people wanted it, but we simply don’t have the time to check each implementation of this customization manually.

    For a menu item to get a color after it’s been clicked, you can use the Color Customizer and set the color for Nav Selected Text Color in the Navigation settings.

    Regards,
    ————————————————————————————————————

    Cosmin
    Support Assistant

    #5536
    Green thumb
    Member
    Post count: 62

    Thank you Cosmin,

    I managed myself 🙂

Viewing 5 posts - 1 through 5 (of 5 total)

You must be logged in and have valid license to reply to this topic.

License required for one of the following items
Login and Registration Log in · Register