Our site www.viart.com site is operated by latest Viart Shop 5 with default Clear design
Topic Information
jojo (Guest)
jojo (Guest)
After creating my FAQ page & changing the font colour (fashion.css) to 2 shades of pink for normal & hover I have now found that an embedded file called 'articles.php?category_id=4' has overridden the CSS & the colour is actually blue.
 
I use firefox add ons to look at the CSS & it tells me the file embedded is named "Embedded Styles from http://www.websitename/articles.php?category_id=4".
 
The problem is I cannot locate this PHP file in the root folder, or anywhere for that matter.
 
Has anyone else encountered this problem before & if so what is the solution.
 
Any advice would be greatly appreciated.Wall Bash
 
jojo (Guest)
jojo (Guest)
Ooops! I do not know how to edit the above; I replaced actual website name with "websitename" so the link does not work.
 
Just to explain I did this because when I was evaluating CubeCart I posted the test URL to a forum when asking a question, within 2 days google had the site listed & I do not want to repeat the same mistake on a site that is not yet complete.
 
Still need assistance with initial problem though
 
Broad grin
 
jojo (Guest)
jojo (Guest)
wow!
 
so nobody has came across this problem before?
surprising meShock
 
jojo (Guest)
jojo (Guest)
Wall BashWall BashWall BashCan no-one help?Wall BashWall BashWall Bash
 
SajMalik
SajMalik
jojo - clearly not.
 
Save the headache and put in a support request to Viart Wink
 
Ned
Ned
Jojo, I think the Firefox "add-on" might be misleading you.
 
The url called '..../articles.php?category_id=4' doesn't actually "overwrite" the CSS. Its just pulling category 4 from the database through the articles php code.
 
Get the page up in Firefox and if you do a "control+U" to look at the page source it will show the css file actually used in the page makeup and any other css used for display within that page.
 
Looking at the ViArt demo site it seems that "fashion.css" is the only source used but it might be that you've changed the templates to include other code?
 
I would suggest that its good practice when making modifications within ViArt to always copy the style sheet you use within the styles folder to a new name and then change the CMS > Layouts setting to that new file and work on this new file to create changes. This way if you upgrade the new file and all your work is not overwritten.
 
You might also like to look at http://www.viart.com/new_template-how_to.html for best practice with templates.
 
dmaui
dmaui
JoJo,
 
Occasionally I've found with Viart some stray inline styles in the template files. The answer, if I understand your question, is yes, those inline styles will override what you have defined in your linked style sheet. Your option is to either remove the inline style, or make it what you want.
 
Definitely backup your file before modifying, tho. Sometimes removing styles in Viart can have unexpected (bad) consequences.
Last modified: 13 Oct 2008 6:33 PM
 
jojo (Guest)
jojo (Guest)
Hi you guys,
 
I've looked & looked but cannot find the solution.
 
I am resigned to leaving it as it is for now & I may return to do battle with this problem again some time in the future, after all this is a minor issue & not a show stopper.
 
Thanks for taking the time to post possible resolutions for this.
 
When my site goes live (possibly 2 weeks from now) I will post up the URL & hopefully some of you guys can run your critical eyes over it & give me some tips on how I can improve it.
 
dmaui (Guest)
dmaui (Guest)
Another tool I use that has been a lifesave is Stylizer for editing the css. Can't recommend this highly enough.
 
jojo (Guest)
jojo (Guest)
Hi dmaui, I use TopStyle Lite for editing CSS, I have found this tool a very good aid.
 
Is Stylizer a better tool for editing CSS?
What advantage does it have (if any) over TopStyle (free version)?
 
dmaui
dmaui
Jojo, I never used TopStyle, but I think a major difference is being able to see the changes right in the design window as you do them, rather than having to preview in another window. I'm sure there are other differences, but this is one mentioned in the Stylizer testimonials forum.
http://forum.skybound.ca/viewtopic.php?id=2
 
The only disadvantage is that you have to edit the html elsewhere, but I don't have a problem with that, I just open Notepad++ for that.