Jump to content

FlorioAlagna

Members
  • Posts

    8
  • Joined

  • Last visited

About FlorioAlagna

  • Birthday 05/05/1986

Contact Methods

Profile Information

  • First Name
    Florio
  • Last Name
    Alagna

FlorioAlagna's Achievements

Newbie

Newbie (1/14)

1

Reputation

  1. Hello everyone, as a finishing touch to the shop I'm trying to make it look perfect on all screen sizes. Two areas are giving me trouble: - Homepage Theme Configurator images: as I reduce screen width they first move into two rows and then keep their size. Where can I set them as "width: 33%; height: auto"? - Images within the product description: modifying their HTML code acts buggy: I can set their style width in pixels, but as soon as I use a percentage they look perfect in the preview but the width attribute disappears as soon as I save. Why is that? website: https://lorghi.com/shop Thanks in advance for your advice.
  2. Hey vekia, without necessarily having to open a new topic I was hoping you could help me with an additional thing on that row: would you know how to make it responsive and scale down (or at least make the images to center and then scale down) when horizontal space is reduced? Thank you in advance!
  3. It's .14. Even if that was the case, the option wouldn't be removing www, which was part of my intention, so I don't understand why you're trying to be annoying just for the sake of it.
  4. It was already set but it wasn't redirecting to https, which I am now doing via htaccess.
  5. EDIT: I solved it myself by adding redirection rules to /(prestashop)/.htaccess as well Hey everyone, I'm experiencing an odd issue with htaccess redirection: I'd like the server to redirect everything to https and remove the www Here's my htaccess file: RewriteEngine On RewriteBase / Options +FollowSymLinks RewriteCond %{QUERY_STRING} base64_encode[^(]*\([^)]*\) [OR] RewriteCond %{QUERY_STRING} (<|%3C)([^s]*s)+cript.*(>|%3E) [NC,OR] RewriteCond %{QUERY_STRING} GLOBALS(=|\[|\%[0-9A-Z]{0,2}) [OR] RewriteCond %{QUERY_STRING} _REQUEST(=|\[|\%[0-9A-Z]{0,2}) RewriteRule .* index.php [F] RewriteCond %{HTTP_HOST} ^www\.(.*)$ [NC] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME}/index.html !-f RewriteCond %{REQUEST_FILENAME}/index.php !-f RewriteRule . index.php [L] It's bugging me to no end. Does anyone have any idea why it happens? I'm, guessing it's the htaccess in /shop, how do I have to modify it to force https and www removal? /shop/.htaccess: # ~~start~~ Do not remove this comment, Prestashop will keep automatically the code outside this comment when .htaccess will be generated again # .htaccess automaticaly generated by PrestaShop e-commerce open-source solution # http://www.prestashop.com - http://www.prestashop.com/forums <IfModule mod_rewrite.c> <IfModule mod_env.c> SetEnv HTTP_MOD_REWRITE On </IfModule> RewriteEngine on #Domain: domain.com RewriteRule . - [E=REWRITEBASE:/shop/] RewriteRule ^api$ api/ [L] RewriteRule ^api/(.*)$ %{ENV:REWRITEBASE}webservice/dispatcher.php?url=$1 [QSA,L] # Images RewriteRule ^([0-9])(\-[_a-zA-Z0-9-]*)?(-[0-9]+)?/.+\.jpg$ %{ENV:REWRITEBASE}img/p/$1/$1$2$3.jpg [L] RewriteRule ^([0-9])([0-9])(\-[_a-zA-Z0-9-]*)?(-[0-9]+)?/.+\.jpg$ %{ENV:REWRITEBASE}img/p/$1/$2/$1$2$3$4.jpg [L] RewriteRule ^([0-9])([0-9])([0-9])(\-[_a-zA-Z0-9-]*)?(-[0-9]+)?/.+\.jpg$ %{ENV:REWRITEBASE}img/p/$1/$2/$3/$1$2$3$4$5.jpg [L] RewriteRule ^([0-9])([0-9])([0-9])([0-9])(\-[_a-zA-Z0-9-]*)?(-[0-9]+)?/.+\.jpg$ %{ENV:REWRITEBASE}img/p/$1/$2/$3/$4/$1$2$3$4$5$6.jpg [L] RewriteRule ^([0-9])([0-9])([0-9])([0-9])([0-9])(\-[_a-zA-Z0-9-]*)?(-[0-9]+)?/.+\.jpg$ %{ENV:REWRITEBASE}img/p/$1/$2/$3/$4/$5/$1$2$3$4$5$6$7.jpg [L] RewriteRule ^([0-9])([0-9])([0-9])([0-9])([0-9])([0-9])(\-[_a-zA-Z0-9-]*)?(-[0-9]+)?/.+\.jpg$ %{ENV:REWRITEBASE}img/p/$1/$2/$3/$4/$5/$6/$1$2$3$4$5$6$7$8.jpg [L] RewriteRule ^([0-9])([0-9])([0-9])([0-9])([0-9])([0-9])([0-9])(\-[_a-zA-Z0-9-]*)?(-[0-9]+)?/.+\.jpg$ %{ENV:REWRITEBASE}img/p/$1/$2/$3/$4/$5/$6/$7/$1$2$3$4$5$6$7$8$9.jpg [L] RewriteRule ^([0-9])([0-9])([0-9])([0-9])([0-9])([0-9])([0-9])([0-9])(\-[_a-zA-Z0-9-]*)?(-[0-9]+)?/.+\.jpg$ %{ENV:REWRITEBASE}img/p/$1/$2/$3/$4/$5/$6/$7/$8/$1$2$3$4$5$6$7$8$9$10.jpg [L] RewriteRule ^c/([0-9]+)(\-[\.*_a-zA-Z0-9-]*)(-[0-9]+)?/.+\.jpg$ %{ENV:REWRITEBASE}img/c/$1$2$3.jpg [L] RewriteRule ^c/([a-zA-Z_-]+)(-[0-9]+)?/.+\.jpg$ %{ENV:REWRITEBASE}img/c/$1$2.jpg [L] # AlphaImageLoader for IE and fancybox RewriteRule ^images_ie/?([^/]+)\.(jpe?g|png|gif)$ js/jquery/plugins/fancybox/images/$1.$2 [L] # Dispatcher RewriteCond %{REQUEST_FILENAME} -s [OR] RewriteCond %{REQUEST_FILENAME} -l [OR] RewriteCond %{REQUEST_FILENAME} -d RewriteRule ^.*$ - [NC,L] RewriteRule ^.*$ %{ENV:REWRITEBASE}index.php [NC,L] </IfModule> AddType application/vnd.ms-fontobject .eot AddType font/ttf .ttf AddType font/otf .otf AddType application/x-font-woff .woff <IfModule mod_headers.c> <FilesMatch "\.(ttf|ttc|otf|eot|woff|svg)$"> Header add Access-Control-Allow-Origin "*" </FilesMatch> </IfModule> #If rewrite mod isn't enabled ErrorDocument 404 /shop/index.php?controller=404 # ~~end~~ Do not remove this comment, Prestashop will keep automatically the code outside this comment when .htaccess will be generated again # start ~ module watermark section Options +FollowSymLinks RewriteEngine On RewriteRule [0-9/]+/[0-9]+\.jpg$ - [F] # end ~ module watermark section
  6. Hello everyone, I have disabled the image slider and I would like to display images in the Top section of Theme Configurator to show up side by side (like they do below 768px) and centered . As a css newbie I tried inspecting elements and I have already increased #htmlcontent_top to width: 100% and max-width: 100% but the second image still goes below the first one. I also have no idea how I could center things. The website is https://lorghi.com/shop and it's using a forked version of default-bootstrap with a few modifications. Thanks for your help.
×
×
  • Create New...