Beginner CSS help
I have a problem that I can't seem to figure out. I am pretty resourceful at finding information but alas- here I am.
On the website listed below there is a category on the right titled "Metal working for autos, motorcycles and aircraft". If you click "go" on the image the link takes you to the correct area. However, if you click the image itself it takes you to a section of the website pertaining to "cooking" which is obviously not correct.
I am not very skilled with CSS but have dealt with it a little using FTP/Wordpress related stuff.
By inspecting the element in Chrome I found the error in the code:
15 is the category number of cooking and 36 is the category of metalworking, so i need to get to changing that.
SO- I've found my problem but I don't know how to find it and fix it.
I use Filezilla but I don't know how to find that line of code to change it as filezilla only allows you to search for filenames.
In Chrome I think that it says it's in stylesheet2.css but that doesn't even have any href's in it.
So confusing, hopefully someone can help me with this.
It is in an index file. If they are just a straight web page it is index.html or index.htm.
If they use PHP then it is in index.php.
".jhtm" (which is the href document type) is Java HTML. Dynamo Server pages.
We can't tell much without code. But I can tell you to look in the document that has this erroneous link, look for the <a href="category.jhtm?cid=15"></a> that is surrounding the incorrect image, and change it to the correct cid value.
ACTUALLY, now that I think about it.. the link is probably being dynamically generated from a database.. so there is a possibility that the error lies not in the code, but in the database, itself.
Agreed, i never used that shopping cart before but if it lets you make post on the home page for each cat. try remaking the cat and maybe the values will fix. I get bugs like these posting on wordpress where the link they gen points to a messed up page. but reposting the post fixes it.
Originally Posted by WolfShade
Thank you for your responses-
Normally, I would look for an index.html/index.php, etc file- The problem is all the index.html files are 0kb and everything else are files like these-
I'm sure you get it. There are no <a href="category.jhtm?cid=15></a> style codes in sight.
Interesting what you say about the links being generated. That would be less than ideal. How are we supposed to edit anything on our site ourselves? I guess that's the point so the company hosting can make their money. Problem is we already pay for their service but take days to get back to us regarding any issues.
So far what I did was search for file names containing "index" in my database using Filezilla. That showed me 7 files named index.html in different path locations with zero data in them. Am I doing this the wrong way? If not, I appreciate your help either way.
the template files dont have to be called index. they are prob being included using php to build the page piece by peice from a template system. these files could have a number of names.
I've inspected the code of the page and it appears these sections are coded correctly, however there is an issue with the the META tag (see code below) where it is missing the end quote. That might be what is causing the issue, in some cases it will cause issues with links or other elements.
<meta name="keywords" content="Bladesmithing, bladesmith dvd, bladesmithing dvds, bladesmithing book, bladesmithing books, knifemaking, knifemaking dvd, knife making dvd,knifemaking book, knifemaking books, knife making book, books on knife making, blacksmithing dvds, blacksmith dvd, blacksmithing dvd, blacksmithing books, blacksmith dvds, dvd for blacksmiths, dvds for blacksmiths, books for blacksmiths, books on blacksmithing, Francis Whitaker, gun making dvd, gun building dvd, gun building dvds, gun making, gunmaking dvd, gun building, gun engraving, />
I hope this helps.