adreask

Forum Replies Created

Viewing 1 post (of 1 total)
  • Author
    Posts
  • in reply to: Change the size of headings #55341
    adreask
    Participant

    well,

    I found this piece of code in custom-styles.php file

    
    	<?php
    $font_root = 2.6; // headings font size root
    for ( $i = 1; $i <= 6; $i++ ) {
    $size = round( ( $font_root - ( 0.27 * $i ) ) * ( preg_replace( "/[^\d]/", "", esc_html( $anima_fheadingssize ) ) / 100), 5 ); ?>
    h<?php echo $i ?> { font-size: <?php echo $size ?>em; } <?php
    } //for ?>
    

    Changing 0.27 to 0.32 does the trick, but it is not a good solution as it will be wiped after a theme update…

    Any suggestions?

Viewing 1 post (of 1 total)