Nayef Mazraani
Nayef Mazraani

Reputation: 1

Tumblr theme html fix, and infinite scroll implementation

I've been working on fixing my Tumblr portfolio but have no experience with coding. I'm facing two issues that I need help with:

  1. I want to remove the menu navigation dropdown and have all the items listed directly, without any dropdown menus. ISSUE 1

  2. When scrolling to the bottom, the infinite scroll feature kicks in, changing the URL to the second page and loading new posts. However, if you refresh the page, it only shows the posts from the new page instead of the initial content. Ideally, I’d like the infinite scroll to work without changing the URL. This portfolio is meant to be a short and simple showcase, so I prefer keeping the infinite scroll while avoiding any URL changes.

I’d appreciate any guidance on how to fix these issues. Thank you!

.menu-nav .menu.nested {
    margin: 0rem 0 0 0rem; /* Added a semicolon */
}

@media only screen and (min-width: 40em) {
    .post-entry {
        padding: 0em 0em 0em; /* Added curly braces to the media query */
    }

Explained it in the post

Upvotes: 0

Views: 31

Answers (0)

Related Questions