68 Classifieds Forums

Modifying the default template in v4.

This is a discussion on Modifying the default template in v4. within the v4 Questions & Support forums, part of the Help & Support category; Thanks for your time. I' ve checked the logo size, its 400 x 75 pixels. The height in CSS under ...


Go Back   68 Classifieds Forums > Help & Support > v4 Questions & Support

Reply
 
LinkBack Thread Tools Display Modes
  #21  
Old 06-22-2008, 05:19 AM
Senior Member
 
Join Date: Apr 2007
Posts: 101
Rep Power: 9
jj30 is on a distinguished road
Default

Thanks for your time.

I' ve checked the logo size, its 400 x 75 pixels.

The height in CSS under logo height is 75p.

Do I have to extra lines within LOGO div to form a larger block so it moves the rest of the lay out down?

Something like this ?

<p id="top_info">

<span class="webdeveloper-display-block-size" style="left: 24px; position: absolute; top: 10px;" title="div #logo 960x164">div #logo 960x164</span>

Do you have an outer block around the logo, sorry new to this.

Many Thanks
Reply With Quote
  #22  
Old 06-22-2008, 05:19 PM
Mike-N-Tosh's Avatar
Moderator
 
Join Date: Jan 2007
Posts: 986
Rep Power: 30
Mike-N-Tosh is just really niceMike-N-Tosh is just really nice
Default

Quote:
Originally Posted by jj30 View Post
<p id="top_info">

<span class="webdeveloper-display-block-size" style="left: 24px; position: absolute; top: 10px;" title="div #logo 960x164">div #logo 960x164</span>
This code doesn't make any sense. I'm also assuming that it is not the complete snippet.

Why are you using a <p> (paragraph) for your logo image? Why are you calling a class (webdeveloper-display-block-size) in the stylesheet, but then you define your style within your html? Do you have a class defined in your stylesheet by this name? Your absolute position statement is between your left and top declarations for your position. Defining an absolute position is ABSOLUTE, so if it is overlapping any other CSS element, then it is because your absolute position placement parameters are wrong.

I would strongly suggest that you keep your content in your layout files and your look (colors, images, placement) in your stylesheet. Mixing and matching will only serve to drive you batty.

-Mike
__________________
Mike-N-Tosh
v3.1.10 Developer IndianaPC.org - A community website
Sandbox v4.0, 4.0.1, 4.0.4, 4.0.8, 4.1b3

Templates for sale | 68 Classifieds Customizations | My blog on 68
Web Hosting | Web Design & Development
I am not a 68C employee, just a user and try to help out
Reply With Quote
  #23  
Old 06-22-2008, 05:26 PM
Senior Member
 
Join Date: Apr 2007
Posts: 101
Rep Power: 9
jj30 is on a distinguished road
Default

Hi

Yes its a snippet.

This something I have copied off the code from Firebug, when I hover over the table, in which the logo is in. I have not inserted anything, except the code you have put on your PDF. Which I am very thankful of.

I can not find this code anywhere in the layout file.

I just think I have got to reposition the logo in that box some how.

Thats how its seems to me.

It transportertransitions.com.
Reply With Quote
  #24  
Old 06-22-2008, 05:56 PM
Mike-N-Tosh's Avatar
Moderator
 
Join Date: Jan 2007
Posts: 986
Rep Power: 30
Mike-N-Tosh is just really niceMike-N-Tosh is just really nice
Default

Try this:
HTML Code:
<p id="top_info">
	Welcome Guest <br /><a href="http://www.transportertransitions.com/login.php">Login</a>, <a href="userjoin.html">Register</a>
</p>
			
<div id="logo">
	<a href="index.php" title="Transporter Transitions">
                <img src="http://www.transportertransitions.com/templates/default/images/TtLogo.gif"width="400" height="75" />
         </a>
</div>
</div>
Copy this code and replace everything AFTER <div id="header"> to BEFORE <div id="tabs'>

I copied your code from your site directly and changed it.

Hope that helps,
-Mike
__________________
Mike-N-Tosh
v3.1.10 Developer IndianaPC.org - A community website
Sandbox v4.0, 4.0.1, 4.0.4, 4.0.8, 4.1b3

Templates for sale | 68 Classifieds Customizations | My blog on 68
Web Hosting | Web Design & Development
I am not a 68C employee, just a user and try to help out
Reply With Quote
  #25  
Old 06-22-2008, 08:12 PM
Senior Member
 
Join Date: Apr 2007
Posts: 101
Rep Power: 9
jj30 is on a distinguished road
Default

Hi

Will that change the position of the logo, by changing the beginning of the line,

What does {$smarty.const.URL}/ mean.

Could you spare a minute more please, to explain where that previous code I copied came from, it's slightly confused me.

Because when I inspect tables/borders in firebug, I can not seem to find them in the layout file.

Thank you for your time.

I am learning slowly and hopefully the piece'swill fit one day.

Just need more time to read up on things, not enough hours in the day.

Cheers
Reply With Quote
  #26  
Old 06-22-2008, 08:16 PM
Lhotch's Avatar
Moderator
 
Join Date: Mar 2006
Posts: 3,653
Rep Power: 90
Lhotch is just really niceLhotch is just really nice
Default

Anytime you see something in curly braces when looking at the template file itself that is a place holder if you will for daya that cones from the scripts. You wont see that when you look at the page source via a web browser, because the scripts have put real data in the place holder and presented it to the web browser.
__________________
Larry.
(Please note: I am not a 68C employee. I am a customer and volunteer who helps with questions where I can and the forums spam free)

Set your site apart from the competition with one of my modules......
Google Map Module | You Tube Module | Google Calendar Module

68 Classifieds Important Links
Customer Area | Issue Tracker | Knowledge Base | User Manuals
Reply With Quote
  #27  
Old 06-23-2008, 12:36 AM
Mike-N-Tosh's Avatar
Moderator
 
Join Date: Jan 2007
Posts: 986
Rep Power: 30
Mike-N-Tosh is just really niceMike-N-Tosh is just really nice
Default

Quote:
Originally Posted by jj30 View Post
Will that change the position of the logo, by changing the beginning of the line,
I'm not following you here, but the code that I posted should correct the issue that you posted.
Quote:
Originally Posted by jj30 View Post
What does {$smarty.const.URL}/ mean.
It's a smarty function which means your site's root url (yoursite.com)
Quote:
Originally Posted by jj30 View Post
Could you spare a minute more please, to explain where that previous code I copied came from, it's slightly confused me.
Welcome to the club. I have no idea where the code that you copied came from.

-Mike
__________________
Mike-N-Tosh
v3.1.10 Developer IndianaPC.org - A community website
Sandbox v4.0, 4.0.1, 4.0.4, 4.0.8, 4.1b3

Templates for sale | 68 Classifieds Customizations | My blog on 68
Web Hosting | Web Design & Development
I am not a 68C employee, just a user and try to help out
Reply With Quote
  #28  
Old 07-11-2008, 09:51 PM
Junior Member
 
Join Date: Jul 2008
Posts: 2
Rep Power: 0
skettle79 is on a distinguished road
Default Adding a logo!

Any help would be much appreciated. I am very new to this software and I am having no luck at adding a logo to my site.
I am running version 4.0.4 HOSTED.

I have followed the advice in the forums and done what I think I need to do to add the logo but it is just displaying a small square rather than the image.

Web address is. www.trailer-mart.co.uk.

Thanks
Reply With Quote
  #29  
Old 07-11-2008, 10:40 PM
Junior Member
 
Join Date: Jul 2008
Posts: 2
Rep Power: 0
skettle79 is on a distinguished road
Default Fixed!

Panic over. I have managed to sort the problem now. Not really sure what the problem was but persisted for another half an hour and now it is working so going to leave it be!
Reply With Quote
  #30  
Old 08-17-2008, 01:59 PM
Junior Member
 
Join Date: Aug 2008
Posts: 8
Rep Power: 0
junkbox is on a distinguished road
Default

Quote:
Originally Posted by skettle79 View Post
Any help would be much appreciated. I am very new to this software and I am having no luck at adding a logo to my site.
I am running version 4.0.4 HOSTED.

I have followed the advice in the forums and done what I think I need to do to add the logo but it is just displaying a small square rather than the image.

Web address is. www.trailer-mart.co.uk.

Thanks
Noticed this as well.
This is due to XHTML version being set to strict.
If you copied and pasted directly from the guide, the quotes are wrong.
This took me an hour or so of heartache. I found it by validating the page.

I would keep the page as strict and fix the offending quotes, or you can alternatively switch to XHTML transitional.
Reply With Quote
Reply

Bookmarks

Tags
customization, templates

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Modifying the default template in v4. Mike-N-Tosh v4 Modules / Modifications 7 10-18-2008 07:25 AM
Template Default antboy v4 Questions & Support 1 03-10-2008 09:54 AM
template will not budge off default ymac v3.1 Questions & Support 3 02-29-2008 12:56 AM
3.0.xx upgrading to 3.1... is this normal? Mikael v3.1 Questions & Support 4 05-23-2006 05:36 PM


All times are GMT -4. The time now is 01:55 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22