Skip to content
GeneratePress
  • Home
  • Premium
  • Site Library
  • Install
  • Help
    • Documentation
    • Support Forum
    • Contact
  • Log In
GeneratePress
  • Home
  • Premium
  • Site Library
  • Install
  • Help
    • Documentation
    • Support Forum
    • Contact
  • Log In
  • Log In
  • Free Support

[Resolved] Bigger logo in the home page

Home › Forums › Support › Bigger logo in the home page

  • This topic has 8 replies, 2 voices, and was last updated 3 years, 11 months ago by Leo.
Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • April 29, 2017 at 4:15 am #311890
    Minh

    Hi,

    I have a logo that is 300*300px (optimized for retina) and I want to make the logo bigger (that is 150px * 150px) ONLY in the home page, while in the rest of the pages it will be 100x100px. How can I do this (without affect the size in mobile view)?

    Thanks,
    Minh.

    GeneratePress 1.3.46
    GP Premium 1.2.96
    April 29, 2017 at 8:48 am #311963
    Leo
    Staff
    Customer Support

    Hi Minh,

    Try this CSS:

    @media (min-width:769px) {
        .home .header-image {
            width: 150px;
            height: 150px;
        }
    }

    Adding CSS: https://docs.generatepress.com/article/adding-css/

    Can you provide a link to your site if this doesn’t work? Thanks!

    Documentation: http://docs.generatepress.com/
    Adding CSS: http://docs.generatepress.com/article/adding-css/

    April 29, 2017 at 8:50 am #311964
    Leo
    Staff
    Customer Support

    I adjusted the code slightly above so make sure you get the latest version πŸ™‚

    Documentation: http://docs.generatepress.com/
    Adding CSS: http://docs.generatepress.com/article/adding-css/

    April 29, 2017 at 10:16 pm #312116
    Minh

    Hi Leo,

    The CSS is not working. The demo site link here: http://98d0c081.ngrok.io/
    Please have a look.

    Thank you so much!

    April 29, 2017 at 10:37 pm #312129
    Leo
    Staff
    Customer Support

    The page is not working for me. Can you double check?

    Documentation: http://docs.generatepress.com/
    Adding CSS: http://docs.generatepress.com/article/adding-css/

    April 29, 2017 at 11:00 pm #312131
    Minh

    Sorry Leo, this is it! http://aec7e2f1.ngrok.io/

    April 29, 2017 at 11:35 pm #312135
    Leo
    Staff
    Customer Support

    Hmm I don’t see the CSS being added.

    Are you using a caching plugin by any chance?

    If not how are you adding the code currently?

    Documentation: http://docs.generatepress.com/
    Adding CSS: http://docs.generatepress.com/article/adding-css/

    April 29, 2017 at 11:41 pm #312137
    Minh

    I’m using Local to develop the site and Live Link function to share the site. Maybe that’s the reason the CSS code is hidden. I’m sorry for that. I’ll get back to you when I move the site to public hosting.
    Cheers.

    April 29, 2017 at 11:43 pm #312139
    Leo
    Staff
    Customer Support

    All good. Let me know πŸ™‚

    Documentation: http://docs.generatepress.com/
    Adding CSS: http://docs.generatepress.com/article/adding-css/

  • Author
    Posts
Viewing 9 posts - 1 through 9 (of 9 total)
  • You must be logged in to reply to this topic.
Log In

Common Issues

  • Missing style.css
  • Updating errors
  • Plugin Install Failed

Useful Articles

  • Installing GP Premium
  • Installing GeneratePress
  • How to add CSS
  • How to add PHP

GeneratePress

  • About
  • Premium
  • Site Library
  • Gutenberg
  • Affiliates
  • Reviews
  • Brand Assets
  • Blog
  • We’re Hiring!

Support

  • Documentation
  • Contact Us
  • Support Forums
  • Fastest WordPress Theme
  • Changelogs
  • Legal
  • Donate
  • Translate

Popular FAQs

  • Install GeneratePress
  • Installing GP Premium
  • Missing style.css
  • Plugin Install Failed
  • Adding CSS
  • Adding PHP
  • WordPress Hosting

Social

  • Facebook
  • Twitter
  • WordPress
  • GitHub
Made with on Vancouver Island
  • Home
  • Premium
  • Site Library
  • Install
  • Contact
  • Support Forum
  • Documentation
  • Account
  • Checkout