Jump to content
Sign in to follow this  
starlit

Spacing issue after function included

Recommended Posts

starlit    2
starlit

Hi! I inserted the function 'add_action('pagelines_before_branding_icons','starlit_book');' because I wanted the image link of the book in the header section. I added the following css to it to get it positioned where it is right now div.starlitbook {float: right; position:relative; bottom:240px; right:48px} But as you can see - the nav starts way below now still keeping the space that the book took. How can I get rid off it so it sits nicely under the social icons again and everything moves up. Thank you!

Share this post


Link to post
Share on other sites
Danny    1,327
Danny
Hi Starlit, The issue is that for the book image you're using position:relative, when you should be using absolute. Simply replace your code with the one below [code]div.starlitbook { float: right; position: absolute; top: 100px; right: 48px; }[/code]

Please search our forums, before posting!

Share this post


Link to post
Share on other sites
starlit    2
starlit
@ Danny thank you very much. works great. one more question. Now that I have inserted the function and installed the base theme, I can't seem to choose a template anymore when I add another page or edit existing pages? Any idea what went wrong? thank you

Share this post


Link to post
Share on other sites
Danny    1,327
Danny
Hi Starlit, Would it be possible to post a screenshot of the issue please, I am not quite sure what you're referring too.

Please search our forums, before posting!

Share this post


Link to post
Share on other sites
starlit    2
starlit
Hi Danny! I found the solution. I added something to the name of the Base Theme which was apparently the problem. Thank you.

Share this post


Link to post
Share on other sites
Jenny    33
Jenny
Glad you figured it out! If you consider this topic resolved, please "accept" an answer. Thanks!

Jenny :: Web designer at Simple Mama (follow me at @simplemamacom)

Check out Share Me, a social sharing add-on for DMS that is super simple to set up.

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this  

×