VISIT AND LIKE OUR PAGE ON FACEBOOK
TAKE A LOOK AT OUR TWEETS ON TWITTER
SUBSCRIBE TO THE JOOMFREAK RSS FEED
VISIT OUR CHANNEL ON YOUTUBE

Account Details

Change your name, email, password or permanently delete your account. Change settings

We offer several ways you can get support from our experts: Support ForumKnowledgebaseNewsletter

Your Forum Posts

No posts to display.

Welcome, Guest
Username Password: Remember me

Optimize Hompage (Logo) Title (second line)
(1 viewing) (1) Guest
  • Page:
  • 1

TOPIC: Optimize Hompage (Logo) Title (second line)

Optimize Hompage (Logo) Title (second line) 31 Oct 2015 18:49 #7664

Hi,

first of all the JF Event Up Template ist amazing! Good Work!

I need some help in adding a second line in the Homepage Titel.
I don´t want to display ma picture as a logo i want to display a text but thats just one line.

Is there a option to insert there a second line?

It´s the class="brand pull-left" but I don´t get it how to insert a second line let´s say a <p> tag.

Would really appreciate if someone could help me.

Thanks everyone

  • Posts:2
  • FAbaiN
  • Fresh Boarder
  • OFFLINE
  • Karma: 0

Re: Optimize Hompage (Logo) Title (second line) 02 Nov 2015 03:21 #7669

You can edit templates/jf_event-up/templateDetails.xml, add the field after field sitetitle (line 82):
 
<field name="sitedescription" type="text" default=""
label="JGLOBAL_DESCRIPTION"
description="JGLOBAL_SUBHEADING_DESC"
filter="string" />
 

Edit templates/jf_event-up/index.php, modify:
 
elseif ($this->params->get('logoAs') == 1 && $this->params->get('sitetitle'))
{
$logo = '<span class="site-title" title="' . $sitename . '">' . htmlspecialchars($this->params->get('sitetitle')) . '</span>';
}
 

to:
 
elseif ($this->params->get('logoAs') == 2 && $this->params->get('sitetitle'))
{
$logo = '<span class="site-title" title="' . $sitename . '">' . htmlspecialchars($this->params->get('sitetitle')) . '</span>';
}
 

Then config template, enter title and description. Now you can show title and description (2 lines).
Maybe, you have to style for this.

joomfreak

  • Posts:2749
  • isupport
  • Moderator
  • OFFLINE
  • Karma: 0
  • Page:
  • 1
Time to create page: 0.74 seconds
Wednesday 22 May 2019

joomfreak is not affiliated with or endorsed by the Joomla Project or Open Source Matters.
The Joomla logo is used under a limited license granted by Open Source Matters the trademark holder in the United States and other countries.