• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
Locked
0

Responsive nav does not dropdown

Community Beginner ,
Jan 06, 2014 Jan 06, 2014

Copy link to clipboard

Copied

Hi there! I am a total newbie and setting up my first BC site. I hope to contribute to the community in the future as I get better at using BC.

My site is my portfolio site. I have developed the site using Foundation 5 Framework. Where I am stuck at the moment is the responsive primary navigation portion. When you resize the browser window to the mobile size, the collapsed dropdownn menu does not open up when tapped.

Here is the link to my BC test page: http://lee0-jun22012.businesscatalyst.com/

As you can see by this link, http://iplaysite.com/projects/lab the dropdown works at the mobile level.

Any help why BC is interpreting my html/css code differently would be greatly appreciated! Thanks!

TOPICS
Newbie Corner

Views

531

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Community Beginner , Jan 15, 2014 Jan 15, 2014

Ok, I found the problem. In the develop mode panel, none of the code will be removed.

Votes

Translate

Translate
Community Beginner ,
Jan 06, 2014 Jan 06, 2014

Copy link to clipboard

Copied

I think I see what BC is doing. For some reason when I update the template file, a code gets removed in my html code.

For example:

In the html line 48, it becomes : <nav class="top-bar"> after I press update button in the template edit page.

It should be:  <nav class="top-bar" data-topbar>

Why is BC removing "data-topbar" ? Can someone from BC team respond please? thanks.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Jan 15, 2014 Jan 15, 2014

Copy link to clipboard

Copied

Ok, I found the problem. In the develop mode panel, none of the code will be removed.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Jan 15, 2014 Jan 15, 2014

Copy link to clipboard

Copied

Also data-topbar is not actually valid, it has no value

data-topbar="something" is a proper data attribute use case.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Jan 16, 2014 Jan 16, 2014

Copy link to clipboard

Copied

LATEST

It is a Foundation 5 variable. The code makes the drop down happen on tap in the mobile size believe it or not.

🙂

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines