site responsiveness with my own CSS buttons







p.p1 {margin: 0.0px 0.0px 0.0px 0.0px; font: 13.0px Arial}
p.p2 {margin: 0.0px 0.0px 0.0px 0.0px; font: 13.0px Arial; min-height: 15.0px}
p.p3 {margin: 0.0px 0.0px 0.0px 0.0px; font: 13.0px Arial; background-color: #fffc66}
p.p4 {margin: 0.0px 0.0px 0.0px 0.0px; font: 13.0px Arial; background-color: #fffc66; min-height: 15.0px}
p.p5 {margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px 'Lucida Grande'; min-height: 15.0px}
p.p6 {margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px 'Lucida Grande'}
p.p7 {margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px 'Lucida Grande'; background-color: #fffc66}

Hi


A friend made this CSS button for me to use for my site

Here is the code for it


.ghost-button1 {

  display: inline-block;

  width: 180px;

  padding: 8px;

  background-color: rgba(0, 0, 0, 0.1);

  color: #ecedf4;

  border: 2.5px solid #fff;

  text-align: center;

  text-decoration: none;

  font: 25px Raleway;

  border-radius: 4px;

}


.ghost-button1:hover,

.ghost-button1:active {

  background: #ecedf4;

  color: #545459;

  text-decoration: none; 

}


On my website - http://www.sunnypyburn.co.uk/a-new-page/ you can see two of these buttons “weddings” and “parties”. 


The problem I am having is when I view the website on my mobile phone, the buttons are no longer inside the picture. On this website - https://serato.com/dj/intro the 6 buttons stay inside the picture on both desktop and mobile phone. I want to achieve the same with my own CSS buttons


here is the short code for my buttons which goes inside the container (I have used collum)

<div style="height:509px;" ></div>

<a class="ghost-button1" href="#" >Parties</a>

<div style="height:80px;" ></div>


There is a 509px padding above and 80px padding below the button to hold it in place inside the container. Could this be what is causing the problems?


What can I do to achieve the result that I want?


Thanks


Sunny

Comments

  • Hi,

    to achieve the result you want, you need to contact with your web developer because such customization in reference to Item Support Policy are not included unfortunately. And developer who would do such customization for you, would be responsible for those changes in responsive mode, etc as we can not be responsible for anything what is not included into original theme version.

    Thanks for understanding!
Sign In or Register to comment.
This website uses cookies

We use cookies to personalise content and ads, to provide social media features and to analyse our traffic. We also share information about your use of our site with our social media, advertising and analytics partners who may combine it with other information that you’ve provided to them or that they’ve collected from your use of their services.

Cookies are small text files that can be used by websites to make a user's experience more efficient.

The law states that we can store cookies on your device if they are strictly necessary for the operation of this site. For all other types of cookies we need your permission. This means that cookies which are categorized as necessary, are processed based on GDPR Art. 6 (1) (f). All other cookies, meaning those from the categories preferences and marketing, are processed based on GDPR Art. 6 (1) (a) GDPR.

This site uses different types of cookies. Some cookies are placed by third party services that appear on our pages.

You can at any time change or withdraw your consent from the Cookie Declaration on our website.

Learn more about who we are, how you can contact us and how we process personal data in our Privacy Policy.

Please state your consent ID and date when you contact us regarding your consent.