Viewing 12 posts - 1 through 12 (of 12 total)
  • Author
    Posts
  • #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&gt;

    #1422911

    Hey 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,
    Rikard

    #1422918

    Added to Imgur.

    #1422985

    Hi,

    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,
    Ismael

    #1423029

    Ismael,
    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.

    #1423089

    Hi,

    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,
    Ismael

    #1423170

    It 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?

    #1423360

    Hi,

    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,
    Ismael

    #1423712

    Ismael,
    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!

    #1423757

    Hi,

    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,
    Ismael

    #1423938

    Thanks so much! You guys are amazing. It worked perfectly. You can close out this request.

    #1423957

    Hi,

    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

Viewing 12 posts - 1 through 12 (of 12 total)
  • The topic ‘Help with editing embedded javascript in code block’ is closed to new replies.