Title: Style random pages
Last modified: May 24, 2020

---

# Style random pages

 *  Resolved [firstgrip](https://wordpress.org/support/users/firstgrip/)
 * (@firstgrip)
 * [5 years, 11 months ago](https://wordpress.org/support/topic/style-random-pages/)
 * I tried to display random pages under one of the parent’s page with the following
   shortcode:
 * [child_pages cols=”2″ hide_excerpt=”true” skin=”white” link_titles=”true” hide_more
   =”true” siblings=”true” limit=’5′ orderby=”rand” order=”ASC”]
 * But I could not get rid of skin color (although trying to blend with white background)
   and also display title looks too big (something like h2 tag),
 * Although under settings can put in custom css code to resolve this problem, I
   have no knowledge of CSS. Is there any help to remove the skin and shrink the
   title size like normal recent post display.
 * If OK, please put the CSS and html code here for reference and try it out. Thanks.

Viewing 2 replies - 1 through 2 (of 2 total)

 *  [AdventureRidingNZ](https://wordpress.org/support/users/adventureridingnz/)
 * (@adventureridingnz)
 * [5 years, 11 months ago](https://wordpress.org/support/topic/style-random-pages/#post-12882391)
 * Untick the box about loading css in the CC Child Pages settings page. This bit
   should turn the skins off.
 * “If you are not using the provided skins, you can prevent the CSS file for the
   skins from being loaded from the CC Child Pages options under the Settings menu.”
 * Then include the class=”putyourownclassnamehere” in your shortcode and google
   how to style the page items using a class.
 * “If you want to style the child page boxes yourself, you can also specify the
   class parameter. If used, this overrides the span parameter and adds the specified
   class name to the generated HTML:”
 *  Plugin Author [caterhamcomputing](https://wordpress.org/support/users/caterhamcomputing/)
 * (@caterhamcomputing)
 * [5 years, 10 months ago](https://wordpress.org/support/topic/style-random-pages/#post-13064775)
 * That is absolutely correct … the only thing I will add is that you shouldn’t 
   need to turn the skins off as long as you specify the `class` and not the `skin`
   parameter (although if you don’t use the skins anywhere else on the site, it 
   would be a performance boost to not load the unnecessary CSS file).
 * Thanks [@adventureridingnz](https://wordpress.org/support/users/adventureridingnz/)
   for answering questions while I’ve been unavailable 🙂 … it’s much appreciated.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Style random pages’ is closed to new replies.

 * ![](https://ps.w.org/cc-child-pages/assets/icon-256x256.png?rev=3451096)
 * [CC Child Pages](https://wordpress.org/plugins/cc-child-pages/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/cc-child-pages/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/cc-child-pages/)
 * [Active Topics](https://wordpress.org/support/plugin/cc-child-pages/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/cc-child-pages/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/cc-child-pages/reviews/)

 * 2 replies
 * 3 participants
 * Last reply from: [caterhamcomputing](https://wordpress.org/support/users/caterhamcomputing/)
 * Last activity: [5 years, 10 months ago](https://wordpress.org/support/topic/style-random-pages/#post-13064775)
 * Status: resolved