![]() |
|
Home | Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
Thread Tools | Search this Thread | Display Modes |
#1
|
|||
|
|||
![]() Hi!
I want to move the 'Buy' button and price under the thumbnail in the 'Product Detail' view and put a border around these two things - like a pricebox ![]() I tried a few things with custom css but it failed :/ Also I want to move the thumnail to the right side. Here is an example: ![]() |
#2
|
||||
|
||||
![]() Hi,
To change the layout, add this to your Custom CSS: Code:
#view .sp .rc { margin-right: 230px; margin-left: 0px; padding-left: 0; } #view .sp .lc { float: right; } HTML Code:
<!-- Single Product --> <div class="sp"> <div class="lc"> <div class="thmb"> <a href="[product.url direct='0']" title="[product.name]" target="_blank" rel="nofollow"> [product.image tag='1'] </a> </div> <div class="btns"> <a href="[product.url]" class="dfbutton dforange dflarge" title="Buy this product" target="_blank" rel="nofollow">Buy</a> </div> </div> <div class="rc"> <h2><a href="[product.url direct='0']" title="[product.name]" target="_blank" rel="nofollow">[product.name]</a></h2> <p class="desc">[product.description]</p> <div> [product.each_tag]<?php if($nn>1){echo ', ';}?><a href="[tag.link]"><?php echo str_replace("-"," ",$tag->name);?></a>[/product.each_tag] </div> <div class="prc">[product.currency mode="sign"][product.price]</div> </div> <div class="clearingdiv"> </div> </div> <!-- /Single Product -->
__________________
![]() ![]() ![]() ![]() |
#3
|
|||
|
|||
![]() Thanks!
|
#4
|
|||
|
|||
![]() One more thing - i have moved the buy button and the price under the thumbnail but how do I get a border around these two things?
|
#5
|
||||
|
||||
![]() What's the URL?
__________________
![]() ![]() ![]() ![]() |
#7
|
||||
|
||||
![]() Hi,
This Custom CSS should work for you: Code:
#view .sp .prc { padding-top: 5px; border: 10px solid red; border-bottom: 0; } #view .sp .btns { border: 10px solid red; border-top: 0; }
__________________
![]() ![]() ![]() ![]() |
#8
|
|||
|
|||
![]() Wow what a support - thanks again!
Another question: I'm writing unique content on all category pages and product pages but Google haven't indexed any sites yet - can you see anything wrong with the robot settings or anything else? |
#9
|
||||
|
||||
![]() Hi,
Yes, I see a problem. Your canonical link is messed up because of a conflict with the Yoast plugin. I would add the following code to your theme's functions.php file: PHP Code:
__________________
![]() ![]() ![]() ![]() |
#10
|
|||
|
|||
![]() I have now put the code in the buttom of functions.php file - did it help?
Last edited by Mads19 : January 16th, 2014 at 11:44 AM. |
#11
|
||||
|
||||
![]() Hi,
I'm getting this error when I try to connect to your site: Fejl ved etablering af databaseforbindelse Eric
__________________
![]() ![]() ![]() ![]() |
#12
|
||||
|
||||
![]() It's working now. The Yoast issue is fixed.
__________________
![]() ![]() ![]() ![]() |
#13
|
|||
|
|||
![]() Oh that mean that the connection had failed to the database but the problem seems to be gone now
![]() |
#14
|
||||
|
||||
![]() Yoast places the wrong canonical link on store pages.
__________________
![]() ![]() ![]() ![]() |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Removing Price & Buy Button W/ Comparison Lists | stayfitcentral | Problems | 1 | October 6th, 2011 12:46 PM |
Move RESET button on URL Settings page | patagonia | Feature Requests | 1 | January 14th, 2011 07:26 PM |