• Resolved JustAsking

    (@catenacreations)


    Trying to make the Google monster happy today.

    My Google mobile usability score for my Simple Sitemap page is 84, becuase the links are too close together. I would like to add some line spacing, and maybe make the font a bigger, to do this. However, I don’t see a style sheet associated with this plug-in.

    If I change the CSS for the links as it stands, it will change the links throughout my website. I can’t have that.

    Can you please help provide some code for just the plug-in? Thanks!

    https://www.ads-software.com/plugins/simple-sitemap/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author David Gwyer

    (@dgwyer)

    You should be able to add more CSS specificity to the lists contained inside the sitemap. There are classes and id’s added to the sitemap markup for you to utilize via CSS.

    Thread Starter JustAsking

    (@catenacreations)

    Well, you are assuming that all of us can write CSS code from scratch, and we know exactly what you’re talking about. Sorry, I can’t. I’m a designer, not a programmer.

    I know enough CSS to look at it and modify it. I saw the classes and looked everywhere for them so I could modify them. The plug-in folder has a php file, 4 png files, and a Twitter icon. No CSS style sheets. All the CSS points to that in styles.css. If I modify this for the sitemap page, I will modify it throughout the site. I can’t do that.

    I do not know CSS well enough, however, to rewrite this or create the code needed without doing a great deal of research and testing.

    I guess I will figure this out another way since you’re not going to help. Good to know in the future.

    Plugin Author David Gwyer

    (@dgwyer)

    Take a look at the HTML markup for the outputted sitemap. You’ll see there are CSS id’s and classes you can use to create styles specific to the links just in the sitemap rather than sitewide.

    There aren’t any style sheets included with the plugin on purpose so the sitemap blends in with your theme styles by default, but you have the options to add styles to alter the sitemap if needed (as in your case).

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Line spacing and font size’ is closed to new replies.