Jump to content

Beans

Members
  • Posts

    10
  • Joined

  • Last visited

Profile Information

  • Location
    Tyler, TX
  • Activity
    Other

Beans's Achievements

Newbie

Newbie (1/14)

3

Reputation

  1. Hi Walrus, If you use the Web Developer plug-in for Chrome you'll have an easier time. Using it I found out that the "hoverable" part of your logo is a div with an ID of "header_logo". If you can find (or create) a rule for this ID in your CSS stylesheet you should be able to change the size.
  2. (1) Yes, that's where I would start. (2) My cart has a class name of "shopping_cart" but it's in the blockcart.css stylesheet. My search has an ID of "search_block_top" and is in blocksearch.css. You can, of course, also wrap these styles in as many @media(max-width) blocks as you need. You are welcome to check out my global stylesheet: https://coffeecityusa.com/themes/ccusa/css/global.css
  3. How well do you know CSS? You can adjust the size of the logo with CSS code for the mobile/tablet versions (based on the screen size) as seen in the above posts. For instance, I use a screen size of 767px for phone-specific code and 1199px and 991px for horizontal and vertical tablet sizes. You can control the size of the search and cart elements the same way. If you don't already have a web developer plug-in for your browser I'd highly recommend it.
  4. Do a search for this line of code in the AuthController.php page: Tools::redirect('index.php?controller='.(($this->authRedirection !== false) ? urlencode($this->authRedirection) : 'my-account')); Change 'my-account' to the page you want it redirecting to (for instance, I changed all mine to 'index' to make users go to the homepage after logging in.) If it doesn't work, try doing the same thing in the AuthController.php that's inside override > controllers > front. You may also need to do what Nemo1 said above (removing one line of code.)
  5. I know of a way to do this; it's probably not the best way but if you're desperate give it a try! 1) Create a new sub-category in the usual way. Name this category whatever you want your CMS page to be called and place it within your drop-down menu wherever it needs to go. You'll now have an empty category page. The goal is to automatically redirect this empty page to your CMS page. 2) Open up CategoryController.php (in controllers/front). Look for something like this: public function init(){ // Get category ID $id_category = (int)Tools::getValue('id_category'); if (!$id_category || !Validate::isUnsignedId($id_category)) $this->errors[] = Tools::displayError('Missing category ID'); // Instantiate category $this->category = new Category($id_category, $this->context->language->id); Beneath that last line add this: if ($id_category==XXX) //Change the XXX to the category ID number that you just created { header('Location: /content/1-delivery-and-order-info'); //Change to your actual CMS page address exit(); } Please note that my Prestashop (version 1.6) has been heavily customized by another programmer, so it may be too different from yours to work.
  6. You can write CSS code that is specifically for a particular screen size. So you might have something like: @media (max-width: 450px) { /*Change max-width to the maximum mobile screen size*/ #header_logo .img-responsive { max-width: 100% !important; /*Change 100% to whatever percent/px size looks good*/ } } You could copy this code for all the different screen sizes you want to accommodate.
  7. I tried this, but removing the maximum width messed up some other images on the site (non-responsive?) What finally worked for me was making the image the size I actually wanted in my editing software and uploading that, then adding this code to global.css: #header_logo .img-responsive { max-width: 150% !important; } I'm hoping this won't have any weird side effects I haven't noticed yet.
  8. Does it look smaller than the image you uploaded? Because that happened to me, and here's what I did: 1) Make the logo the size you want it in your image editing program, and upload that. 2) Open the global.css stylesheet in your theme directory and add this code to the top: #header_logo .img-responsive { max-width: 150% !important; } Doing this made my logo the correct size, but it's also still responsive and shrinks down with everything else when I make the window smaller. Hope this helps!
  9. I did turn on errors but the 500 Internal Error page did not change (and the error log within the Prestashop backend did not show anything wrong.) I will look into hosting errors.
  10. I've been setting up a store in version 1.5.6.2. I enabled multistore per the directions in the docs and everything went fine. Then I created a new store. As soon as the new store was created, all backpages were replaced with a 500 Internal Server Error page. I deleted the new store and everything was fixed. * * * As an experiment, I installed a new version of Prestashop (1.6) at a different address (http://coffeecityusa.com/newsite.) I did not add products or do any customization, all I did was enable multistore. Everything looked fine until I created a new store, then the exact same thing happened: all backpages were replaced with the error (see it here: http://coffeecityusa.com/newsite/5-tshirts). I've googled this problem and can't seem to find anybody have the same issue. Any ideas?
×
×
  • Create New...