Title: CSS code &#8211; adjustments to header widget
Last modified: February 23, 2022

---

# CSS code – adjustments to header widget

 *  Resolved [clairevanelsacker](https://wordpress.org/support/users/clairevanelsacker/)
 * (@clairevanelsacker)
 * [4 years, 1 month ago](https://wordpress.org/support/topic/css-code-adjustments-to-header-widget/)
 * Good afternoon,
 * I’ve been searching for a solution for my problem for hours now, but I don’t 
   seem to find one.
 * At the moment working on a website, where the customer wants a yellow bar just
   below the header. At the moment I’ve got one made in the header function, but
   the width is full size, while I want it to be container size. This is also the
   case with the footer (less of a problem tbh). Have tried so many different things,
   but can’t seem to change it. Theme I’m using: Astra.
 * Can anyone help me with a CSS code to change this? Or any other solution?
 * Website: [https://herbouw.miekedewaal.com](https://herbouw.miekedewaal.com)
    
   Picture of what I mean: [https://herbouw.miekedewaal.com/wp-content/uploads/2022/02/Header-line.png](https://herbouw.miekedewaal.com/wp-content/uploads/2022/02/Header-line.png)
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fcss-code-adjustments-to-header-widget%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 1 replies (of 1 total)

 *  [Herman Asrori (BSF)](https://wordpress.org/support/users/bsfherman/)
 * (@bsfherman)
 * [4 years, 1 month ago](https://wordpress.org/support/topic/css-code-adjustments-to-header-widget/#post-15416186)
 * Hi [@clairevanelsacker](https://wordpress.org/support/users/clairevanelsacker/),
 * It seems you have figured it out, as seen in this [screenshot](https://share.bsf.io/4guKwQOQ).
 * Let us know if you need more help, otherwise please mark the topic as `Resolved`.
 * Kind regards,
    Herman 🙂
 * P.S. We recommend reaching out to us through our Support Portal for faster help
   and resolution as mentioned [here](https://wordpress.org/support/topic/read-this-first-17/).

Viewing 1 replies (of 1 total)

The topic ‘CSS code – adjustments to header widget’ is closed to new replies.

 * ![](https://i0.wp.com/themes.svn.wordpress.org/astra/4.12.7/screenshot.jpg)
 * Astra
 * [Support Threads](https://wordpress.org/support/theme/astra/)
 * [Active Topics](https://wordpress.org/support/theme/astra/active/)
 * [Unresolved Topics](https://wordpress.org/support/theme/astra/unresolved/)
 * [Reviews](https://wordpress.org/support/theme/astra/reviews/)

## Tags

 * [css](https://wordpress.org/support/topic-tag/css/)
 * [header](https://wordpress.org/support/topic-tag/header/)

 * 1 reply
 * 2 participants
 * Last reply from: [Herman Asrori (BSF)](https://wordpress.org/support/users/bsfherman/)
 * Last activity: [4 years, 1 month ago](https://wordpress.org/support/topic/css-code-adjustments-to-header-widget/#post-15416186)
 * Status: resolved