Tagged: x
-
AuthorPosts
-
September 10, 2016 at 1:49 am #1168986
5wanParticipantHi,
I’m having an issue with the:
.page .entry-title:before, .page .entry-title:after {}
and
.h-landmark span:before, .h-landmark span:after {}On pages:
http://www.duncanswan.me/home/
and
http://www.duncanswan.me/contact/
as examples.There is horizontal line to either side of the page titles, however the width / margin is different between the two pages.
ie.
On the Contact page, it is full width.
On the Home page there is small margin left and right.What handle will let me adjust both formats to match / have the same width?
Thanks
September 10, 2016 at 1:49 am #1168988
5wanParticipantThis reply has been marked as private.September 10, 2016 at 3:41 am #1169072
ChristopherModeratorHi there,
Provided credentials didn’t work, please check.
Thanks.
September 10, 2016 at 6:10 am #1169169
5wanParticipantThis reply has been marked as private.September 10, 2016 at 8:03 am #1169221
Nabeel AModeratorHi there,
Thank you for providing the credentials. Please add the following jQuery script in your Customizer via Appearance > Customize > Custom > Edit Global Javascript
jQuery(document).ready(function($){ $(".entry-title").wrap('<div class="h-wrapper"></div>'); });Then add the following code in your Customizer via Appearance > Customize > Custom > Edit Global CSS:
.h-wrapper { width: 90%; margin: auto; overflow: hidden; }Don’t forget to clear your browser’s cache after adding the code. Let us know how this goes!
September 10, 2016 at 6:16 pm #1169567
5wanParticipantGreat thanks, one last question.
How do I apply this to the page:http://www.duncanswan.me/the-art/
thanks
September 10, 2016 at 6:22 pm #1169570
5wanParticipantalso, the line on then my page:
http://www.duncanswan.me/books/Are different widths to home / contact / etc.
Any idea whats causing this? Do I have conflicting CSS, or an incorrect handle?
Cheers
September 11, 2016 at 2:55 am #1169880
Rue NelModeratorHello There,
To be able to apply it in the mentioned pages, please update the JS code and use this instead:
jQuery(document).ready(function($){ $(".entry-title, .h-landmark").wrap('<div class="h-wrapper"></div>'); });You might also change the css code and use this:
.h-wrapper { width: 90%; max-width: 1500px; margin: 0 auto; overflow: hidden; }We would loved to know if this has work for you. Thank you.
September 11, 2016 at 3:46 am #1169925
5wanParticipantHi, the above fixed the issue on page:
http://www.duncanswan.me/the-art/But not page:
http://www.duncanswan.me/books/Thoughts?
Thanks
September 11, 2016 at 3:49 am #1169929
5wanParticipantin addition,
the lines on both the ‘Home’ and ‘Books’ pages are different lengths to each other, and the matching lines on (About, Contact, On Writing etc).
The pages ‘Home’ and ‘Books’ are also the only pages with Sliders.
Could this be causing the issue?September 11, 2016 at 5:24 am #1169995
ChristopherModeratorHi there,
I compared provided URLs and they were displaying fine. Please clear cache and check again. If the issue persists, provide us with some screen shots.
Thanks.
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1168986 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
