• Resolved srnb

    (@imonlyhappywhenitravel)


    Hi,
    How can I stick the post titles on the homepage (or wherever they appear) instead of them sliding when you go over with mouse?

    The page I need help with: [log in to see the link]

Viewing 7 replies - 1 through 7 (of 7 total)
  • Moderator Kathryn Presner

    (@zoonini)

    @imonlyhappywhenitravel This should do the trick:

    .blog .site-content .entry-header, .archive .site-content .entry-header, .search .site-content .entry-header {
      left: 0;
    }

    Don’t edit the theme files directly, otherwise your changes will be overwritten every time the theme is updated.

    An easy way to add custom CSS is to use the CSS editor included in the Customizer as of WordPress 4.7. Head to Appearance > Customize > Additional CSS to add your custom CSS.

    Thread Starter srnb

    (@imonlyhappywhenitravel)

    Thank you Kathryn, yes I updated the child theme’s css but I’m afraid it didn’t work ??

    Moderator Kathryn Presner

    (@zoonini)

    Hmm. Looking at your child theme’s stylesheet here:

    https://imonlyhappywhenitravel.com/wp-content/themes/pictorico-child/style.css

    I see a syntax error right before the new CSS:

    Could you try removing the extra semi-colon and see if that fixes things? It might be preventing the code loaded after it from being parsed correctly.

    .fl-module.fl-module-rich-text{font-size:90%;;}

    Let me know how it goes.

    Thread Starter srnb

    (@imonlyhappywhenitravel)

    Hi Kathryn, I did but nothing changed ?? this is on desktop btw. Mobile always showed it.

    Moderator Kathryn Presner

    (@zoonini)

    I’m not sure why it’s not working for you – could have something to do with the setup of your child theme, or a plugin might be interfering.

    Could you please try putting the CSS I gave you in the Additional CSS area of your Customizer, as a test?

    Thread Starter srnb

    (@imonlyhappywhenitravel)

    Hi Kathryn,
    Yes,when I put it in the additional css it worked! What does this tell us now, that the css file has an error somewhere? Checked again but couldn’t see and the rest of the scripts work…

    Moderator Kathryn Presner

    (@zoonini)

    Glad it works!

    There could be a number of reasons why it’s not working in your child theme – your child theme could be set up improperly, or perhaps a plugin is interfering somewhere. You’d need to do some troubleshooting to narrow down the cause.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘stick post titles’ is closed to new replies.