• 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…

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

    …they work from other pages on my site, but not the homepage.

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

    #portfolio

    …they work from the homepage, but not from any other pages.

    Feel free to check out my site and give me some advice ?? mizdaq.com

Viewing 1 replies (of 1 total)
  • Thread Starter duralexglass

    (@duralexglass)

    Here’s the custom css he wrote. I should also mention that I’m using a theme and that might be complicating things?

    .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;
    }
Viewing 1 replies (of 1 total)
  • The topic ‘Anchor Tags behaving badly!’ is closed to new replies.