-
AuthorPosts
-
October 17, 2023 at 6:57 pm #1422827
I’m trying to change some of the design elements of an embedded code block: <script type=”text/javascript” src=”https://———com/tbmr/web/v1/embed”></script>
October 18, 2023 at 4:17 pm #1422911Hey djcopywriter,
The Google Drive image is not publicly shared, please change the sharing options or upload the image to a different service like Imgur or Snipboard for example.
Best regards,
RikardOctober 18, 2023 at 4:31 pm #1422918Added to Imgur.
October 19, 2023 at 10:53 am #1422985Hi,
Thank you for the screenshot.
Are you trying to adjust the style of the text in the embedded code? Please try to start with this css code.
.osBox.osDetail * { font-size: 1em !important; line-height: 1.5em; font-weight: 400 !important; color: #636363 !important; } .osBox.osDetail * .osButton.osButton-inline { text-shadow: none; color: #ffffff !important; }
Best regards,
IsmaelOctober 19, 2023 at 4:45 pm #1423029Ismael,
I did what you said, saw no change, opened it in a private browser and nothing has changed. Can you take a look? I have since removed.
Thanks.October 20, 2023 at 9:36 am #1423089Hi,
Thank you for the update.
We added the code in the Quick CSS field and adjusted it a bit. We also disabled the Enfold > Performance > File Compression settings temporarily. To adjust the style of the button, you can edit this css rule.
.osBox.osDetail * .osButton.osButton-inline { text-shadow: none; color: #ffffff !important; }
You might want to increase the priority of the new styles by incorporating the !important rule.
Best regards,
IsmaelOctober 20, 2023 at 7:07 pm #1423170It has to be something I’m doing wrong. I don’t see the font larger, the titles in color blocks, or the button a different color. I’ve cleared the cache and I’ve opened private browsers on three different browsers. Can you capture of screen grab of what I am supposed to be seeing?
October 23, 2023 at 3:29 am #1423360Hi,
Did you remove the browser cache or perform a hard refresh? We posted a screenshot of the modified page in the private field.
Best regards,
IsmaelOctober 25, 2023 at 4:36 pm #1423712Ismael,
Thank you for all of your help. What code would put the title like Cardiovascular within a brown long rectangle, like the photo I uploaded?
I appreciate your expertise!October 26, 2023 at 10:25 am #1423757Hi,
Since we couldn’t locate the “Liver Studies” section on the page, we assumed you were trying to modify the heading element within the embedded script. Please include this css code.
#top #wrap_all .all_colors h2.osArea { background: #2a303b; color: #ffffff; }
Best regards,
IsmaelOctober 27, 2023 at 8:58 pm #1423938Thanks so much! You guys are amazing. It worked perfectly. You can close out this request.
October 28, 2023 at 1:24 pm #1423957Hi,
Great, I’m glad that Ismael could help you out. I’ll go ahead and close this thread for now then, please open a new thread if you should have any further questions or problems.
Best regards,
Rikard -
AuthorPosts
- The topic ‘Help with editing embedded javascript in code block’ is closed to new replies.