Forum Replies Created
-
AuthorPosts
-
September 25, 2018 at 1:05 pm in reply to: Page title and excerpt displayed in transparent header #1014169
Fixed now using
.phone-info { font-size: 22px; color: #ffffff !important; opacity: .5; padding-top:20px; font-weight: normal; position: relative; top: 50px; } #header_meta { margin-top: -50px; }
- This reply was modified 6 years, 1 month ago by raslade.
September 25, 2018 at 12:37 pm in reply to: Page title and excerpt displayed in transparent header #1014163I’ve made some progress and combined the header widget customisation
add_action( 'ava_main_header', 'enfold_customization_header_widget_area' ); function enfold_customization_header_widget_area() { dynamic_sidebar( 'Excerpt header' ); }
with
function excerpt_as_page_title( ){ return get_the_excerpt(); } add_shortcode( 'excerpt_title', 'excerpt_as_page_title' );
It does mean i’m stuck with a way of using the header widget for my original website strapline now though. Is there a way to use the Header Phone Number/Extra Info and then move the section down using CSS so the logo can remain top left?
Richard
September 24, 2018 at 7:53 pm in reply to: Page title and excerpt displayed in transparent header #1013790Hi Ismael
Yes I’ve used transparent header. Is there a workaround that allows me to include the title container or at least an idea of a way to add it the php files.
Thanks
Richard- This reply was modified 6 years, 2 months ago by raslade.
Great thanks Rikard, yes please close the thread.
Found the fix and for anyone else looking you have to apply the main_color class.
`.main_color .custom-link {
opacity: 0;
}
.main_color :hover > .custom-link {
opacity: 1;
}
‘Hi Nikko
Thanks for looking — the hexagon entitled Defeating Android Locks and Encryption has the following code assigned (see private]
No matter what combination of classes I use I can’t get the opacity to change, for instance
img.training-pathways-link.ls-layer .ls-layer-link { opacity: 0 !important; }
Richard
- This reply was modified 6 years, 2 months ago by raslade.
Hi Nikko. of course and thank you. The rollover is on Android Locks & Encryption
Richard
Perfect, thank you for fixing.
Richard
OK thanks. I’ve tried the code and getting:
FATAL ERROR syntax error, unexpected '{' on line number 8
Thanks Peter, i’ve tried adding but there are some syntax errors. Could you try your end. Also will this add the excerpt below the page title as
ava_after_main_title
is not included?Richard
- This reply was modified 6 years, 2 months ago by raslade.
Hi Basilis
I’ve not seen any change yet so this still needs to be open.
RichardHiya. OK i’ve disabled the plugin that was blocking the editor.
Richard
OK thanks for checking, i’ll see if I can reconfigure Contact Form 7 again.
Thanks Basilis but i’m afraid I don’t have enough php knowledge to implement the changes needed.
ThanksSorry for the delay and yes here’s the info you need.
RichardThanks Ismael. Sorry my fault I meant the 4th slide with the paperwork. You’ll see for a brief half second it goes back to the beginning of that animation.
Hi Ismael, by state I mean the ending of the individual slide. If you play the slideshow you’ll see slide 5 has a brief point where it shows how it looked at the start of the slide.
Richard
It should be loading OK now.
Hi Ismael
Sorry from your reply it’s obvious I didn’t explain exactly what I needed. The whole slideshow needs to continue to loop, individual slides need to hold on their last state before progressing on to the next slide. See link (slide 5) rewinds, albeit briefly.
Thanks
RichardHi Victoria
Sorry for the delay.
I’ve addedautoRewind: false;
to line 1558 but no change.
Also triedthis.autoRewind: = false;
but no change either.Any other thoughts?
RichardOps, sorted the link.
Hi Ismael
Spot on thank you — that works perfectly.
Richard
Hi Victoria
Gbz width is about 1300px and fits evenly with no proportional stretching
uGP is about 1800px and the animation has been resized within the color section and so distorted.Richard
Hiya
Thanks again for looking at this and with a bit of adjustment i’ve figured it out with.av-main-nav:hover > li { opacity: 0.25; } .av-main-nav:hover > li:hover { opacity: 1.0; }
Such a simple fix I feel a bit foolish. Oh well.
RichardHi both
thank you for taking the time to investigate a solution. Unfortunately neither of these are exactly what I’m look for. I need the other non-hover items to dim like the example Mike mentioned, and yes that’s where I saw it first.
Richard
Hi Yigit
I’ve added an account, see below.
Thanks
RichardHiya, I used the post.
Thanks
Thanks Mike that worked a treat and scrolling just fine now.
RichardHi Ismael
Thanks for the suggestion. In the end this script worked a treat, for any one else needing a solution
<script> (function($){ var calc_scroll = function() { var header = $('#header').height(), scroll = $(window).scrollTop(); if(scroll >= 450) { $('#sub_menu1').css('padding-top', '30px'); } else { $('#sub_menu1').css('padding-top', '0px'); } } $(window).scroll(function() { calc_scroll(); }); })(jQuery); </script>
Adjust your scroll height for where the navigation starts and padding for when it hits the top of the browser window
Richard
Thanks Victoria, would you happen to know how to fix.
Thanks
Richard -
AuthorPosts