• Resolved greglfb

    (@greglfb)


    Hi

    I’ve recently installed a new theme and come across an Insert Pages issue that I didn’t have before. (I think I had page title display disabled before.)

    The titles of inserted pages are coming up way too big (though they’re fine when the inserted page is viewed on its own.)

    EDIT: Also, they’re coming up in a different colour – the colour I have set for my links. I’ve checked the typography settings in my theme, and none of the titles have anything but black assigned to them.

    I’m wondering whether this is a CSS thing, though this is a wild guess as I’m completely out of my depth when it comes to CSS. Could I work around the problem by stripping out references to font sizes in wpinsertpages.css? Or is that a ridiculous idea? Like I said, CSS is black magic to me, lol.

    Ideas would be much appreciated, thanks.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Paul Ryan

    (@figureone)

    CSS tweaks should be done at the theme level instead of in plugin files (because any changes you make to plugin files will be overwritten the next time you update the plugin). Also, the CSS in the plugin is only for the Insert Page popup in the tinymce editor while you’re editing a page, not for anything on the front end of your site.

    It should be pretty easy to change the appearance of titles in inserted pages in your theme CSS. Assuming you’re using the “excerpt” or “title” display, you can focus on that particular element with the following selector:

    .insert-page h1 { font-size: whatever; font-weight: whatever; }

    Thread Starter greglfb

    (@greglfb)

    I don’t understand what’s happening. A page which normally has a title, say, 1 inch high on my screen mysteriously gets a 3-inch high title when inserted with plugin. I wonder if the theme is crowbarring the titles in the normal run of things, and Insert Pages is revealing their true size.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Title sizes messed with’ is closed to new replies.