Ecommerce software home
Shopping Cart Software Forum for Ecommerce Templates
 
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

Find us on Facebook Follow us on Twitter View our YouTube channel
Search our site
 All Forums
 Technical
 ASP (Windows server) versions
 Store Name, Address and Phone at top?
Author « Topic »  

DavidX
Ecommerce Template Expert

925 Posts

Posted - 01/26/2023 :  14:30:44  
On our current, older responsive design site, it had a placeholder for Store Name, Address and Phone at top right. I'm setting up the Responsive Design Monochrome template which doesn't appear to have that feature. I'm just wondering if there's something I'm not seeing before I start messing around with adding it in myself? Is it important from an SEO POV?

dbdave
ECT Moderator

USA
10243 Posts

Posted - 01/26/2023 :  15:10:28  
Hi David, I think the idea on this one is to replace the image there in the top left with your company info.
You can create an image and replace that one, or remove the image and add text in that space.

Thanks,
David

DavidX
Ecommerce Template Expert

925 Posts

Posted - 01/28/2023 :  10:51:26  
I could easily add the info to our current logo. I was just thinking along the lines of the added text in the previous version being good for SEO and having that phone number clickable.

dbdave
ECT Moderator

USA
10243 Posts

Posted - 01/28/2023 :  16:58:34  
Hi David, looking at the demo here - http://www.ectdemostore.com/responsivemonochrome/
I see this in the header
<div class="logo"> <a href="index.php"><img src="images/logo.gif" alt="logo" width="270" height="96" border="0"></a> </div>


You should be able to add some html there so you can have your logo and the store name and phone number

<div class="logo"> <a href="index.php"><img src="images/logo.gif" alt="logo" width="270" height="96" border="0"></a>
<div>Your company name</div><div>your company phone</div>
</div>


Add css class, or style as desired

Thanks,
David

DavidX
Ecommerce Template Expert

925 Posts

Posted - 01/30/2023 :  21:18:48  
Thanks, David! I thinks that should get me on my way. Just need to practice my CSS a bit!

dbdave
ECT Moderator

USA
10243 Posts

Posted - 01/31/2023 :  07:01:37  
Hi David, you can style it inline, like so

<div style="font-weight:bold;color:red;font-size:20px;">Your company name</div><div style="font-weight:bold;color:red;font-size:16px;">your company phone</div>

But really, it probaby better to just give them a class and then style in your stylesheet.
This would also allow you to easily style them differently for smaller screens.

<div class="companyname">Your company name</div><div class="companyphone">your company phone</div>

Then in your stylesheet something like
div.companyname {
font-weight:bold;
color:red;
font-size:20px;
}
div.companyphone{
font-weight:bold;
color:red;
font-size:16px;
}

Hope that helps.
David

DavidX
Ecommerce Template Expert

925 Posts

Posted - 01/31/2023 :  14:32:53  
I tried this but I'm not getting it to work. I have this on default.asp:

<div class="logo"> <a href=default.asp><img src="images/logo.gif" width="270" height="96" border="0" alt="logo" /></a>
<div class="companyname">Nostlagia Zone comic Books</div><div class="companyaddress">3535 East Lake Street, Minneapolis MN, 55406</div><div class="companyphone">612-822-2806</div>
</div>

Then, in style.css, I have this:

#header .logo{
padding-top: 3px;
padding-bottom:2px;
}
div.companyname {
font-weight:bold;
color:red;
font-size:20px;
}
div.companyaddress {
font-weight:bold;
color:red;
font-size:20px;
}
div.companyphone{
font-weight:bold;
color:red;
font-size:16px;
}
#header .hdrR{
line-height: 16px;
text-align: right;
margin-top:18px;
}

I've left lines before and after for reference to where I've placed the new ones. I uploaded default.asp and the lines showed up but not where I would want them (as expected). Then, I uploaded style.css and it didn't make any change. I left your settings expecting I would see font color and size changes and then, from there, I thought I'd just start playing with position. Any ideas?

dbdave
ECT Moderator

USA
10243 Posts

Posted - 01/31/2023 :  15:01:01  
I am guessing a cache issue.
Perhaps try with a different browser and see if the changes are there.
Thanks,
David

DavidX
Ecommerce Template Expert

925 Posts

Posted - 01/31/2023 :  19:19:17  
Correct! Thanks again!
  « Topic »  
Jump To:
Shopping Cart Software Forum for Ecommerce Templates © 2002-2022 ecommercetemplates.com
This page was generated in 0.03 seconds. Snitz Forums 2000