Forum Replies Created
-
AuthorPosts
-
Sorry I think we are on crossed lines. I have got rid of the grey by adding this:
@media only screen and (max-width: 767px) { .av_header_glassy.av_header_transparency #header_main { background-color: #ffffff;
Problem solved.
Thanks for you hep
RobHi Andy,
The background doesn’t need to be transparent. I have done other installs with enfold and the white bar at the top on mobiles is white and they look fine. The problem here is the grey I have applied to the transparent header is being applied to the white mobile header. Vigit’s fix above was great, it gives me the same transparrent header as on full screen view except that it is showing the icon for the white background not the one in Theme Options – Transparency Options as it should.
In short on mobiles I either want:
white header (not grey) with main Logo (black)
or
transparrent header with the Transoparency Options logo (white)Thanks
Rob
Many thanks
Rob… Also the top of the headings now appear under the nav bar.
Thanks Yigit
It is now transparent but is showing the wrong icon. ie NOT the one from Transparency Options.
Rob
September 9, 2015 at 3:22 pm in reply to: Copy and paste sections from one Avia page to another #500479Thanks for the quick reply Yigit.
Unfortunately the methods you suggest are going to be too difficult for my clients as they are all elderly retired people. I am looking into using The Events Calendar plugin instead.
https://wordpress.org/plugins/the-events-calendarI assume that will work okay.
Hi I now want to add my new post types to display on a page. I have created a template by copying page.php and renaming it. I have added a PHP comment at the top of the file that states the template’s name. Where do I enter my new code and do I have to delete anything? I only want to display my new post-types in an array on the page not change the appearance. I am following instructions from the aforementioned tutorial but in that he adds them to the basic index page. I want to make sure I don’t damage the theme. This is my code so far.
<?php /* Template Name: Great War Front Page */ ?> <?php global $avia_config; /* * get_header is a basic wordpress function, used to retrieve the header.php file in your theme directory. */ get_header(); if( get_post_meta(get_the_ID(), 'header', true) != 'no') echo avia_title(); do_action( 'ava_after_main_title' ); ?> <div class='container_wrap container_wrap_first main_color <?php avia_layout_class( 'main' ); ?>'> <div class='container'> <main class='template-page content <?php avia_layout_class( 'content' ); ?> units' <?php avia_markup_helper(array('context' => 'content','post_type'=>'page'));?>> <?php /* Run the loop to output the posts. * If you want to overload this in a child theme then include a file * called loop-page.php and that will be used instead. */ $avia_config['size'] = avia_layout_class( 'main' , false) == 'entry_without_sidebar' ? '' : 'entry_with_sidebar'; get_template_part( 'includes/loop', 'page' ); ?> <!--end content--> </main> <?php //get the sidebar $avia_config['currently_viewing'] = 'page'; get_sidebar(); ?> </div><!--end container--> </div><!-- close default .container_wrap element --> <?php get_footer(); ?>
I’ve started using the wp-types plugin will that be ok? There is a good tutorial to follow on YouTube called “WordPress Custom Post Types and Custom Fields – Part #1 – Setting up custom post types and fields” (sorry link embeds wrong video)
- This reply was modified 9 years, 4 months ago by fanlokbun.
Thanks Ismael but it doesn’t seem to work. It must be something I am doing wrong. The client is happy with the way it is now so we can leave this one unresolved.
Thanks again for you help.
Rob
Thanks Yigit. Sorry I’m still being a bit dim. I added the above to my custom css but it didn’t do anything.
http://www.edendesignandinteriors.co.uk/design-portfolio/
You can see the labels on large screens but I have hidden them again on mobiles. I have both queries in my custom css at the moment:/* hide masonry labels */ @media only screen and (max-device-width: 1024px) { figcaption.av-inner-masonry-content.site-background { display: none; }} /* masonry smaller labels */ @media only screen and (max-device-width: 1024px) { .av-masonry-entry .av-masonry-entry-title + .av-masonry-entry-content { padding: 1px; font-size: 12px; }}
Thanks I’ve done that.
Hi Ismael I have purchased the theme. Do I need to to enter the license info anywhere?
Thanks
RobSorry to be a bit dim Ismael, when you say inside the media query where is that? I tried theme custom css and the stle.css but it didn’t work.
Thanks
RobHi Rikard,
There is nothing to see as I have them hidden. It is probably just the font size and spacing. What would be the css to reduce them to normal paragraph font and small padding.
Many thanks
Rob
Nice one! What an excellent system. This theme just gets better and better.
Thanks
Just the job. Many thanks Elliott
Thanks Yigit
Hi Yigit,
Thanks but I had already found and tried this solution it only aligns left. It also doesn’t align left on mobile devices which is where the problem is worst otherwise I would have use it.
What I really want is a div to fill the space left of the logo where I can have a repeating image as per screen grab. If this is not possible please supply your code again that will align the logo absolute left on mobile devices too.
Thanks
Rob
Hi Elliott,
See this screen grab I have marked where I want the repeating image. I want three stripes to extend from the logo to the edge of page.
Thanks
RobThanks Elliott but I don’t want it across the whole bar only left of the logo to the left hand edge.
Rob
Thanks a lot Yigit. I would like to know what the problem is at my end. This is the third Enfold theme I have installed. The first was no problem (22nd May) but I did one yesterday that the zip fell down on the long file names the same as this one today. I will be installing it again on another site very soon so it would be good to find out what the problem is. I have used WinRAR and 7-zip and both had the same errors plus Wordprees rejected the zip upload.
Great theme though hence four purchases and more to come.
Thanks
This reply has been marked as private.Hi Yigit,
No I have tried installing the enfold.zip through WordPress and it fails. When I unpack enfold.zip I get the same errors as above (which is the install only file from Themeforest).
Thanks
Rob
Many thanks Yigit. That fixed it.
-
AuthorPosts