• Resolved Kristad

    (@kristad)


    Hi I am using the photocrati theme and just want to add padding to the sub-menu area. My test site is http://www.cannedheat.com/cannedheat

    See under products>fireplaces>electric
    I was able to change the font size in the theme options. I see the style needs to be changed in dynamic-style.php and give me the line # but that file says not to make changes in the dynamic-style.php file.
    I thought I could change :

    .menu ul li ul li a:link, {
    display: block;
    padding: 5px;

    but that is not working…
    Any help would be greatly appreciated.
    Thanks 🙂

Viewing 2 replies - 1 through 2 (of 2 total)
  • The type of code to add padding is called CSS and goes into a CSS file not a PHP file.

    Does theme options on the photocrati theme have a place to put custom CSS?

    If not then:

    There are several ways to change your CSS so it isn’t overwritten by an update to the theme:

    1. Create a child theme.
    2. Install a Custom CSS plugin
    3. Install JetPack and activate Custom CSS

    I’ve made some corrections to your CSS code. Notice them.

    .menu ul li ul li a:link {
    display: block;
    padding: 5px;
    }

    Cheers,

    Stacy

    Thread Starter Kristad

    (@kristad)

    Hi Stacy
    Thank you so much!!! That worked great. I put it in a place for custom CSS in the theme. I guess my code was wrong – an extra comma, etc.
    Thanks so much for your help!
    Krista

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘photocrati theme – change padding in sub menu’ is closed to new replies.