-
AuthorPosts
-
November 12th, 2013 at 02:45 #13567Paolo Arseneau
Hi, is there a way possible to put an image in “Mantra Settings/Presentation page/Extras/Top Title” instead of text?
Thanks
PS. Great theme, keep up the good work.
November 17th, 2013 at 13:25 #13679ZedCryout Creations mastermindYou can only do that by editing the theme files, namely
frontpage.phpincludes/theme-frontpage.php (frontpage.php is in for Parabola)- This reply was modified 11 years ago by Zed. Reason: corrected filename mistake
If you like our creations, help us share by rating them on WordPress.org.
Please check the available documentation and search the forums before starting a topic.November 17th, 2013 at 16:37 #13710PaoloThanks for the respond Zed, I appreciate the help, I really do. See, I’m a computer tech and although I see the logic behind the coding, I’m not sure how to change things. Could you edit it for me, or anyone else please? Here is the frontpage php:
Again, Thanks
- This reply was modified 11 years ago by Zed. Reason: cleaned up unnecessary code
November 21st, 2013 at 14:43 #13849ZedCryout Creations mastermindI named the wrong file in my previous post. frontpage.php is for Parabola; in Mantra, the file is includes/theme-frontpage.php.
Open it, look for the line
// First FrontPage Title
if($mantra_fronttext1) {?><div id="front-text1"> <h1><?php echo esc_attr($mantra_fronttext1) ?> </h1></div><?php }
and replace this with your image HTML; then add the proper CSS to position/arrange that image HTML in the theme’s custom CSS field.PS: This should be done via a child theme; when done via a child theme, the file includes/theme-frontpage.php needs to be called (include_once()) by the child theme’s functions.php file, otherwise it is not read.
If you like our creations, help us share by rating them on WordPress.org.
Please check the available documentation and search the forums before starting a topic. -
AuthorPosts
The topic ‘Image in text fields’ is closed to new replies.