Jump to content

Can't change topnavbar height


RMIGHTY1

Recommended Posts

Normal height of 23px changes to 41px in cart mode. This is very annoying as it is enhanced by a graphic background I want to use. CSS has not changed it as it appears to be in the page HTML in an inline style. Firefox web-dev html shows:

**************************

<div class="wrapper"><span title="div .wrapper 740x1482" class="webdeveloper-display-block-size" style="left: 21px; position: absolute; top: 8px;">div .wrapper 740x1482</span>

 

<img src="templates/default/header.jpg" alt="" width="730" height="118">

 

<table class="topnavbar"><span title="table .topnavbar 730x41" class="webdeveloper-display-block-size" style="left: 26px; position: absolute; top: 131px;">table .topnavbar 730x41</span><tbody><tr class="topnavbar"><td><a href="index.php">Portal Home</a></td><td><a href="clientarea.php">Client Area</a></td><td><a

*************************

 

(Sorry, no highlighter in this editor and editor only allows me one font color)

 

I have been working on this for 3 days now. Subsequently, I have replaced most program files (except for config) but to no avail. Changing ALL of the template files does not rectify the problem. It seems the HTML is encrypted in the cart.php file. I changed the cart.php file but also no change.

 

Can anyone lead me to an editable html section containing this code so that I can change the two "41px" entries to "23px?"

 

Thank you!!!

 

Ray :)

Link to comment
Share on other sites

if you were to post a link for us to look at may be alot easier for understanding but the topnavbar is in fact sized by a CSS sheet in the code you can see it

 

<table [color="red"]class="topnavbar"[/color]><span title="table .topnavbar 730x41"

 

so in the style.css you are going to want to look for .topnavbar{ 8)

Link to comment
Share on other sites

Thank you for your reply Impact-John. Here are two links:

1. http://www.ezwebstart.biz/cp/ This has the size I want and shows on all pages EXCEPT the cart pages.

2. http://www.ezwebstart.biz/cp/cart.php When I click to begin placing an order. this is what I get.

 

My Custom Template CSS:

table.topnavbar {

width: 100%;

height: 26px;

}

/** .topnavbar added by me **/

.topnavbar {

height: 24px;

}

 

tr.topnavbar {

height: 24px;

/** background-color: #ffffe5; **/

background-image: url('images/bg-nav.gif');

font-weight: 500;

text-align: center;

}

 

The code you displayed, "<table class="topnavbar"><span title="table .topnavbar 730x41" is in the HTML code which overrides the CSS code.

 

My question is, where do I access that HTML code you posted for me to change it there?

 

Thank you John :)

Link to comment
Share on other sites

<table class="topnavbar"><tr class="topnavbar"><td><a href="index.php">Portal Home</a></td><td><a href="clientarea.php">Client Area</a></td><td><a href="announcements.php">Announcements</a></td><td><a href="knowledgebase.php">Knowledgebase</a></td><td><a href="supporttickets.php">Support Tickets</a></td><td><a href="downloads.php">Downloads</a></td></tr></table>

 

 

that is the only source code i can reproduce

Link to comment
Share on other sites

Well, tonight I accidentally reproduced the problem. I come here with egg on my face for the greater common good. The problem I experienced turns out to be as a result of changing my cart preference in the "setup > general settings > ordering" tab from cart to web20cart.

 

That's it. Simple but the solution escaped me for days. I hope this helps someone else with the same issue.

 

Sincerely,

 

~~Ray :)

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated