Codeless
  • Support Home
  • Themes
  • Support
  • WordPress Tutorials
    • How to Start a Blog
    • Best Website Builders
    • Best Small Business Hosting
    • Email Marketing Services
    • Cheap WordPress Hosting
  • Video Tutorials

Community Forums

Codeless slider mobile font sizes

    • 10 years, 4 months ago Most spectacular
      Participant

      Hi there,

      I’d like to increase the codeless slider headings font size in mobile view.

      I inserted this CSS to custom CSS box, but for some reason it doesn’t work (in Chrome inspect tool I can however change the font size with this CSS):

      @media screen and (max-width: 480px) {

      .codeless_slider .swiper-slide .content h1 {

      font-size: 32px !important;

      line-height: 32px !important;

      }

      }

      Is there a way to adjust codeless slider font sizes in mobile? Thanks!

    • 10 years, 4 months ago Ruco
      Keymaster

      Hello,

      You must delete or change the same lines at /css/bootstrap-responsive.css file (line 1361):

      .codeless_slider .swiper-slide .content h1{
          font-size:16px !important;
          line-height:26px !important;
        }

      As there is used ‘!important’, the css code you added at the custom css box isn’t recognized.

      Best regards!

    • 10 years, 4 months ago Most spectacular
      Participant

      Great,

      Thanks for the solution :).

    • 7 years, 7 months ago mbettenhausen
      Participant

      Expired

      Hello. I’ve been messing around with this workaround for a few hours and I’m having no luck. Working on a holding site at trinityrebar.com – when I do as instructed above, I do not get larger type in the mobile slider.

    • 7 years, 7 months ago Mirela
      Participant

      Hello,

      Please add this code into your custom css box, to change the font size in mobile:

      @media (max-width: 480px){
      .codeless_slider .swiper-slide .content h1 {
          font-size: 26px !important;
          line-height: 36px !important;
      }}

      Edit the values to your wish.

      Best regards!

    • 7 years, 7 months ago mbettenhausen
      Participant

      Expired

      Hello Mihaila. I added the custom CSS you sent. Still is not working. Any thoughts on why not?

    • 7 years, 7 months ago Mirela
      Participant

      Hello,

      Do you have other css added in the custom css box? Perhaps some enclosed bracket can make it not take effect. Please add some valid wp credentials in your profile (This topic has a different author so if you send in a private reply here, the data will be visible to the author).
      Read this article for more details: https://support.codeless.co/?ht_kb=add-private-login-credentials

      Best regards!

    • 7 years, 7 months ago mbettenhausen
      Participant

      Expired

      I have added my wp credentials to my profile. Please take a look and let me know what you think about the custom css.

    • 7 years, 7 months ago Mirela
      Participant

      Hello,

      The code is pasted correctly and there are no errors or warnings. There is another chunk of code that is taking priority and not letting the custom css have effect. Please go to file css/bootstrap-responsive.css using a ftp account or your cpanel, and find these lines:

        .codeless_slider .swiper-slide .content h1{
           font-size:18px !important;
           line-height:26px !important;
        }

      Remove the !important from them and save changes.

      Best regards!

    • 7 years, 7 months ago mbettenhausen
      Participant

      Expired

      That fixed it! Thank you so much. It might be a good idea to note this up front to new customers. The h1 text on mobile, is just way too small…at least for my liking. Pointing this out will save everyone a lot of time in the future.

      Cheers,

      Mark

    • 7 years, 7 months ago Mirela
      Participant

      Hello,

      Thank you for your suggestion. I will point it out to our developers to consider for future theme updates.

      Kind regards!

Viewing 10 reply threads

You must be logged in to reply to this topic.

Login

Log In
Register

Renew Support

  • Renew Specular Support
  • Renew Tower Support
  • Renew Folie Support
  • Renew Handel Support
  • Renew June Support
  • Renew Picante Support
  • Renew Thype Support
  • Renew Regn Support

Search Forums

Forums

  • Bygge – Construction Theme
  • Converta – Software Theme
  • Folie – The WordPress Website Builder
  • Handel – Responsive Multi-Purpose Business Theme
  • June WooCommerce WordPress Theme
  • Livecast – Podcast Theme
  • Picante – Restaurant & Food WordPress Theme
  • Regn | Agency & Business WordPress Theme
  • Remake – Minimal Portfolio & Agency Theme
  • Specular – Multi-Purpose WordPress Theme
  • Suggest us Features
  • Tower – Business-Driven Multipurpose WP Theme
  • Vibrance – Photography Theme

Site Links

  • Support Policy
  • Specular Support Forum
  • Video Tutorials
  • Knowledge Base
  • Guides and Reviews

Useful Articles

  • Build a Website
  • Web Design & Development
  • Hosting
  • WordPress

Login

Log In
Register Lost Password