Prestige Theme: Timeline: Move Navigation Labels above Content

Topic summary

A user seeks to reposition navigation labels above timeline content in the Prestige theme, but a previously suggested CSS solution isn’t working.

Current Status:

  • The user successfully moved the navigation by rearranging code in the timeline.liquid file
  • Mobile version displays correctly with navigation at the top
  • Desktop version has overlapping issues: navigation labels appear behind/over timeline images

Technical Details:

  • Initial CSS approach (modifying theme.css) failed
  • User located and modified timeline.liquid in the code editor
  • Provided code snippet and screenshot showing the desktop overlap problem
  • The issue requires additional CSS specifically for desktop layout

Assistance Offered:

  • Helper (PaulMartin_1) explains this is an HTML/Liquid rearrangement task, not purely CSS
  • Suggests either sharing store link for direct inspection or providing relevant code
  • Notes that debugging Liquid code without browser tools is challenging
  • Requests clarification on which elements are navigation labels vs. timeline photos

Remaining Challenge:

  • User prefers not to share store URL publicly
  • Desktop layout fix still needed while preserving working mobile version
Summarized with AI on November 11. AI used: claude-sonnet-4-5-20250929.

Hello,

currently the navigation labels are always displayed below the content of the timeline. I want to have it displayed above the content. A previously recommended solution does NOT work for me which involved adding the following code into the theme.css (tried with and without and tags)

.Timeline {display: flex; flex-direction: column-reverse;} .Timeline__ListItem {width: 100%;} @media screen and (min-width: 1140px){ .Timeline__Nav {margin-bottom: 65px; margin-top: 0 !important;} } @media screen and (min-width: 641px) { .Timeline__Nav {margin-top: 0 !important; margin-bottom: 40px;} }

To change the arrangement of your navigation labels and content, the liquid file containing them needs to be re-arranged or changed either in the Theme editor or code editor.

Hello Paul,

thanks for your reply. I located the timeline.liquid file in the code section. Do you know what exactly needs to be changed/the code?

Alternatively, in case it is easier, what would be the css code that would need to be entered into the theme customizer? The timeline section has a custom css code field as well, perhaps I could adjust it there, but I have no coding skills.

Best regards

Pius

Hi Pius,

Are you sure it is the timeline.liquid? Does this file contain the content and the navigation labels?

“Do you know what exactly needs to be changed/the code?”

  • For me to help you better either I will need to look at your site containing the content and navigation labels then give you instructions on what to do, or I will need access to your store’s theme so that I will rearrange it for you.

“Alternatively, in case it is easier, what would be the css code that would need to be entered into the theme customizer?”

  • If my assumptions are correct, you don’t need css code to do this. The HTML or Liquid just needs to be re arranged.
1 Like

Hello Paul,

thanks again for your swift reply.

I can confirm that the navigation elements are contained in that “timeline.liquid” file. I even managed to move the navigation bar to the top as I was aiming for by simply re-arranging the coding-part relating to the navigation area upwards in the code.

Now the mobile version looks perfect. However, in the desktop version, the labels are overlapping into (behind) the picture from the timeline.

The code - after my re-arrangement - looks like the following: Do you have any idea, how I could fix the desktop display? On the mobile version it looks as it should (simply moved the navigation bar to top). On desktop it is at the top, however, overlaps into the picture from my timeline, refer to attachment.

{%- if section.blocks.size > 0 -%}
  

  {%- assign color_scheme_hash = section.settings.color_scheme.settings.background_gradient | default: section.settings.color_scheme.settings.background | md5 -%}

  
    

      

        
        {%- assign carousel_id = 'carousel-' | append: section.id -%}
        
        

      

    

  

{%- endif -%}

{% schema %}
{
  "name": "t:sections.timeline.name",
  "class": "shopify-section--timeline",
  "tag": "section",
  "disabled_on": {
    "groups": ["header", "custom.overlay"]
  },
  "max_blocks": 10,
  "settings": [
    {
      "type": "color_scheme",
      "id": "color_scheme",
      "label": "t:global.colors.scheme",
      "default": "scheme-1"
    },
    {
      "type": "color_scheme",
      "id": "item_color_scheme",
      "label": "t:sections.timeline.item_color_scheme",
      "default": "scheme-2"
    },
    {
      "type": "checkbox",
      "id": "separate_section_with_border",
      "label": "t:global.section.separate_section_with_border",
      "default": true
    }
  ],
  "blocks": [
    {
      "type": "item",
      "name": "t:sections.timeline.blocks.item.name",
      "settings": [
        {
          "type": "image_picker",
          "id": "image",
          "label": "t:global.image.image",
          "info": "t:sections.timeline.blocks.item.image_info"
        },
        {
          "type": "image_picker",
          "id": "mobile_image",
          "label": "t:global.image.mobile_image",
          "info": "t:sections.timeline.blocks.item.mobile_image_info"
        },
        {
          "type": "inline_richtext",
          "id": "label",
          "label": "t:sections.timeline.blocks.item.label",
          "default": "2020"
        },
        {
          "type": "inline_richtext",
          "id": "subheading",
          "label": "t:global.text.subheading",
          "default": "Subheading"
        },
        {
          "type": "inline_richtext",
          "id": "title",
          "label": "t:global.text.heading",
          "default": "Heading"
        },
        {
          "type": "richtext",
          "id": "content",
          "label": "t:global.text.content",
          "default": "

Use this text to share information about what happened to your brand at a specific time.

"
        },
        {
          "type": "text",
          "id": "link_text",
          "label": "t:global.text.button_text"
        },
        {
          "type": "url",
          "id": "link_url",
          "label": "t:global.text.button_link"
        },
        {
          "type": "select",
          "id": "link_style",
          "label": "t:global.text.link_style",
          "options": [
            {
              "value": "outline",
              "label": "t:global.text.link_style_options.outline"
            },
            {
              "value": "solid",
              "label": "t:global.text.link_style_options.solid"
            },
            {
              "value": "link",
              "label": "t:global.text.link_style_options.link"
            }
          ],
          "default": "link"
        },
        {
          "type": "header",
          "content": "t:global.colors.category"
        },
        {
          "type": "color",
          "id": "mobile_text_color",
          "label": "t:sections.timeline.blocks.item.mobile_text_color",
          "default": "#ffffff"
        }
      ]
    }
  ],
  "presets": [
    {
      "name": "t:sections.timeline.presets.timeline.name",
      "blocks": [
        {
          "type": "item",
          "settings": {
            "label": "2000",
            "title": "2000"
          }
        },
        {
          "type": "item",
          "settings": {
            "label": "2010",
            "title": "2010"
          }
        },
        {
          "type": "item",
          "settings": {
            "label": "2020",
            "title": "2020"
          }
        }
      ]
    }
  ]
}
{% endschema %}

Hi Pius,

Nice! You managed to move it.

For the Desktop version, extra CSS has to be applied for it to work. It’s difficult to picture the end result from the code you sent, so I can’t write the CSS for you or give you some guidance. Would it be possible for you to send your store’s link?

1 Like

Hi Paul,

I am quite secretive about the store. Is there another way we can work this out? I could provide you the relevant code here? Which code would you need to see? The above provided screenshots represents the exact layout on the desktop view (only censored the “real text”).

Looking forward to hearing from you,

Pius

Hi Pius,

That’s okay with me - if ever you want to change your mind you can message me directly. Just know that I won’t be able to reply right away or reply at all. Reading Liquid is not as easy as reading what code shows up in the browser, since the browser has built in tools that make it easier to debug or spot errors than reading the actual code itself thus spending less time that I actually can give.

That said anything that follows are suggestions, not solutions, because I cannot tell if it is going to be a solution.

Can you tell me if my assumptions are correct:

Or the red color is the timeline’s navigation labels and the yellow is just the timeline photos?