From the share botton I copied the embed code and placed it in my WordPress website page. I tryed it with blocks edidor, the old editor and in Elementor page builder. All is showing the embed code in a very small and limited height. Whatever I did I wasn’t successful in showing it on the full page!
This is usually due to settings by the content software you are using. For best results, you should embed it on a completely blank HTML page. It looks like in your case there is a wrapping element that limits it by height. You can try changing the CSS to use viewport units.
Only changing the height to “height: 100vh” was enough (changing the width to “width: 100vw” broke the page’s boxed design). And the problem is fixed. Thank you
Note: Now I’m facing another strange behavior.
When I’m opening the website’s page in Chrome Incognito I’m not able to view the iframe inside the page.
It is showing the page (header and footer) but without the iframe contents. Instead of the iframe, it’s showing the following error message:
That incognito problem is indeed a strange one. Not sure what could be causing that. Could you reach out to me using the chat widget on https://baseline.is and send me a link to your page so I can investigate? Or if you are ok with sharing the link here that’s fine also.
This seems to be related to Chrome blocking third-party cookies in Incognito by default, and the fact that our framework uses cookies for authentication and breaks when trying to load the page due to that.
I’m not sure how to solve this at the moment but I’ll continue to investigate and hopefully find a solution. But at least it’s only happening when viewing an embedded brand guide while in incognito mode in the Chrome browser, so hopefully not a common occurrence.
@gilli BTW, during the page load of the embedded brand guidelines, there’s a flash of Baseline logo. Could that be avoided by any chance? Not a big deal, just curious.
That is our loading spinner, I think for now we will keep it since it’s pretty integrated into the whole app. I’ll add it to my todo list though to see if it makes sense to change it in that particular place
I’ve replied to your support chat. But those lines are not relevant anymore. We’ve improved the embed code so it automatically adjusts the iframe to the brand guide size. However there have been some issues when people use plugins in WordPress that try to optimize the code but in doing so break the functionality.
ok Thanks, @gilli. Pretty much most optimization plugins do the same thing and I have not run into such problems that couldn’t be solved by specify width and height. But Baseline embed code is just not budging no matter what I try
@gilli I have sent you a msg on support chat. I created a short video as to the current state of how the embedded guidelines page looks. Please take a look when you get a chance and let me know your feedback. Thanks!