Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • missyw Friend
    #152618

    How can I get this template to display my site slogan as text/html underneath my logo.png image? (i.e. a mixture of both image and text for the logo).

    I have created a logo image, and selected “logo-type = image” in my template parameters. But now, I would like to also display my slogan as text/html below the image. (This is because I am not very good at manipulating the image! 😮

    I have done this successfully in another template by changing the index.php file so that it would display both the image and the text slogan. But I am at a loss with this template, as the index.php file doesn’t show any code for the logo.

    Is there an easy way to do this (for dummies)? Any suggestions?

    Saguaros Moderator
    #350528

    Hello

    Pls open the file: templates/ja_norite/layouts/blocks/header.php and try to find the following code:
    [PHP]
    <a href=”index.php” title=”<?php echo $siteName; ?>”><span><?php echo $siteName; ?></span></a>
    [/PHP]
    replace:
    [PHP]
    <a href=”index.php” title=”<?php echo $siteName; ?>”><span><?php echo $siteName; ?></span></a>
    <?php $sloganText = (trim($this->getParam(‘logoType-text-sloganText’))==”) ? JText::_(‘SITE SLOGAN’) : $this->getParam(‘logoType-text-sloganText’);?>
    <p class=”site-slogan”><?php echo $sloganText;?></p>
    [/PHP]
    GOodluck

    shoumikdas Friend
    #350663

    Hi,

    I am unable to change my logo. I created a new logo.png and replaced it in the right position, but still the default JA Anion logo shows up. When I change the type to text, nothing comes up. Only the word, “slogan”, is there.

    Can you please help?

    missyw Friend
    #350805

    Dear Tienhc,

    Brilliant!!! Thanks!:-*

    missyw Friend
    #350807

    <em>@shoumikdas 187538 wrote:</em><blockquote>Hi,

    I am unable to change my logo. I created a new logo.png and replaced it in the right position, but still the default JA Anion logo shows up. When I change the type to text, nothing comes up. Only the word, “slogan”, is there.

    Can you please help?</blockquote>
    Hello

    1. Which color of the template are you using? You will notice in the templates/ja_norite/images folder there is a sub-folder for the different colors. For example, I am using the light-green color. So when I created my own logo, I replaced both the logo.png and logo2.png in the templates/ja_norite/images/light-green folder.

    2. When you change the template logo type to text, you will notice that 2 additional fields appear below “Select logo type”. You must fill in your site name in the “logo text” field, and your site slogan in the in the “Slogan” field.

    Good luck!

    shoumikdas Friend
    #350809

    Hi missyw,

    Thanks for the tip. I will check out the location of logo2.png as well. I am currently using the dark-red theme for JA Anion. However, for logo type=text, I have filled in both the fields with the site name and slogan, but still nothing is coming up. Can you advise?

    missyw Friend
    #350811

    <em>@tienhc 187347 wrote:</em><blockquote>Hello

    Pls open the file: templates/ja_norite/layouts/blocks/header.php and try to find the following code:
    [PHP]
    <a href=”index.php” title=”<?php echo $siteName; ?>”><span><?php echo $siteName; ?></span></a>
    [/PHP]
    replace:
    [PHP]
    <a href=”index.php” title=”<?php echo $siteName; ?>”><span><?php echo $siteName; ?></span></a>
    <?php $sloganText = (trim($this->getParam(‘logoType-text-sloganText’))==”) ? JText::_(‘SITE SLOGAN’) : $this->getParam(‘logoType-text-sloganText’);?>
    <p class=”site-slogan”><?php echo $sloganText;?></p>
    [/PHP]
    GOodluck</blockquote>

    Hello,

    This is a wonderful solution for the home-page, thank you. But on the other pages (Getting Started, Blog, K2, etc.) the font-size for the Text slogan is way TOO BIG! (It becomes bigger than logo2.png, and wraps onto 2 lines!) Maybe this is too hard to fix, and I will have to work on modifying my logo images so they include my slogan. Please let me know what you think. Thanks for your help :-*

    Saguaros Moderator
    #351146

    Now pls add the following css into the template.css file:

    .site-slogan{
    font-size:95%!important
    }

    GOodluck

Viewing 8 posts - 1 through 8 (of 8 total)

This topic contains 8 replies, has 3 voices, and was last updated by  Saguaros 14 years, 3 months ago.

We moved to new unified forum. Please post all new support queries in our New Forum