• ELBeavers

    (@elbeavers)


    Is there a way to use html or css to make inline adjustments to text such as italic or font size?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support Fotis

    (@markwaregr)

    Hi there,
    you can try this

    
    /*title*/
    .maxslider-slide-title {
        font-size: 20px;
        font-weight: bold;
        font-style: italic;
    }
    
    /*subtitle*/
    .maxslider-slide-subtitle {
        font-size: 30px;
        font-weight: bold;
        font-style: italic;
    }

    in your custom css box under Customize->Additional CSS.

    Let me know if this helps

    Thread Starter ELBeavers

    (@elbeavers)

    I should have been more specific. I meant _within_ the subtitle. Basically, something like:

    <p>Buy this now!<br />Some conditions apply.</p>

    Plugin Support Fotis

    (@markwaregr)

    Hi @elbeavers
    You can open in maxslider plugin folder slide.php and
    replace

     <p class="maxslider-slide-subtitle">
     <?php echo wp_kses( $slide['subtitle'], MaxSlider()->sanitizer->allowed_tags( 'subtitle' ) ); ?> </p>
    

    with

     <p class="maxslider-slide-subtitle">
     <?php echo  $slide['subtitle']; ?> </p>

    to allow custom HTML tags there
    Let me know if this helps

    • This reply was modified 3 years ago by Fotis.
    • This reply was modified 3 years ago by Fotis.
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Format text’ is closed to new replies.