Site logo

[Support request] Links not showing correctly in editing mode for “Scribe”

Home Forums Support [Support request] Links not showing correctly in editing mode for “Scribe”

Home Forums Support Links not showing correctly in editing mode for “Scribe”

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #2441284
    Brooks

    We used Scribe for our latest site.

    When editing links on the backend in Gutenberg, you are unable to see items that are hyperlinked.

    The only way to know what is linked is on the front end.

    This is making linking difficult.

    Note: we installed Scribe for another site to test and the issue is there as well.

    Thanks!

    #2441510
    David
    Staff
    Customer Support

    Hi there,

    by default Scribe doesn’t add any specific styles to the links, did you add any in the Customizer or via CSS?

    #2442019
    Brooks

    I did not, David.
    I just know that it’s the first time I’ve ever gone to edit links on the back end and not be able to differentiate the link from the regular text!

    What steps do I need to take?

    #2442038
    Ying
    Staff
    Customer Support

    By default even on the front end, the links don’t have specific styles.

    If you can see the difference on the front end, you should be able to see it on the backend as well.

    Can you link us to a post where we can see a link?

    #2442054
    Brooks
    #2442524
    David
    Staff
    Customer Support

    I see some custom CSS in the Customizer > Additional CSS that is adding link styles.
    By default WP doesn’t load Additional CSS in the editor.

    To load that in the editor you can add this PHP Snippet to your site:

    
    add_filter( 'block_editor_settings_all', function( $editor_settings ) {
        $css = wp_get_custom_css_post()->post_content;
        $editor_settings['styles'][] = array( 'css' => $css );
    
        return $editor_settings;
    } );

    How to add PHP: https://docs.generatepress.com/article/adding-php/

    #2447034
    Brooks

    My developer told me that he finally found the issue.
    He said that the link options are in 2 different places and that one overrides the other.
    Is this correct?
    If so, I wanted to send your way.
    Thanks.

    From Developer…
    [[The 2 settings are:

    Customize > Color > Body > Link
    Customize > Color > Content > Link

    The second one overwrites the first one.]]

    #2447828
    David
    Staff
    Customer Support

    Thats the correct behaviour.
    Body Links are for the entire site. The styles applied to the body apply to all elements in the site.
    You then use more specific styles like Content > Link or Sidebar > Link to overwrite the body styles just for those areas.

Viewing 8 posts - 1 through 8 (of 8 total)
  • You must be logged in to reply to this topic.