helenium7 Posted November 23, 2017 Share Posted November 23, 2017 Hi, I'm a long term user of OSC > 10 years) and have just installed 2.3.4.1 and configured it to look just as I want it with ONE exception. The shopping_cart.php page looks incongruous and out of place with the rest of my site. The conflicts and priority rules of the stylesheet and the theme switcher (and I have added a few) are bewildering. In shopping_cart.php (in the main directory not the language file) I have changed (about line 35) <div class="contentContainer"> <h2><?php echo TABLE_HEADING_PRODUCTS; ?></h2> <div class="contentText"> to read <div class="contentContainer"> <h2><?php echo TABLE_HEADING_PRODUCTS; ?></h2> <div class="productListTable"> This changes the page style to be much more like the rest of the site - it gets rid of the bold and underlined product links and the background in better BUT I CANNOT CHANGE THE COLOUR OF THOSE (product) LINKS FROM BLACK AND IN THE WRONG FONT, I have tried inline divs, styles, setting them in css. . . you name it! Suggestions would be greatly appreciate please. Link to comment Share on other sites More sharing options...
♥raiwa Posted November 23, 2017 Share Posted November 23, 2017 You shouldn't use the official 2.3.4.1 package. It's outdated. Use the responsive community version instead. You can download it here: https://github.com/gburton/Responsive-osCommerce/archive/master.zip It is optimized for mobiles and for PHP7. I guess you are on time to begin with a new installation and it's worth, even you have to redo some customizations. rgds Rainer About Me: http://www.oscommerce.com/forums/user/249059-raiwa/ Need help? How To Get The Help You Need Is your version of osC up to date? You'll find the latest osC community version CE Phoenix here. Public Phoenix Change Log Cheat Set on Google Sheets Link to comment Share on other sites More sharing options...
MrPhil Posted November 23, 2017 Share Posted November 23, 2017 I agree that you should move to osC 2.3.4BS Edge, but in the meantime, you should be able to customize text font, color, and decorations (underline, etc.) in CSS. You must not be putting your overriding CSS statements in the right place, or you're not properly writing the selectors. Use some sort of browser debug tool to examine the HTML and CSS in use for a particular element, and see if your CSS changes are either overridden by something stock (they appeared too early) or your selector is wrong and they're not even being considered. You might also need to add something like !important in some cases. Link to comment Share on other sites More sharing options...
helenium7 Posted November 24, 2017 Author Share Posted November 24, 2017 Look, that is not helpful. The current guidance on the OSCommerce website is quite clearly to use 2.3.4.1 - (see screen grab) - maybe you should sort out among yourselves what version you promote? I just did what you yourselves collectively recommend. What am I supposed to do? Mr Phil, thanks for the guidance on css etc. In fact the formatting was being overridden and is now sorted. Link to comment Share on other sites More sharing options...
ArtcoInc Posted November 24, 2017 Share Posted November 24, 2017 @helenium7 If you've been on this forum for any length of time, you'd know that there is a long running issue (years, in fact) regarding the 'current' release of osCommerce. Yes, the web site says that 2.3.4.1 is the latest 'official' release. However, 2.3.4.1 is just a hot-fix to version 2.3.4, which is several years old. The community (lead by @burt) got together and made the Responsive version of osCommerce. As the name implies, it is responsive, meaning it will adjust how the store is displayed on a phone, a tablet, or a desktop. osC 2.3.4.1 does not! With the world moving more and more to mobile devises, this is very important. In addition, the Responsive version (sometimes called the Bootstrap version, or the community version) is PHP 7 ready. Any store built on 2.3.4 WILL CRASH when your host upgrades their version of PHP. Also, the Responsive version is much more modular, meaning you can turn features on or off, and even add new features, all without changing any code. So, the advice that @raiwa and @MrPhil gave you IS helpful. Yes, the latest 'official' version is 2.3.4.1. Yes, this is an issue that has been going on for several years. And yes, you do not need to follow their advice. It's your store, do with it as you wish. Link to comment Share on other sites More sharing options...
ruden Posted November 24, 2017 Share Posted November 24, 2017 Use the DevTools in browser. Error! Attribute color:#663333 not allowed on element a at this point. The font element is obsolete. Use CSS instead. In stylesheet.css a {color:#663333; text-decoration: none; } Link to comment Share on other sites More sharing options...
helenium7 Posted November 25, 2017 Author Share Posted November 25, 2017 Thanks Ruden, that is much better! Link to comment Share on other sites More sharing options...
helenium7 Posted December 4, 2017 Author Share Posted December 4, 2017 Well guys, I have taken your advice despite my initial annoyance having installed the officially recommended version and done all the various config stuff. So many thanks @raiwa and @MrPhil and ArtcoInc for your inputs - the responsive version functions well - osC 2.3.4BS Edge -and is all up and running with my various modules installed without a hitch. Having a single user.css file for appearance is helpful too (although a little tricky to get right . . . I think I am there now). Link to comment Share on other sites More sharing options...
allaboutwicker Posted December 4, 2017 Share Posted December 4, 2017 @helenium7 Site looking good, but if you are going to be taking customer info and especially payments online, I would highly recommend getting an SSL cert on site ASAP HTH Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.