Support » Theme: Goran » How to completely remove transition + delay effect on navbar?

  • Hi there,

    Would anyone be able to help me with the CSS to completely remove transition effect on the navbar loading?

    I tried to play around with the CSS but can’t seem to get it working. I expected the navbar (logo + menu) to load without any delay. In the default Goran setting, the page will wait for everything to load completely including the featured image, and only then the navbar will follow.

    Thank you.

Viewing 1 replies (of 1 total)
  • sacredpath

    (@sacredpath)

    Automattic Happiness Engineer

    Hi there, that delay is done with Javascript in /js/goran.js. It is this line here:
    header.fadeIn( 250 );
    Given that Goran is already a Child Theme, you cannot make a Child theme of a Child, so this gets a bit messy. You can edit the goran.js file, but whenever there is a theme update, that change to the fadeIn will very likely be overwritten back to the original value, so you would again have to go in and edit the 250 value. Given that it is just the one value and not a big change, it isn’t that much of an issue. You can try editing that file at Appearance > Editor and set it to 0 and see what happens, or some other value, like 100.

Viewing 1 replies (of 1 total)
  • The topic ‘How to completely remove transition + delay effect on navbar?’ is closed to new replies.