Jump to content

NP3000

Member
  • Posts

    14
  • Joined

  • Last visited

Posts posted by NP3000

  1. Hi, I've added some CSS to allow a font to appear differently on my site: www.nickpointon.co.uk

    However, at smaller mobile screen sizes the word Graphic Designer starts to split allowing the 'r' of Designer to flow onto the next line for example. 

    How can I make sure that the word does not split? 

    Here is the code I'm currently using, I thought that using 'word-wrap: keep-all;' would make sure the word doesn't split but it's not working. Any suggestions would be greatly appreciated. 

    Cheers,

    Nick



    .Marquee * {
      color: white;
      -webkit-text-fill-color: transparent;
      -webkit-text-stroke-width: 1.2px;
      -webkit-text-stroke-color: white;
    font-family: Obviously wide bold;
    font-style: normal;
    font-weight: normal;
    word-wrap: keep-all;
    //  font-size: 60px;
    //letter-spacing: 0.5rem;
    }

    // Mobile H1 text size //
    @media screen and (max-width:750px) 
    { h1 {font-size: 35px;
      line-height: 46px;
    overflow-wrap: keep-all;
        }}

    @media screen and (max-width:750px) 
    { h2 {font-size: 30px;
      line-height: 40px;
      word-wrap: keep-all;
        }}


    h1 em strong,
    h1 strong em {
      color: white;
      -webkit-text-fill-color: transparent;
      -webkit-text-stroke-width: 1.2px;
      -webkit-text-stroke-color: white;
      font-size: 60px;
    letter-spacing: .2rem;
     font-family: Obviously-wide;
      font-style: normal; /*if you want to remove the italics*/
      font-weight: normal; /*if you want to remove the bold style*/
      //text-transform: uppercase; /*if you want to remove the all uppercase or lowercase style*/
    @media screen and (max-width:750px) {
      font-size: 48px;
    word-wrap: keep-all;
    }
    }

  2. Hey Ziggy, thanks for your quick response. 

    The website is www.sessionstudio.com

    I just want to centralise the text and buttons within the banner. And yes, if the whole site can be blurred slightly until the buttons are selected. Or, if the banner could float in front of the whole site until a button is selected then that would be great. 

    Many thanks,

    Nick

  3. Hi, I'm trying to move the position of the buttons in the Cookie Banner to below the text and centred within the banner. Please see the attached image to see what I mean. 

    I've managed to make some edits to the banner with the below code but I don't know CSS well enough to achieve my goal

    Your help would be greatly appreciated.

    If there's a way to blur the background slightly until a button is pressed then this would be extra appreciated! 

    Many thanks,

    Nick



    .sqs-cookie-banner-v2 p, .sqs-cookie-banner-v2 a {
     color: #eb6521 !important;
    }
    .sqs-cookie-banner-v2-accept {
    font-size: 16px !important;
    color: #eb6521 !important;
    }
    .sqs-cookie-banner-v2 {
      height: 200px;
    }
    .sqs-cookie-banner-v2 p, .sqs-cookie-banner-v2 a {
      font-size: 14px;
    }

    image.thumb.png.1a79ebc7cee24fce8b19e6b0043e7f85.png

  4. Hi, can somebody give me the most widely used screen size's used on your media queries please? 

    I'm struggling to get my site to behave as it should on iPhone's, Android phones, tablets and desktop. 

    Every blog and website post has different screen sizes stated in their breakpoint media queries

    Also, should I always use min width as well as max width? Or just one of them?

    Your help will be greatly appreciated! 

    Thanks

  5. Thanks for you reply Tuanphan.

    I will email you with the link to the site. 

    Essentially, when I expanded my browser to the full size of my 27.5" screen, the design expanded proportionately up until about 2/3's of the width and then all the text sizes and formatting went out. 

    Is it because of the site spacing? The Page Width is set to 1920px and Site margin is 10vw

    I'm also having a nightmare with the button sizes at various screen sizes. The code I've added for that is at the bottom of the page.

    The formatting for mobile is looking messed up too. 

    A friend added the below CSS code to each of the screen sizes which has worked but is effecting other parts of the site:  


    @media screen and (min-width: 2304px)
    { h1 {
        font-size: calc(6.5 * 1rem) !important;
      }}


    // // // // // // // // // // // 
    @media screen and (min-width: 2304px)
    { h2 {
        font-size: calc (5.4 * 1rem) 
    !important;
      }}

    // // // // // // // // // // // 
    This code is effecting the titles in the Carousel testimonials section - I cant figure out how to change it. 
    The carousel titles aren't editable in the site styles.
    When I Inspect it, the HTML says that the carousels titles are set to H2. In the editor the text is 1.2px
    I dont know CSS well enough to edit the above code to exclude either the section id or the Testimonials Carousel. 

    @media screen and (min-width: 2304px)
    { h3 {
        font-size: calc(2.6 * 1rem) !important;
      }}

    @media screen and (min-width: 2304px)
    { h4 {
        font-size: calc(1.8 * 1rem) !important;
      }}

    @media screen and (min-width: 2304px)
    { .sqsrte-large {
        font-size: calc(1.4 * 1rem) !important;
      }}

    @media screen and (min-width: 2304px)
    { #siteWrapper .user-items-list-item-container.user-items-list-simple[data-title-font-unit="rem"] .list-item-content__title {
        font-size: calc(1.4 * 1rem) !important;
    }}

    @media screen and (min-width: 2304px)
    { #siteWrapper .user-items-list-item-container.user-items-list-simple[data-description-font-unit="rem"] .list-item-content__description {
        font-size: calc(1.3 * 1rem) !important;
    }}

    @media screen and (min-width: 2304px)
    { #siteWrapper .user-items-list-item-container.user-items-list-banner-slideshow[data-title-font-unit="rem"] .list-item-content__title {
        font-size: calc(2.2 * 1rem) !important;
    }}

    @media screen and (min-width: 0) and (max-width: calc(2303px)) and (orientation: landscape){
    .user-items-list .list-section-title {
        font-size: calc(5.4 * 1rem) !important;
    }}
      
      @media screen and (min-width: 2304px){
    .user-items-list .list-section-title {
        font-size: calc(5.4 * 1rem) !important;
      }}

     

    / / / / / / / / / / / / / / / /
    Buttons code

    //Mobile + Tablet Buttons
    @media only screen and (min-width:719px) (max-width:1023px)
     { .sqs-block-button-element {
       font-size: 8px !Important;
       padding: 0.9rem 0 !important;
            min-width: 90%;
            width: 90%;
          }
        }

    //TABLET BUTTONS
    @media screen and (min-width:1024px) (max-width:1280px) 
    {.sqs-block-button-element {
        font-size: 6px !Important;
       padding: 0.9rem 0 !important;
            min-width: 90%;
           width: 90%;
    }
    }

    //Desktop Buttons
    @media only screen and (min-width:1281px) (max-width:2881px)
     { .sqs-block-button-element {
       padding: 1rem 0 !important;
            min-width: 80%;
            width: 80%;
          }
        }
     

  6. Hi, I need help with making sure the site I'm designing looks good on all screens.

    The site is 90% complete. However, its not displaying correctly at larger screen sizes. I've tried to find the correct css code to allow the site to display properly but I cant find it. 

    I'm not sure if the code that I've already added to address buttons squashing at various screen sizes is conflicting with the whole sites ability to display properly or if its how the site has been designed. 

    Any help would be greatly appreciated. I need to launch the site on Thursday. 

    As its a private client I cant display the url but I can supply it to whoever thinks they can definitely help. 

×
×
  • Create New...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.