Search the Community
Showing results for tags 'theme edit'.
-
Hi *If this is not the right place for this post, I sincerely apologize. Can it be moved to a suitable place in the forum if not? I found some posts on this issue (increasing the size of the logo) but none worked the way I wanted, so through trial and error I figured out solutions for what I wanted done and thought I'll share if someone else might be interested. By only making one small change to a .tpl file and working with custom.css for the rest, I got my shop to look the way I wanted (it is still a work in progress). Let me mention a few thing first: I've used this on Prestashop 1.7.5.1 so I'm not sure if it will work on all 1.7.x.x. With my very limited knowledge, I can't see why not though. I am NOT a coder and I don't know how to code. However, I do search and read a lot which helps me to figure out (some) things. The methods and code used is most probably not 'elegant' nor the absolute right way to do it, but it got done what I wanted. You use these at your own risk! Please don't ask questions like "i want this over there" or "help me get it to look like that" or similar. I can't. I'm just as clueless LOL. I can only do what I've done so far. With all that said, let's begin. This is what I've done to easily increase the size of the shop logo to any size you want (if you don't want to resize the logo, skip this part - the rest is mostly css background changes to various areas of the template eg. headers, wrapper (body), footers). 1) Open to edit header.tpl (found here... /your-store/themes/classic/templates/_partials). Please back up the file first! 2) Find and delete only col-md-2 hidden-sm-down .Keep the " ". <div class="col-md-2 hidden-sm-down" id="_desktop_logo"> It must look like this when you're finished <div class="" id="_desktop_logo"> 3) Save and and upload the file back. 4) Now open to edit custom.css (found here.. /your-store/themes/classic/assets/css). If you don't have one, simply make one with either Notepad++ or just notepad (windows), and save it as custom.css. Then upload it to the directory mentioned and open it to edit. 5) Important!: The rest of this 'tutorial' carries on inside the attached custom.css. Download it to see what I've done. For those wanting to change logo size, please read from line 39 to 61. If you also want to place your logo in the center like i did, read up to line 70. The rest (before and after lines 39 -70) consists of cosmetic changes like background colours for different areas. I have attached a modified version of my own custom.css file (lots of comments and white space) for you to download and look at. You may even use it for your Prestashop and just delete or change values inside as you please. . Hope this helps some people! 🙂 PS: I had to 'clear cache' every.single.time I changed something before I could see the changes. So if something doesn't work for you, try to clear the cache first and then open your front end through the back office. Edit: Changed title to reflect version Edit 2: Corrected some spelling etc. custom.css
-
- 2
-
- background color
- theme edit
-
(and 2 more)
Tagged with:
-
Hi I have a problem to display "total product price only" except of "total price-discount" see this: line 1 is sum of product 1 & product 2 real price without tax and discount = 23,200 line 2 is total discount = 3,480 line 3 is sum of line 1 & line 2 = 19,720 line 4 is line 3 + tax = 20,903 and see this: in first image everything is ok but the second, in the cart, in the green box i want to show line 1 not line 3 ! this is my "theme name/modules/blockcart/blockcart.tpl" code that related to this prob: <div class="cart-prices"> <div class="cart-prices-block"> <span id="cart_block_shipping_cost" class="price ajax_cart_shipping_cost">{$shipping_cost}</span> <span>{l s='Shipping' mod='blockcart'}</span> </div> {if $show_wrapping} <div class="cart-prices-block"> {assign var='cart_flag' value='Cart::ONLY_WRAPPING'|constant} <span id="cart_block_wrapping_cost" class="price cart_block_wrapping_cost">{if $priceDisplay == 1}{convertPrice price=$cart->getOrderTotal(false, $cart_flag)}{else}{convertPrice price=$cart->getOrderTotal(true, $cart_flag)}{/if}</span> <span>{l s='Wrapping' mod='blockcart'}</span> </div> {/if} {if $show_tax && isset($tax_cost)} <div class="cart-prices-block"> <span id="cart_block_tax_cost" class="price ajax_cart_tax_cost">{$tax_cost}</span> <span>{l s='Tax' mod='blockcart'}</span> </div> {/if} <div class="cart-prices-block"> <span id="cart_block_total" class="price ajax_block_cart_total">{$total}</span> <span>{l s='Total' mod='blockcart'}</span> </div> </div> {if $use_taxes && $show_tax} {if $priceDisplay == 1} <p id="cart-price-precisions"> {l s='Prices are tax excluded' mod='blockcart'} </p> {else} <p id="cart-price-precisions"> {l s='Prices are tax excluded' mod='blockcart'} </p> {/if} {/if} I changed "<span id="cart_block_total" class="price ajax_block_cart_total">{$total}</span>" with every value i knew but it didnt work... PLS HELP
- 1 reply
-
- theme edit
- shopping cart
-
(and 2 more)
Tagged with:
-
Dear All Members, I am Aakash running an online Mobile store using PS 1.5. I need help from those who knows how to edit the theme of the site because I want to change the theme from black default color to my own color blocks. Those who knows please reply or contact me on my mail id also at [email protected] Its very urgent so please help me with my concern. Thanks in advance.
- 25 replies
-
- prestashop 1.5.1
- theme
-
(and 7 more)
Tagged with:
-
Dear All Members, I am Aakash running an online Mobile store using PS 1.5. I need help from those who knows how to edit the theme of the site because I want to change the theme from black default color to my own color blocks. Those who knows please reply or contact me on my mail id also at [email protected] Its very urgent so please help me with my concern. Thanks in advance.
- 4 replies
-
- prestashop shop theme edit
- prestashop
-
(and 6 more)
Tagged with: