• 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

padding etc on the sidebar

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 › Design Tips and Tricks › padding etc on the sidebar

This topic is: not resolved
  • This topic has 6 replies, 2 voices, and was last updated 12 years, 8 months ago by rogerp.
Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • August 21, 2013 at 5:30 am #57870
    rogerp
    Participant

    I am trying to control some of the text widgets on my sidebar.

    What I am trying to achieve is to have the video horizontal with the main body photo and above it have the Social Icons

    I can't seem to find the css to exactly locate the video text widget where I want it and to reduce the padding around the social icons so I can slip it in alongside the page title?

    I hope that explains it clearly?


    Roger
    https://www.rogerperkin.co.uk/
    Check out my Network Automation Training – Training the Network Engineers of the Future

    http://www.rogerlapin.co.uk/magician-hampshire
    August 21, 2013 at 5:48 am #57873
    photastic
    Member

    try adding your style to div#test-50. you can add margin-top to have it aligned but before you do this, move the social icons widget above the movie so you can trial how much margin you need to have it aligned.


    Trying to craft webstuff at Photastic Webdesign
    Learning Genesis by solving unanswered topics

    August 21, 2013 at 6:15 am #57885
    rogerp
    Participant

    Hello again, I am getting there, but I have a minor problem I have 10px padding for div.textwidget which is affecting all the text widgets.

    However I do not want it to affect the video?

    As I am losing 10px all round of video

    thanks again

    Roger


    Roger
    https://www.rogerperkin.co.uk/
    Check out my Network Automation Training – Training the Network Engineers of the Future

    August 21, 2013 at 6:29 am #57888
    photastic
    Member

    in the style for the video widget, you can add : padding: 0px; and if that css comes after your 10 px padding on div.textwidget, the padding should be removed from the videowidget.

    Sometimes it's a matter of putting the css in the right order to achieve another result 🙂


    Trying to craft webstuff at Photastic Webdesign
    Learning Genesis by solving unanswered topics

    August 21, 2013 at 6:30 am #57889
    rogerp
    Participant

    I am getting there now just need to get padding within the text widgets, without affecting the title colour....


    Roger
    https://www.rogerperkin.co.uk/
    Check out my Network Automation Training – Training the Network Engineers of the Future

    August 21, 2013 at 6:34 am #57892
    photastic
    Member

    looking at the code again, you have to target the element like this (I think) :

    div#text-50 .textwidget { padding: 0px; }

    and make sure that line is under the css for the div.textwidget.

    I'm also still figuring out css so I could be wrong 😉


    Trying to craft webstuff at Photastic Webdesign
    Learning Genesis by solving unanswered topics

    August 21, 2013 at 2:34 pm #58014
    rogerp
    Participant

    Must be missing something elementary here!

    div.textwidget {
    padding: 10px; //* this adds 10px to all sides, left, top, bottom, right
    }

    div#text-50 .textwidget { padding: 0px; }

    The second line is not taking effect and the Video widget is picking up div.textwidget.

    So I assume it must be called something different?


    Roger
    https://www.rogerperkin.co.uk/
    Check out my Network Automation Training – Training the Network Engineers of the Future

  • Author
    Posts
Viewing 7 posts - 1 through 7 (of 7 total)
  • The forum ‘Design Tips and Tricks’ 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

© 2026 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