Okay
  Public Ticket #813562
Anchor Tags stopped working
Closed

Comments

  • Omar started the conversation

    Hi there!

    I'm having issues with anchor tags on my homepage's main navigation menu. I made them via the Appearances>Menu>Custom Menu feature. They used to work fine, until my friend wrote some custom CSS to fix a width issue.


    1) When I enter the custom menu URLs as, for example...

    http://www.mizdaq.com/#portfolio

    ...they work from other pages on my site, but not the homepage (I don't understand why)


    2) When I enter the custom menu URLS as, for example...

    #portfolio

    ...they work from the homepage, but not from any other pages (I understand why)


    BTW:

    Here's the custom css he wrote:

    .video-wrapper {position: relative;  padding-bottom: 80%; /* 16:9 */ padding-top: 25px; margin: auto;}
    .video-wrapper iframe {position: absolute; top: 0; left: 0; width: 100%; height: 100%;}
    .container {width: 100%; max-width: 800px; margin: auto;}
    .wpb_text_column {
      max-width: 640px !important;
      margin: 0 auto !important;
    }
    @media screen and (max-width: 340px){
    	.wpb_text_column {
      		padding-right: 15px;
      		padding-left: 15px;
    	}
    	/* body header#top #logo img {
     		max-width: 112% !important;
    	} */
    }
    .invision-yolobe-prototype .video-wrapper {
      min-height: 930px;
    }
  •  8,994


    ThemeNectar Support Team