• Resolved Diww

    (@diww)


    Hi everyone,
    I use the Forever theme and I wanted to add text under my header image, so in my CSS I added this :

    }
    
    #masthead .custom-header:after {
    	content: "SUBTITLE";
    	color: #0B173B;
    	font-size: 23px;
    }
    
    #masthead .custom-header:hover {
    	text-decoration: none;

    I wanted to know how to translate the content (“SUBTITLE” in this example) ? I tried adding [:en] and everything but it just doesn’t work.
    If someone can help me, that would be nice!
    Thanks a lot!

    https://wordpress.org/plugins/qtranslate/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter Diww

    (@diww)

    Anyone ?
    Please, I really need your help (btw I’m beginner with WP), my website has to be on maintenance mode until this can be solved.

    Thread Starter Diww

    (@diww)

    Ok, I was in the wrong place.
    In the masterhead.php just add this :
    <?php _e("<!--:fr-->French text<!--:--><!--:en-->English text<!--:-->"); ?>
    and it’s good!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Subtitle translation’ is closed to new replies.