Support » Themes and Templates » [Theme: Oxygen] Increasing width on posts

  • eloria

    (@eloria)


    Hi! I want to increase the width of the content on my posts. I feel the text is narrow and would like for it to spread out more.

    Website: http://www.eduardoloria.com

    Thank you in advance!

    Ed

Viewing 15 replies - 1 through 15 (of 20 total)
  • Tareq

    (@worthingtech)

    Do you have any widgets displayed in your sidebar?

    eloria

    (@eloria)

    2 widgets on the left sidebar: newsletter sign up and pages list. Thank you!

    Tareq

    (@worthingtech)

    I’ll install this theme on my local and get back to you. Think it’s a bit of CSS hackery to be honest.

    eloria

    (@eloria)

    Ok thank you so much!

    Tareq

    (@worthingtech)

    Managed to get you a full width post, however the posts image alignment is not perfect.

    eloria

    (@eloria)

    Oh wow, can I see? How did you do it?

    Tareq

    (@worthingtech)

    Your CSS has been minified so please be very careful when you edit it. Ideally make a backup of it first, then open style.min.css

    1. Find (Ctrl+F): .hentry .archive-thumbnail
    2. Add property: float: right;
    3. Find: #content
    4. Change: width to 100%

    That should do it, and the image alignment should be perfect too.

    Tareq

    (@worthingtech)

    Remember this will affect all posts, sitewide + also ensure you’re editing the correct CSS selectors.

    eloria

    (@eloria)

    Should I make a child theme? I think I read about how to do that?

    Thank you so much!!!

    Tareq

    (@worthingtech)

    I would strongly advise you to create a child theme if you haven’t already. More information can be found here.

    Hope your problem is solved!

    Tareq

    eloria

    (@eloria)

    I’ll make the child theme and then do what you suggested! Thank you so much Tareq!

    eloria

    (@eloria)

    For some reason when I install my child theme, it messes up the width of the post already and things appear of center. Is it because I potentially messed with the Oxygen code style sheet? I’ve already deleted and reinstalled both the original oxygen theme and the child and the same problem keeps coming up

    Tareq

    (@worthingtech)

    Hello, sorry for my lack of response today, I’ve been away from my computer for a while.

    Did you import the parent stylesheet using @import?

    I did, case sensitive and everything

    Only imported the style sheet and I just named it Oxygen child

Viewing 15 replies - 1 through 15 (of 20 total)
  • The topic ‘[Theme: Oxygen] Increasing width on posts’ is closed to new replies.