The Joomla! Forum ™



Forum rules


Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting.
Forum Post Assistant - If you are serious about wanting help, you should use this tool to help you post.



Post new topic Reply to topic  [ 26 posts ] 
Author Message
PostPosted: Thu Jan 20, 2011 9:28 pm 
Joomla! Fledgling
Joomla! Fledgling

Joined: Thu Jan 20, 2011 9:25 pm
Posts: 2
How can I remove the "font size settings" from the top of the Beez2 template?


Top
 Profile  
 
PostPosted: Thu Jan 20, 2011 10:12 pm 
Joomla! Fledgling
Joomla! Fledgling

Joined: Sun Jan 16, 2011 4:50 pm
Posts: 1
in your main template index.php from Beez2 is a row
<div id="fontsize"></div>
replace this row like this
<!-- <div id="fontsize"></div> -->

hope this helps


Top
 Profile  
 
PostPosted: Fri Jan 21, 2011 8:20 am 
Joomla! Fledgling
Joomla! Fledgling

Joined: Thu Jan 20, 2011 9:25 pm
Posts: 2
Yes, I already tried this but then I get a JavaScript error saying that some expected value is null (I don't remember the exact error message).


Top
 Profile  
 
PostPosted: Sun Feb 27, 2011 3:02 am 
Joomla! Fledgling
Joomla! Fledgling

Joined: Sun Feb 27, 2011 3:00 am
Posts: 1
just add style to hidden that div

<div id="fontsize" style="display:none"></div>


Top
 Profile  
 
PostPosted: Sat Apr 23, 2011 1:04 am 
Joomla! Apprentice
Joomla! Apprentice

Joined: Thu Apr 21, 2011 12:51 am
Posts: 5
I am wonder (newbie) where I can find this Index.php file to make these changes to. I found a few index.php files but I am not sure what to change. Am I supposed to do this in the back-end, or directly in explore?


Top
 Profile  
 
PostPosted: Sat Apr 23, 2011 1:16 am 
Joomla! Apprentice
Joomla! Apprentice

Joined: Thu Apr 21, 2011 12:51 am
Posts: 5
NeverMind I found the right one, next time I look a little harder before I ask..


Top
 Profile  
 
PostPosted: Mon May 09, 2011 9:38 pm 
Joomla! Apprentice
Joomla! Apprentice

Joined: Fri Apr 29, 2011 1:39 am
Posts: 17
overcranked wrote:
I am wonder (newbie) where I can find this Index.php file to make these changes to. I found a few index.php files but I am not sure what to change. Am I supposed to do this in the back-end, or directly in explore?


Where'd you find it? I saw this once before but am blind and cannot find it again.
thanks,
p


Top
 Profile  
 
PostPosted: Tue May 10, 2011 12:15 pm 
User avatar
Joomla! Exemplar
Joomla! Exemplar

Joined: Thu Aug 18, 2005 8:43 pm
Posts: 7846
Location: New York
For your template the index file is in the root of the specific template folder. You can access it via the template manager.

_________________
So we must fix our vision not merely on the negative expulsion of war, but upon the positive affirmation of peace. MLK 1964.
http://officialjoomlabook.com Get it at http://www.joomla.org/joomla-press-official-books.html Buy a book, support Joomla!.


Top
 Profile  
 
PostPosted: Tue May 10, 2011 2:47 pm 
Joomla! Apprentice
Joomla! Apprentice

Joined: Fri Apr 29, 2011 1:39 am
Posts: 17
I am still blind looking at the template manager and cannot find the index file. If I double click on the template it takes me to the Edit Style page and I do not see any option to edit the index file.
What am I missing?


Top
 Profile  
 
PostPosted: Fri May 20, 2011 2:23 pm 
Joomla! Fledgling
Joomla! Fledgling

Joined: Fri May 20, 2011 2:20 pm
Posts: 3
Just FTP into your site and go to the folder:

Joomla Root\Templates\beez_20

There you wil find a index.php

Then do what Icho says (its on line 139)

icho wrote:
just add style to hidden that div

<div id="fontsize" style="display:none"></div>


And TA-DA the fontsize choose thingy is gone :)

Good Luck;)


Top
 Profile  
 
PostPosted: Fri May 20, 2011 2:36 pm 
User avatar
Joomla! Ace
Joomla! Ace

Joined: Mon Sep 07, 2009 3:18 am
Posts: 1869
pablos53 wrote:
I am still blind looking at the template manager and cannot find the index file. If I double click on the template it takes me to the Edit Style page and I do not see any option to edit the index file.
What am I missing?

Extensions > Templates Manager > Templates > Click your template (filter:site @dropdown) >Edit Main
http://docs.joomla.org/Help16:Extension ... dit_Source

Hope Help
:D

_________________
coffee & smoke just fine

OOm Nezar


Top
 Profile  
 
PostPosted: Sun Oct 09, 2011 1:55 pm 
User avatar
Joomla! Enthusiast
Joomla! Enthusiast

Joined: Sun Nov 11, 2007 1:15 pm
Posts: 123
Location: Spain
Thanks for the tip.

I'm trying to remove also all the white space from top til logoheader div, but I've not found in CSS the padding, or margin, or whatsoever that I should change.

Ideas anyone?

Thanks a million in advance,

_________________
“The media's the most powerful entity on earth. They have the power to make the innocent guilty and to make the guilty innocent, and that's power. Because they control the minds of the masses.” -- Malcolm X


Top
 Profile  
 
PostPosted: Tue Oct 11, 2011 11:13 pm 
Joomla! Apprentice
Joomla! Apprentice

Joined: Thu Jun 16, 2011 4:58 pm
Posts: 9
To get rid of the blank space, edit "layout.css" in the "header content" section, add this:

#header {margin-top: -100px;}

Hope it helps


Top
 Profile  
 
PostPosted: Tue Oct 18, 2011 2:18 pm 
Joomla! Enthusiast
Joomla! Enthusiast

Joined: Tue Nov 25, 2008 7:10 pm
Posts: 233
Hello,
I'd also like to get rid of the "font size" thing from the template.

The fixes described here essentially suggest "hiding" it, then adding additional CSS to cover up the missing space.

But how do we really get rid of this function?

Thanks,
Matthew


Top
 Profile  
 
PostPosted: Sun Oct 30, 2011 12:47 am 
User avatar
Joomla! Exemplar
Joomla! Exemplar

Joined: Thu Aug 18, 2005 8:43 pm
Posts: 7846
Location: New York
Cut this out <div id="fontsize" style="display:none"></div>

but make sure you are working on a copy.

_________________
So we must fix our vision not merely on the negative expulsion of war, but upon the positive affirmation of peace. MLK 1964.
http://officialjoomlabook.com Get it at http://www.joomla.org/joomla-press-official-books.html Buy a book, support Joomla!.


Top
 Profile  
 
PostPosted: Mon Oct 31, 2011 3:21 pm 
Joomla! Enthusiast
Joomla! Enthusiast

Joined: Tue Nov 25, 2008 7:10 pm
Posts: 233
mcsmom,
Thanks. Yes, I know how to do that. But I was hoping to turn off the function altogether.
Thanks,
Matthew


Top
 Profile  
 
PostPosted: Fri Nov 18, 2011 7:39 pm 
Joomla! Apprentice
Joomla! Apprentice

Joined: Mon Oct 10, 2011 5:12 pm
Posts: 16
Hi,
I've been quite happily editing the index.php for Beez20 template on my local installation (XAMPP), but now I've got the site 'live' on a hosting server I can't figure out how to access this page in an editor via the Control Panel to alter the Font Size display.

I managed it OK using Cute FTP's editing suite, logging in to the server, but that obviously isn't the right way to do it.
Can someone advise, please?

Thanks,

Ian


Top
 Profile  
 
PostPosted: Fri Nov 18, 2011 7:50 pm 
Joomla! Apprentice
Joomla! Apprentice

Joined: Mon Oct 10, 2011 5:12 pm
Posts: 16
Sorted it. Template manager, 'edit file'.

Is it possible to change the default editor (Tiny MCE at the mo') to a different editor which provides a search facility to track down specific code?


Top
 Profile  
 
PostPosted: Fri Nov 18, 2011 11:59 pm 
User avatar
Joomla! Enthusiast
Joomla! Enthusiast

Joined: Wed May 09, 2007 3:44 pm
Posts: 152
If you are using the Beez2 Personal Template, you can make the following changes to modify the template. Remember, you are changing core files, so you will have to make the changes again when Joomla Updates are installed, unless someone knows a way around this. (I'd like to know if there is a way around it, being a default template)

Remove White Space at Header
personal.css (Line 33)
Code:
#header
{
   padding-top:1.0em
}

Disable Font Switching
index.php (Line 128)
Code:
<!-- Disable Font Switching -->
                                     <!--<ul class="skiplinks">
                                                <li><a href="#main" class="u2"><?php echo JText::_('TPL_BEEZ2_SKIP_TO_CONTENT'); ?></a></li>
                                                <li><a href="#nav" class="u2"><?php echo JText::_('TPL_BEEZ2_JUMP_TO_NAV'); ?></a></li>
                                            <?php if($showRightColumn ):?>
                                            <li><a href="#additional" class="u2"><?php echo JText::_('TPL_BEEZ2_JUMP_TO_INFO'); ?></a></li>
                                           <?php endif; ?>
                                        </ul>
                                        <h2 class="unseen"><?php echo JText::_('TPL_BEEZ2_NAV_VIEW_SEARCH'); ?></h2>
                                        <h3 class="unseen"><?php echo JText::_('TPL_BEEZ2_NAVIGATION'); ?></h3>
                                        <jdoc:include type="modules" name="position-1" />
                                        <div id="line">
                                        <div id="fontsize"></div>
                                        <h3 class="unseen"><?php echo JText::_('TPL_BEEZ2_SEARCH'); ?></h3>
                                        <jdoc:include type="modules" name="position-0" />
                                        </div> <!-- end line -->
<!-- Disable Font Switching -->

Remove "Right Column" toggle
index.php (Line 183)
Code:
<!-- Remove Right Toggle -->
                              <!-- <h2 class="unseen">
                                                <?php echo JText::_('TPL_BEEZ2_ADDITIONAL_INFORMATION'); ?>
                                        </h2>
                                        <div id="close">
                                                <a href="#" onclick="auf('right')">
                                                        <span id="bild">
                                                                <?php echo JText::_('TPL_BEEZ2_TEXTRIGHTCLOSE'); ?></span></a>
                                        </div> -->
<!-- Remove Right Toggle -->

Change Header Image
edit the following (change attributes to suit)
personal.css (Line 94)
Code:
.logoheader
{
   background:  #ffffff  URL(../images/personal/yourheaderimage.jpg) no-repeat bottom right ;
   color:#fff;
   min-height:200px;
   margin:0px 15px 0px 15px !important;
}

_________________
Brian D. Saylor
IT Admin / Webmaster
Mountville Fire Company No. 1
http://www.mountvillefire.com


Top
 Profile  
 
PostPosted: Sat Nov 19, 2011 9:10 am 
Joomla! Apprentice
Joomla! Apprentice

Joined: Mon Oct 10, 2011 5:12 pm
Posts: 16
Thanks, Brian. Useful stuff - all printed out and in the folder for future reference.

Ian


Top
 Profile  
 
PostPosted: Thu Dec 29, 2011 9:08 am 
Joomla! Apprentice
Joomla! Apprentice

Joined: Thu Nov 18, 2010 5:01 am
Posts: 10
Probie715 wrote:
If you are using the Beez2 Personal Template, you can make the following changes to modify the template. Remember, you are changing core files, so you will have to make the changes again when Joomla Updates are installed, unless someone knows a way around this. (I'd like to know if there is a way around it, being a default template)


Hello,
there is a way to use a copy of Beez2 as template by default.
1) With FileZilla create a new empty folder into your templates folder let's say beez2_modified.
2) With FileZilla copy the files from the Beez2 default template to your desktop.
3) Open the file templateDetails.xml and change the name to beez2_modified
Change <name>beez2</name> at the top of the file to <name>beez2_modified</name>
4) Move all your files to your new folder beez2_modified, you did as said on point 1.
5) Go to the administration of your site.
Go to Extensions => Extension manager.
6) Click the Discover button.
Your template should appear, if it's not the case click the round Discover button on your right.
If it's not working, it was happening with me, change the rights to 777 to your templates and beez2_modified folders.
7) Select your beez2_modified template and click the button Install.
It should be ok and your template should be installed.
8) Select it and make it your default template.
9) Put the rights to 755 to your templates and beez2_modified folders.
Start the changes you've done into your message.

Hope this help, sorry for my poor english, I speak french.

Happy new year to everyone.

Thierry


Top
 Profile  
 
PostPosted: Thu Feb 09, 2012 10:48 pm 
Joomla! Enthusiast
Joomla! Enthusiast

Joined: Fri Aug 06, 2010 1:56 pm
Posts: 105
I will try this fix, thank you.


Top
 Profile  
 
PostPosted: Sat Feb 11, 2012 12:19 am 
Joomla! Enthusiast
Joomla! Enthusiast

Joined: Fri Aug 06, 2010 1:56 pm
Posts: 105
Hi Jetsurfer,

Everything as you posted, except using Beez5

One detail is I now have Position 7 on the wrong side of the template, it is on the right instead of the left 6,8, & 3 are beside it.

I used ?tp=1 to check the positions.

Do you have any ideas where I made a mistake?

Regards,

Andy

I found the answer here,

http://forum.joomla.org/viewtopic.php?p=2588657


Top
 Profile  
 
PostPosted: Wed Sep 26, 2012 5:10 am 
Joomla! Apprentice
Joomla! Apprentice

Joined: Thu May 13, 2010 4:43 am
Posts: 36
:eek: Beware :eek: , the following does not work properly, do not try it. On the surface it will get rid of the font size so you don't see it but it breaks the contact page. To read more about the problem I encountered after doing this see this thread
http://forum.joomla.org/viewtopic.php?f=615&t=756734

kalles wrote:
in your main template index.php from Beez2 is a row
<div id="fontsize"></div>
replace this row like this
<!-- <div id="fontsize"></div> -->

hope this helps


This on the other hand has worked just fine and so far has not created any problems.

icho wrote:
just add style to hidden that div

<div id="fontsize" style="display:none"></div>


Top
 Profile  
 
PostPosted: Wed Feb 20, 2013 12:14 pm 
Joomla! Apprentice
Joomla! Apprentice

Joined: Tue Feb 12, 2013 10:54 pm
Posts: 18
Jetsurfer thank you very much i use your solution and it solved my problem

_________________
http://tamweb.ir
http://swedenweb.net


Top
 Profile  
 
PostPosted: Wed May 15, 2013 11:41 am 
Joomla! Fledgling
Joomla! Fledgling

Joined: Thu Apr 25, 2013 7:24 pm
Posts: 2
Location: Switzerland
Hi all,

My problem is as follows: I don't want to remove this font size switch, I just want to adjust the color to #d1d1d1 that it won't be this prominent on the screen.

Please, notice that I am still new to Joomla and coding (php, JavaScript, html, etc.). Therefore, be patient. This would be my solution, but doesn't seem to work (tried in various ways):

Code:
<div id="fontsize" style="color:#d1d1d1"></div>


Yesterday, I tried to write a code under the var (line ~100):

Code:
'<?php echo JText::_('TPL_BEEZ2_FONTSIZE', true) ?>'.style.color= (209, 209, 209);


Neither seem to work.

Thanks for advice.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 26 posts ] 



Who is online

Users browsing this forum: leolam, rhit and 22 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB® Forum Software © phpBB Group