• Resolved grimza

    (@grimza)


    Hello!

    Please help me to copy ‘primary sidebar’ style to ‘content sidebar’. Then twentyfourteen would have two equal black menus at both sides. Right now it’s black background menu on the left and white background menu on the right ??

    Thanks!

Viewing 4 replies - 1 through 4 (of 4 total)
  • Just reset it
    @media screen and (min-width:783px){
    #content-sidebar {background-color:#0e78c1;height:100%}}

    In general you can look the CSS of the theme from backend. You can open the CSS file of the theme. I can’t explain how, because I have Finnish interface and I don’t know, what texts you have in your WordPress.

    Note. Mobile version below 783 viewport value must have white background. So the color change must remain only for bigger viewport values. Viewport value is not the same as the pixel value of the screen but just a way to calculate reasonable layout for mobile devices.

    Thread Starter grimza

    (@grimza)

    @tapiohuuhaa, thanks! ?? But it seems that:

    #content-sidebar {background-color:#0e78c1;height:100%}

    ..only changing background color. I need to copy all style from left sidebar, so right and left sidebars would be in the same style – color of links, text, font etc

    • This reply was modified 5 years, 3 months ago by grimza.
    • This reply was modified 5 years, 3 months ago by grimza.
    • This reply was modified 5 years, 3 months ago by grimza.

    Then look at the style sheet and search for .primary-sidebar. You can look at the CSS-file from backend.

    Alternatively you can look at the source code and click the CSS-file of the theme. If you click the www-address of the theme’s CSS you get CSS-file opened.

    Thread Starter grimza

    (@grimza)

    Thanks ??

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Copy ‘primary sidebar’ style to ‘content sidebar’’ is closed to new replies.