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

State Button - Rectangle with color in rollover shrinks

New Here ,
May 29, 2018 May 29, 2018

Copy link to clipboard

Copied

Hi,

I have a State button in my website, which in a Normal state has a picture fill with a heading. It then has another rectangle (exact same size as state button) and text boxes that are transparent.

In the rollover state, the rectangle with color and text boxes appear. When rolling over in Muse Edit mode, the color rectangle is the same size as the button, however when viewing in browser or in preview this rectangle "shrinks" at the bottom leaving a space, which looks wrong.

I have attached picture of how it looks (rollover state) in edit mode (how it is supposed to look) and how it looks in preview or not site.

I have played around with changing and turning off resize as well as fade function, nothing is working!

Please help!

Screen Shot 2018-05-26 at 09.22.13.png

Screen Shot 2018-05-26 at 09.22.45.png

Views

269

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

LEGEND , May 30, 2018 May 30, 2018

I had a look at your file, and the solution is very simple:

  • The font size of the text element "SS departamentos SSSm2 de area comun“ changes state-wise (16 pt in normal state, 12 pt in rollover state) and has a transition applied.
  • Since the minimal height of the text container (the dotted line within the container) is set very small, the text frame resizes in height, when the font size changes.
  • Because the text containers are placed „into/onto" a rectangle (the one, which changes its opacity), this
...

Votes

Translate

Translate
LEGEND ,
May 29, 2018 May 29, 2018

Copy link to clipboard

Copied

Please copy only this state button into a newly created .muse file, upload this small .muse file to Dropbox, CC Files or a simlilar file sharing service and give us the download link here. Then we will have a closer look.

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
New Here ,
May 29, 2018 May 29, 2018

Copy link to clipboard

Copied

Hi,

Ok! Link to the file: Link

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 ,
May 29, 2018 May 29, 2018

Copy link to clipboard

Copied

I am not sitting in front of my machine at the moment. I‘ll have a look tomorrow morning. Hope, this is soon enough!

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 ,
May 30, 2018 May 30, 2018

Copy link to clipboard

Copied

LATEST

I had a look at your file, and the solution is very simple:

  • The font size of the text element "SS departamentos SSSm2 de area comun“ changes state-wise (16 pt in normal state, 12 pt in rollover state) and has a transition applied.
  • Since the minimal height of the text container (the dotted line within the container) is set very small, the text frame resizes in height, when the font size changes.
  • Because the text containers are placed „into/onto" a rectangle (the one, which changes its opacity), this rectangle changes its height according to the height of the elements within.

Simple solution:

  • Make the text frame, which contains "SS departamentos SSSm2 de area comun“ higher by dragging its bottom edge downwards.

Now, all works as expected.

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