Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #162950

    Hi there,

    I am sorry to bother you, but i am having an issue with custom CSS to disable breadcumbs, disable post meta-data, and fixing the header height in Enfold-Child.
    I am running the site with WPML; and i have added the following code to the custom CSS field in the Styling panel of Enfold:

    #header_main .container, .main_menu ul:first-child > li > a {
    height: 120px !important;
    line-height: 120px !important;
    }
    html.fixed_header #main {
    padding-top: 120px;
    }
    .breadcrumb {
    display: none !important;
    }
    .post-meta-infos {
    display: none !important;
    }

    The code takes effect in the ENGLISH part of the site; but not in the SPANISH part. I have also added the same code to the Spanish Styling field; but it does not work. It is another way to make this so it works in both languages?

    Even when putting the code in the spanish part, the main manu have a strange behaviour; take a look at the english and spanish page:
    This one is OK (english) http://fpminvestment.com/?page_id=89
    This one act strange (spanish) http://fpminvestment.com/?page_id=92&lang=es

    Thanks in advance! :)

    • This topic was modified 10 months, 1 week ago by  aurove. Reason: forgot the spanish link
    • This topic was modified 10 months ago by  Josue.
    #163565

    Hey aurove!

    Seems like you got it working! In cases like this you can try adding CSS codes to Custom.css file that is inside Enfold > Css folder

    Cheers!
    Yigit

    #163951

    Hi Yigit,

    Thanks for the quick reply!
    It was a caching issue, the theme and the code worked just perfect. :)

    But i am having an issue, and it seems to be not caching related.
    I setup the blog page with a custom right sidebar; but the blog page shows another sidebar (i guess is the one by default).

    I want that the blog page (Novedades) display the custom sidebar i set for all blog posts, like this one: http://fpminvestment.com/?p=331
    But currently, the blog page (Novedades) is displaying this one: http://fpminvestment.com/?page_id=92

    I already set in the blog page (Novedades) a right sidebar, and i selected the custom sidebar i´ve made… any ideas of what is causing the issue?

    Brief explanation:
    I want this sidebar (called Sidebar Blog ES): http://fpminvestment.com/?p=331 in the Blog Page (Novedades) http://fpminvestment.com/?page_id=92

    Best regards,

    #164164

    Hello!

    Try adding it to css/custom.css file instead.

    Best regards,
    Josue

    #164168

    Hi Josue,

    Thanks!
    I´ve used the WidgetLogic plugin and now all sidebars works as i wanted.

    Once again, thanks for the help, you can mark this topic as solved. :)

    All the best.

    #164170

    Glad we could help. Let us know if you have any other questions or issues :)

    Regards,
    Josue

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

The topic ‘Disable breadcumbs, post meta-data and fix CSS’ is closed to new replies.