newcoder1010 Posted November 6, 2021 Share Posted November 6, 2021 Hello, <div class="region region-content"> <div class="views"> .... </div> <h1 class="js-quickedit-page-title page-header">Real Estate Investors1</h1> </div> Currently UI displays h1 tag below views class. How can I move h1 tag above views class? Link to comment Share on other sites More sharing options...
niche Posted November 6, 2021 Share Posted November 6, 2021 I probably don't understand what you're actually asking, but based on on all the available information, in your question, here's what I'd do: <div class="region region-content"> <h1 class="js-quickedit-page-title page-header">Real Estate Investors1</h1> <div class="views"> .... </div> </div> Link to comment Share on other sites More sharing options...
newcoder1010 Posted November 6, 2021 Author Share Posted November 6, 2021 This is css forum. Asking for css solution. Link to comment Share on other sites More sharing options...
niche Posted November 6, 2021 Share Posted November 6, 2021 (edited) never had a reason to do that with css, but this looks to be on point: https://stackoverflow.com/questions/14512119/css-move-an-element-overriding-its-position-in-the-html EDIT: Learned something new! Edited November 6, 2021 by niche Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now