Payment method spacing problem issue with PayPal

  • Posts: 102
  • Thank you received: 0
8 years 9 months ago #229207

-- url of the page with the problem -- : www.williamandrewsimon.com
-- HikaShop version -- : 2.6.1
-- Joomla version -- : 3.4.8

If you place an item in the shopping cart, click Next until you get to the page where you select the payment method, then, beside the credit cards, you will see a large space between the word "PayPal" and the sentence, "You can pay by credit card using this payment method." The way they are spaced, neither look like they go with the credit cards (see image).

I know how to get rid of the sentence ("You can pay by credit card...") by adding the following line to my custom CSS:
.hikashop_checkout_payment_description{display:none;}

So, if I did that, how could I add that sentence to the word, "PayPal" so the customer sees something like this to the right of the credit cards: "Pay with credit card via PayPal" or whatever I end up coming up with.

Also, just out of curiosity, if I wanted to line up "PayPal" and the sentence beside the credit cards so there is no space between the two lines, how would I do that?


Brad

Sunday School Teacher Training
www.m2820.com
Attachments:

Please Log in or Create an account to join the conversation.

  • Posts: 4753
  • Thank you received: 644
  • MODERATOR
8 years 9 months ago #229229

Hello,

Several solutions, but in my mind the most simple, is to add this "Pay with credit card via PayPal" in your payement plugin backend Name! But in this method you will lose the two line displaying layout!



Other method, via Css this kind of code :
.Selector : before (or after) {
   content: "Your Text :";
}

For the other point : as we see together I you use the payment plugin name, you will have one line, but via Css if you have two elements (in div for example) you can display your two element with this Css properties :
.Selector {
  display : inline
}

"inline" elements can be display side by side, and not "block" elements.

Hope this will help you.

Regards,

Attachments:
Last edit: 8 years 9 months ago by Philip.
The following user(s) said Thank You: simo90

Please Log in or Create an account to join the conversation.

Time to create page: 0.070 seconds
Powered by Kunena Forum