Forum Replies Created
-
AuthorPosts
-
ChrisrxMember
Amazing thank you Victor, fixed
is there any reason the for the newsletter issue.
ChrisrxMemberJust to add we are using the kickstarter pro theme.
ChrisrxMemberOK Doug,
That worked, creating a separate backstretch-set.js and referencing it got it working.
I really appreciate your help, I have learned something new and will be using it for other pages.
Thank you once again.
Regards
Chris
ChrisrxMemberHi Doug
Thank you have gave a custom name to the backstretch and that now have removed the image completely.
Apologies if i'm missing something simple, with your help i know i am close to resolving this, so an amazing thank you for your help so far.
Just need to find out why the image is now not displaying.
Regards
Chris
ChrisrxMemberAlso to add Doug
the backstretch-set.js looks like this
jQuery(document).ready(function($) {
$(".front-page-1").backstretch([BackStretchImg.src]);
$(".website-page-1").backstretch([BackStretchImg.src]);});
I added the website-page-1 line and the front-page-1 was already in there.
Hope this helps.
Regards
Chris
ChrisrxMemberHi Doug
Currently on the template i showed you the script that similar to above is
wp_localize_script( 'digital-backstretch-set', 'BackStretchImg', array( 'src' => str_replace( 'http:', '', $image
this is taken from the front page template and does not reference the front page only the 'digital' where am i altering the code as the above is not in the original template.
Regards
Chris
ChrisrxMemberHI Doug,
I have changed a few thing around but still can not get this to work, here is the link to the code for the template file, would you be able to advise on what need changing and if i need to amend any other files.
Help is really appreciated.
Regards
Chris
ChrisrxMemberOK Doug
Yes i created a new template and added my new page references, would you be able to give an example of new backstretch set as i can not see where the digital-backstretch-set file is within the theme.
Thank you for your help so far.
Regards
Chris
ChrisrxMemberHi Doug
I have added a website-page.js file and looking over my css and php in the page template there does not seem to be any difference in the code, and when the backstretch is added this is not added to a div only referenced against that div which i have done. I can not see where the issue lies, could you check and see if the changes have made any alterations. If it is helpful i could post my code via pastebin.
ChrisrxMemberThank you Doug, that absolutely resolved the issue, amazing,
Can i ask how i would set the background of the page to only be a colour when scrolled to much, so on homepage when scrolling the the top or bottom of the page you get a grey colour background, but on the website page the image is still visible and not a background colour.
Again thank you for your help, would not resolved this on my own.
Regards
Chris
ChrisrxMemberHi Doug,
Yes compared CSS and PHP, it is the image, so on the front page it is fine the image is fixed when you scroll down, but when you scroll down on the website page the text moves up and the next section move up and above the image instead of the image moving up with the scroll.
It is hard to explain, but you should be able to see it if you compare the first home page and second page.
Regards
Chris
ChrisrxMemberThank you doug, i have replicated the homepage widget section at the moment, and looking to alter the styling, i have run into a few issue's tho, the main image is acting strange - when scrolling it moves up as with the text also, i have also noticed if you scroll up quick enough the whole image is the background from the page, would you be able to take a look at http://www.roxhar.com/websites and shed any light on the issue and how to resolve.
Many thanks in advance.
Regards
Chris
ChrisrxMemberHi Brad
Not fixed, just changed height in CSS, but it has a parallax effect, and acting as a background image for whole page. I would like it to be fixed and act like the front page.
Regards
Chris
ChrisrxMemberChrisrxMemberAdding to this iggy, once i did this it worked fine for desktop view but on mobile the last button now overlays to the next section, did you manage to resolve this?.
Regards
Chris
ChrisrxMemberHi Victor is there any tutorials for adding full width widgets as this is great for specific posts but would like to design it for a service based page.
ChrisrxMemberHi Nick
I have amended the link and it works perfectly, thank you. really appreciated. I would not of thought of this causing the issue.
I appreciate your time.
Regards
Chris
ChrisrxMemberHi Iggy138
I used the widget and styled it within the widget below is what i added.
style="font-size: 7.2rem;
ChrisrxMemberThank you again Christoph, i did not realise this was an option.
This is strange as the demo template for digial pro works on the template.
Regards
Chris
ChrisrxMemberHi Chritoph
I managed to bring back the link but wanted to alter the text of read more to continue reading as i do not no how this was originally changed.
Regards
Chris
-
AuthorPosts