• What is the CSS tag used for header title?
    I want to make it realy big but I’m not sure CSS tag to use, and since it’s a pdf I can’t just view html code.

Viewing 3 replies - 1 through 3 (of 3 total)
  • AddWeb Solution

    (@addweb-solution-pvt-ltd)

    @gnetsteve, Try below code

    This would add the word new after the page title. You could put this in a user macro and then drop it on pages that are new.

    
    #title-text a::after {
        content: " NEW!";
    }

    Here is an example user macro.

    ## @noparams
    <style type="text/css">
      #title-text a::after {
        content: ' NEW!';
      }
    </style>

    Hope this will helps you.

    Thanks!

    Thread Starter Steve

    (@gnetsteve)

    so this

    #title-text a {
        font-size: 50px;
        color: red;
    }

    sound make the title red and 50px but it’s not.

    As you can see here: https://gnet.live/legal/cis-personal-fixed-wireless/?pdf=672

    • This reply was modified 7 years, 2 months ago by Steve.
    Plugin Author dinamiko

    (@dinamiko)

    Hi Steve,

    header and footer are not part of the content, you can do a template customization or add these filters to your theme functions.php

    function changing_dkpdf_header_title( $title ) {
    	return '<span style="font-size:30px;">'.$title.'</span>';
    }
    add_filter( 'dkpdf_header_title', 'changing_dkpdf_header_title' );
    
    function changing_dkpdf_header_pagination( $content ) {
    	$content = 'Page {PAGENO} of {nb}';
    	return '<span style="font-size:30px;">'.$content.'</span>';
    }
    add_filter( 'dkpdf_header_pagination', 'changing_dkpdf_header_pagination' );

    Thanks,
    Emili

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘CSS for header title?’ is closed to new replies.