Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • nooran Developer
    #194279

    Hello,

    I’m using Purity III…
    I would like to know: How is it possible to stop the floating of the main menu?

    I tried this:
    .affix{ position: relative;}

    I have added it to custom.css, but it didn’t work.

    Many thanks for your help and support

    Best Regards
    Raffet Ali

    rgblogs Friend
    #520527

    <em>@nooran 408555 wrote:</em><blockquote>Hello,

    I’m using Purity III…
    I would like to know: How is it possible to stop the floating of the main menu?

    I tried this:
    .affix{ position: relative;}

    I have added it to custom.css, but it didn’t work.

    Many thanks for your help and support

    Best Regards
    Raffet Ali</blockquote>

    Hi

    In the Purity III files,

    Go to tpls –> blocks –> and edit in header.php

    <header id=”t3-mainnav” class=”wrap navbar navbar-default navbar-fixed-top t3-mainnav”>

    Remove navbar-fixed-top

    <header id=”t3-mainnav” class=”wrap navbar navbar-default t3-mainnav”>

    This should help.

    nooran Developer
    #520550

    Oh… I was there: tpls –> blocks –> header.php

    and have seen the code

    <header id="t3-mainnav" class="wrap navbar navbar-default navbar-fixed-top t3-mainnav">

    but didn’t notice this part:

    navbar-fixed-top

    Anyway, really many thanks…

    raroit Friend
    #540068

    Hi,

    When i use the code from here: http://www.joomlart.com/forums/topic/how-to-stop-main-menu-floating/, to stop main menu floating, i get a white space above the main menu plz see attach:

    Has anyone come across this before?

    thanks


    1. header-space
    Adam M Moderator
    #540095

    Hi raroit,

    Could you please provide your site url so I can take a look?

    raroit Friend
    #540200

    I’m working on localhost

    When i use the code provided for ‘Nooran’: <header id=”t3-mainnav” class=”wrap navbar navbar-default navbar-fixed-top t3-mainnav”>
    and remove ‘navbar-fixed-top ‘ i get a ‘white space’ above the main menu

    i’ve attached picture again

    thanks


    1. header-space
    raroit Friend
    #540330

    i’m using corporate theme – not sure if that helps

    Adam M Moderator
    #540548

    Hi,

    Actually, it’s hard to track down what is the cause of this problem just via screenshot now. If possible, could you please continue your work and reply back here when your site is live so I can tell you exactly which line of code should be changed?

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

This topic contains 7 replies, has 4 voices, and was last updated by  nooran 10 years, 5 months ago.

We moved to new unified forum. Please post all new support queries in our New Forum