• Resolved chrisbitz

    (@chrisbitz)


    I’m using Hueman, latest version, and I’ve downloaded the demonstration child theme – hueman-child-master.

    I’ve installed it automatically.

    I’ve got the following in style.css (in the child theme)

    /* Global */
    .mystyle {}
    .post-list .page { width: 33%; float: left; }

    (I don’t know if it should go inside the .mystyle brackets or not, but I’ve tried both ways, and it doesn’t change anything either way)

    Any ideas what I’m doing wrong?

    thanks!

Viewing 5 replies - 1 through 5 (of 5 total)
  • Hey there chrisbitz,

    How are you doing today?

    What are you trying to change on your site? Not sure what .mystyle is supposed to be used for but you should be able to add any CSS code at the end of your child theme style.css in order to make changes.

    Additionally once you add desired changes you could add link to your site so I can check it out.

    Best regards,
    Bojan

    Thread Starter chrisbitz

    (@chrisbitz)

    Thanks for the reply. The .mystyle{} is just what came in the ready made child theme that I downloaded from #
    https://github.com/AlxMedia/hueman-child/archive/master.zip

    I was trying to change it from 2 columns in the post-list to 3, but I can’t see what I’m doing wrong!

    the site is https://freyacat.co.uk/myctest

    thanks again!

    Hey there chrisbitz,

    This can’t be done with CSS. You’re targeting the wrong selector, in order to make it you’re code should look like this:

    .post-list .post, .post-list .page {
    width: 33%;
    float: left;
    }

    But doing this will not display posts in three columns, it will only reduce the two columns width to 33% each, those modifications have to be done in the php by editing blog page template.

    Best regards,
    Bojan

    Thread Starter chrisbitz

    (@chrisbitz)

    Thanks very much, that fixed it!

    The next step is to insert some PHP code, but I’ll start a new topic for that ??

    I’ve marked this resolved.

    Glad I could help ??

    Cheers,
    Bojan

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Not using my child theme’ is closed to new replies.