Adjust the size of the post popup for Reels to match the popup height

Add this code to the Custom CSS field on the Style tab of your Instagram Feed widget’s settings:

.global-styles,
.eapps-instagram-feed-popup-item-media-video-container {
height: 50vh;
}

.global-styles,
.es-post-media-video {
height: 100%;
}

Let us know if the solution worked for you :slightly_smiling_face:

1 Like

Hey Max, thanks for posting this solution. I seem to be getting some errors now though. Not sure if this is a new bug or not:

Line 1: Expected an identifier and instead saw ‘.’.

Line 1: Expected an assignment or function call and instead saw an expression.

Line 1: Missing semicolon.

Line 2: Expected an identifier and instead saw ‘.’.

Line 2: Expected an assignment or function call and instead saw an expression.

Line 2: Missing semicolon.

Line 2: Expected an assignment or function call and instead saw an expression.

Line 2: Missing semicolon.

Line 3: Unexpected ‘5’.

Line 4: Label ‘height’ on } statement.

Line 4: Expected an identifier and instead saw ‘}’.

Line 6: Expected an operator and instead saw ‘.’.

Line 6: Expected an assignment or function call and instead saw an expression.

Line 6: Missing semicolon.

Line 7: Expected an identifier and instead saw ‘.’.

Line 7: Expected an assignment or function call and instead saw an expression.

Line 7: Missing semicolon.

Line 7: Expected an assignment or function call and instead saw an expression.

Line 7: Missing semicolon.

Line 8: Label ‘height’ on 100 statement.

Line 8: Expected an identifier and instead saw ‘;’.

Line 8: Expected an assignment or function call and instead saw an expression.

Line 8: Missing semicolon.

Line 2: Unmatched ‘{’.

Line 9: Unrecoverable syntax error. (100% scanned).

2 Likes

Hi there, @Sarfaraz :wave:

I see that you’ve added the code to the Custom JS field, but it should be placed in the Custom CSS field:


Check it out and let me know if it helped :slightly_smiling_face:

2 Likes

Ah, rookie mistake. Sorry for bothering you and thanks for the quick reply Max!

2 Likes

No problem at all :wink:

If any further help is needed, we’re always here for you!

1 Like