[Resolved] GB+GP

Home Forums Support GB+GP

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #1407303
    Dmitry

    Hi!

    Few short questions:

    1. GP – is there any way to change hyperlinks styling in the content area (without CSS)? It looks like it was possible in theme options a few versions earlier.

    2. GB – is there any way to add my svg into the default svg list for button element?

    3. GB – is there any way to change default color list in the elements colorpicker? For example, It would be very cool if there is a chance to put only brandbook colors into all colorpickers in GB&GP.

    Thanks!

    #1407425
    David
    Staff
    Customer Support

    Hi there,

    1. Colors of links can be set in the Customizer > Colors –> Body / Content etc.

    2. Not at this time – we will be adding that feature into the Pro version of the plugin.

    3. WP has its own filter for setting colors:

    add_action( 'after_setup_theme', function() {
        add_theme_support(
            'editor-color-palette',
            array(
                array(
                    'name'  => __( 'Scuro', 'castiglioni' ),
                    'slug'  => 'dark',
                    'color' => '#382c33',
                ),
                array(
                    'name'  => __( 'Chiaro', 'castiglioni' ),
                    'slug'  => 'light',
                    'color' => '#eeeeee',
                ),
            )
        );
    }, 50 );

    This also will become part of a global color pallet in the future.

    #1409083
    Dmitry

    Thanks, David!

    Got it. And as for the 1 question. Is there any chance to change text-decoration, typography etc for hyperlinks?

    #1409185
    David
    Staff
    Customer Support

    You can do something like this:

    .entry-content p a {
        text-decoration: underline;
    }

    This will apply to links found within a paragraph within the content of your post/page.

    #1410559
    Dmitry

    Yeah, I know, thanks anyway.

    #1410768
    David
    Staff
    Customer Support
Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.