Post by Jodie-BMP » Thu Mar 08, 2018 10:15 am

Opencart 2.3.0.2
Hi All,
I am very new to using opencart & have come across the first problem that I cannot solve on my own, your assistance will be appreciated.

I want to change how buttons are displayed on our website.
Currently you cannot see that there is an actual button there, you can only see the 'submit' text on the contact us page.
I also have a 'Continue' button that displays the same as 'Submit'.
Therefore could somebody please explain to me how I change the buttons (colour of button background & colour of text)
.
Thank You :)

Newbie

Posts

Joined
Thu Mar 08, 2018 10:06 am

Post by paulfeakins » Fri Mar 09, 2018 5:47 pm

Can you provide a link to the page you're trying to change?

UK OpenCart Hosting | OpenCart Audits | OpenCart Support - please email info@antropy.co.uk


User avatar
Legendary Member
Online

Posts

Joined
Mon Aug 22, 2011 11:01 pm
Location - London Gatwick, United Kingdom

Post by Jodie-BMP » Tue Mar 13, 2018 5:43 am

Hi Paul,

Thanks for your reply to my post, here it is.
http://bmpled.com.au/index.php?route=in ... on/contact

Thanks, Jodie :)

Newbie

Posts

Joined
Thu Mar 08, 2018 10:06 am

Post by IP_CAM » Tue Mar 13, 2018 6:14 am

Well, the Style of this Button does not show, so, you better ask Journal Themes
about this, since all Journal Extensions are highly customized, and no standard
stylesheet.css file exists, where such is 'OC-usually' declared/defined.
It's possibly only the coloring, that makes it invisible...
---
<input class="btn btn-primary button"
---
Good Luck!
Ernie
---
Image

My Github OC Site: https://github.com/IP-CAM
5'600 + FREE OC Extensions, on the World's largest private Github OC Repository Archive Site.


User avatar
Legendary Member

Posts

Joined
Tue Mar 04, 2014 1:37 am
Location - Switzerland

Post by Jodie-BMP » Tue Mar 13, 2018 6:39 am

Hi Ernie,
Thank you but I am lost with your comments, I have only been using opencart for the last 2 weeks. So am extremely new & at the beginners stage of using this platform & I do not have a huge amount of experience (all self taught).
I am assuming I need to look at the html coding for this section of the website, which from what you have said is not a standard template...?

Thanks again!

Newbie

Posts

Joined
Thu Mar 08, 2018 10:06 am

Post by IP_CAM » Wed Mar 14, 2018 2:20 am

which from what you have said is not a standard template
Well, after all, you had to buy this Journal Extension somewhere, because
it does (legally) not come for free, so I wonder, that you don't seem to know about
using such a Theme Extension.
Ernie

My Github OC Site: https://github.com/IP-CAM
5'600 + FREE OC Extensions, on the World's largest private Github OC Repository Archive Site.


User avatar
Legendary Member

Posts

Joined
Tue Mar 04, 2014 1:37 am
Location - Switzerland

Post by cyclops12 » Wed Mar 14, 2018 2:31 am

You could try looking in catalog/view/theme/journal2/css/journal.css?j2v=2.9.0
and find

Code: Select all

.button {
  cursor: pointer;
  font-size: 14px;
  -webkit-transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out, border-color 0.15s ease-in-out;
  /* transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out, border-color 0.15s ease-in-out; */
  padding: 0 12px;
  border: 0;
  line-height: 32px;
  background-color: transparent;
  display: inline-block;
  -webkit-appearance: none;
  text-align: center;
  position: relative;
  }
  .button i:before {
    padding: 0 1px; }
try changing the background-color: "transparent"; to suit your needs

Expert Member

Posts

Joined
Sun Sep 27, 2015 1:10 am

Post by Jodie-BMP » Wed Mar 14, 2018 6:52 am

Hi Cyclops12,
That worked!! Thank you so very much ;D Your instructions were spot on!
Now, could you possibly please let me know how I get the text in the 'button' box to be solid black (bold)?
Thanks, Jodie

Attachments

Opencart Buttons.JPG

Opencart Buttons.JPG (38.61 KiB) Viewed 1792 times


Newbie

Posts

Joined
Thu Mar 08, 2018 10:06 am

Post by cyclops12 » Thu Mar 15, 2018 3:11 am

Hi Jodie,
As instructed in last reply...... underneath

Code: Select all

font-size: 14px;
add

Code: Select all

font-weight: bold;
That should work for you :)

Expert Member

Posts

Joined
Sun Sep 27, 2015 1:10 am

Post by Jodie-BMP » Thu Mar 15, 2018 6:57 am

Hi Cyclops12,
Thank you, I have it all fixed now.
Honestly appreciate the help you have given!
Thanks, Jodie

Newbie

Posts

Joined
Thu Mar 08, 2018 10:06 am

Post by cyclops12 » Thu Mar 15, 2018 6:14 pm

Glad it's all working for you and happy to have been of help.
After all that should be the idea of the forums.... to help others if you can.
Happy selling :)

Expert Member

Posts

Joined
Sun Sep 27, 2015 1:10 am

Post by Jodie-BMP » Fri Mar 16, 2018 10:17 am

It sure is!! ;D
Thank you, I am so pleased I have found this forum to help me out in the ares I cannot problem solve myself.

Newbie

Posts

Joined
Thu Mar 08, 2018 10:06 am
Who is online

Users browsing this forum: No registered users and 1 guest