• Skip to main content
  • Skip to forum navigation

StudioPress

  • Shop for Themes
  • My StudioPress

Forum navigation

  • Home
  • General Genesis Discussions
  • StudioPress Themes
  • Genesis Blocks
    • Genesis Blocks
    • Genesis Custom Blocks
  • Retired Themes
  • FAQs
  • Forum Rules
  • Internationalization and Translations
  • Forum Bugs and Suggestions
  • Forum Log In

Are You Using The WordPress Block Editor?

Genesis now offers plugins that help you build better sites faster with the WordPress block editor (Gutenberg). Try the feature-rich free versions of each plugin for yourself!

Genesis Blocks Genesis Custom Blocks

landing page template – css

Welcome!

These forums are for general discussion on WordPress and Genesis. Official support for StudioPress themes is offered exclusively at My StudioPress. Responses in this forum are not guaranteed. Please note that this forum will require a new username, separate from the one used for My.StudioPress.

Log In
Register Lost Password

Community Forums › Forums › Archived Forums › General Discussion › landing page template – css

This topic is: not resolved

Tagged: css, landing page, unordered lists

  • This topic has 2 replies, 2 voices, and was last updated 10 years ago by saralaughs.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • October 29, 2015 at 10:17 am #169489
    saralaughs
    Member

    I have a static front page for the genesis website I'm trying to get into shape. If you look at the page you'll see that the sidebars are at the bottom of the page. You'll also see a variety of widgets in the three footer areas.

    For weeks now I have been struggling to isolate the css that will allow me to change the way unordered lists are formatted. You'll see a tiny little dot as the bullet, and a huge amount of space between items. That is the built in css for (apparently) unordered lists in widgets on the landing page.

    All I really need is the css code that controls these unordered lists, but despite viewing source and inspecting elements in both Chrome and Firefox, I have got exactly nowhere. Could somebody please point me in the right direction? It seems crazy that I've spent so much time trying to find the css specific to the front/landing page, but there you have it.

    Any help much appreciated.

    http://thegildedhour.com
    October 29, 2015 at 10:30 am #169495
    Brad Dalton
    Participant

    When you say landing page are you referring to the front page?

    Most themes include a page_landing.php file and a front-page.php file.

    This is the default CSS on line 197 of style.css

    ol,
    ul {
    	margin: 0;
    	padding: 0;
    }
    

    This is the CSS for widgets

    /*
    Widgets
    ---------------------------------------------------------------------------------------------------- */
    
    .widget {
    	margin-bottom: 40px;
    	word-wrap: break-word;
    }
    
    .widget ol > li {
    	list-style-position: inside;
    	list-style-type: decimal;
    	padding-left: 20px;
    	text-indent: -20px;
    }
    
    .widget ul > li {
    	list-style-type: none;
    }
    
    .widget ul > li,
    .widget ol > li {
    	margin-top: 10px;
    	padding-left: 20px;
    }
    
    .widget li li {
    	border: none;
    	margin-bottom: 10px;
    	padding-bottom: 0;
    }
    
    .widget ul > li:last-child,
    .widget p:last-child {
    	margin-bottom: 0;
    }
    
    
    /*
    Sidebars
    ---------------------------------------------------------------------------------------------------- */
    
    .sidebar {
    	font-size: 14px;
    }
    
    .footer-widgets .widget ul > li,
    .sidebar .widget ul > li {
    	border-bottom: 1px solid #ddd;
    	list-style-position: outside;
    	margin-bottom: 12px;
    	padding: 0 0 12px 24px;
    	position: relative;
    	text-indent: 0;
    }
    
    .footer-widgets .widget ol > li,
    .sidebar .widget ol > li {
    	border-bottom: 1px solid #ddd;
    	margin-bottom: 12px;
    	padding: 0 0 12px 20px;
    }
    
    .footer-widgets .widget li li,
    .sidebar .widget li li {
    	border: none;
    	margin-bottom: 10px;
    	padding-bottom: 0;
    }
    
    .footer-widgets .widget ul > li::before,
    .sidebar .widget ul > li::before {
    	background-color: #e2e8eb;
    	border-radius: 50%;
    	content: "\2023";
    	float: left;
    	font-size: 10px;
    	left: 0;
    	padding: 0 5px 0 6px;
    	position: absolute;
    	top: 2px;
    	vertical-align: top;
    }
    

    It's a lot of CSS so you need to be specific.


    Tutorials for StudioPress Themes.

    October 29, 2015 at 1:40 pm #169547
    saralaughs
    Member

    Braddalton -- thank you so much for that quick response and the css.

    It's just the front page. I used the term 'landing' because looking at the source and the css (what I could see of it) the term 'landing page' showed up in (I believe) the div class. But I'll have to go back to be sure of that.

    Thanks again.

  • Author
    Posts
Viewing 3 posts - 1 through 3 (of 3 total)
  • The forum ‘General Discussion’ is closed to new topics and replies.

CTA

Ready to get started? Create a site or shop for themes.

Create a site with WP EngineShop for Themes

Footer

StudioPress

© 2025 WPEngine, Inc.

Products
  • Create a Site with WP Engine
  • Shop for Themes
  • Theme Features
  • Get Started
  • Showcase
Company
  • Brand Assets
  • Terms of Service
  • Accptable Usse Policy
  • Privacy Policy
  • Refund Policy
  • Contact Us
Community
  • Find Developers
  • Forums
  • Facebook Group
  • #GenesisWP
  • Showcase
Resources
  • StudioPress Blog
  • Help & Documentation
  • FAQs
  • Code Snippets
  • Affiliates
Connect
  • StudioPress Live
  • StudioPress FM
  • Facebook
  • Twitter
  • Dribbble