Forum Replies Created

Viewing 30 posts - 8,521 through 8,550 (of 11,475 total)
  • Author
    Posts
  • in reply to: Return video to homepage after it plays. #919741

    can you please post the whole syntax error – there must be a path behind – isn’t it ?

    Fixing the “Parse error: syntax error, unexpected T_FUNCTION” Error

    There are multiple ways in which you could fix the “Parse error: syntax error, unexpected T_FUNCTION” error. We’ll explore the different methods here, but first, let’s discuss the actual origin of these errors. Basically, the T_FUNCTION error appears whenever there’s some syntax errors within your plugin or theme files. It can either be a non-valid part of your code, or alternatively the plugin or theme is trying to use features of a more advanced PHP version than the one actually installed on your server.

    what php Version is running on your system

    in reply to: Hide page source #919238

    if you have no other chance to make it this way – try.
    Most security experts, however, do not see any sense in such plugins; rather another security risk.
    Read the testimonials on their own site.
    Test it – and report your experience here. – There are no easy answers in this regard except perhaps 42

    in reply to: Fullscreen background image #919236

    And – if you don’t like to determin for each page a background-image – and you can live with a slider – there will be with the same setup a plugin which handels the background.
    See testpage – on every refresh there will be a new background ( the other pages are not adopted to that layout)

    in reply to: Fullscreen background image #919042

    by the way – : this works much better in responsive case than your example page : http://terra-messflug.at/
    pull your browser window smaller and see.

    and you can play with the width of the grid-row on different pages.
    1/3 2/3 etc pp. but all have to have that custom class mentioned above

    in reply to: Fullscreen background image #919041

    each image here : click to enlarge

    1) use the stretched layout on enfold.
    2) logo and navigation on top
    3) header: logo left menu under it
    3a) Footer: dont display footer nor socket
    4) header-behavior : i have taken: Let logo and menu position adapt to browser window and sticky header
    5) goto Layout Builder and mark : “Show element options for developers”

    6) now we had to obtain your very small content
    6a) for each page you have to have that layout here:

    6b) and the grid gets this:

    7) now the css for quick css

    .responsive body {
        background-repeat: no-repeat;
        background-size: cover;
        background-color: transparent;
        height: 100vh !important
    }
    .responsive body.page-id-211 {
        background-image: url(path-to-your-image);
    }
    #header {
        width: calc(100% - 60px) !important;
        background: transparent;
        top: 30px;
        margin: 0 30px;
    }
    .html_stretched #wrap_all {
        background-color: transparent !important;
    }
    #main {
        background-color: transparent !important;
    }
    .main_color, .main_color .site-background {
        background-color: transparent;
    }
    .header_bg {
        opacity: 0.8 !important;
        filter: alpha(opacity=80) !important; 
    }
    .notfullsize .flex_cell.with-background {
        background-color: rgba(255,255,255,0.9) !important;
    }
    #av-layout-grid-1 {
        margin-bottom: 100px !important;
    }
    
    @media only screen and (max-width: 768px) {
    .responsive #top #wrap_all #header {
    margin: 0 30px !important;
    }
    }

    you see here on that css that you can now have for each page a different background-image

    .responsive body.page-id-211 {
        background-image: url(path-to-your-image);
    }

    to have now not a fullwidth grid-row insert this to your functions.php of your child-theme:

    function grid_layout_notfull(){
    ?>
    <script>
    (function($){
        $('.av-layout-grid-container.grid-notfull' ).wrap( '<div class="main_color notfullsize"></div>');
        $('.notfullsize').css({"clear": "both", "width": "100%" , "float": "left" , "position": "static" , "min-height": "100px" });
        $('.grid-notfull').css({"max-width": "1310px", "margin": "0 auto" , "padding": "0 30px"});
    })(jQuery);
    </script>
    <?php
    }
    add_action('wp_footer', 'grid_layout_notfull');

    if you need further assistance – your welcome
    if you have done it send me a link to fine tune it

    in reply to: Hide page source #919020

    i would like to see a page which is online with it.
    i guess there are a lot of security plugins – but nearly 90% goes to the category: snakeoil

    Currently, it has come to refer to any product with questionable or unverifiable quality or benefit.

    A lot of things can be done without the need of a plugin and with the benefit that it will not cost performance
    f.e.
    in htaccess file !
    this is one standard which i have on all my wordpress installs
    On those page which are very important to secure i do a htpasswd / serverside login. etc.

    # Secure your wp-config
    # Disallow access to important files
    <FilesMatch "(^\.|wp-config\.php|xmlrpc\.php|(?<!robots)\.txt|(liesmich|readme)\.*)">
       Require all denied
    </FilesMatch>
    
    # secure htaccess-file
    <files ~ "^.*\.([Hh][Tt][Aa])">
    order allow,deny
    deny from all
    satisfy all
    </files>
    • This reply was modified 7 years, 4 months ago by Guenni007.
    in reply to: Fullscreen background image #919006

    if this is what you like to have – i tell you how to reach it.
    https://webers-testseite.de/naturleben/?page_id=211

    in reply to: Fullscreen background image #918978

    you see the link to the test-page: https://webers-testseite.de/fullbackground/

    in reply to: Hide page source #918952

    no – if someone has a bit of html knowledge it is not possible to hide it.

    What do you want to achieve with this ?

    Enfold offers something “to better reflect your own branding” via filter LINK

    /** All of the Styling options you set in the theme’s Styling options get saved to a file in your uploads folder called enfold.css.
    If you have changed the theme name or something like that you may want to re-name this file to better reflect your own branding. You can use the following function to do just that: */

    add_filter('avia_dyn_stylesheet_file_path', 'avia_change_filename');
    function avia_change_filename($stylesheet){
    return 'myfilename.css';
    }
    in reply to: Fullscreen background image #918937

    well – if it is with parent theme ok – it will be ok with child-theme too.
    You can achieve this only on page editor and a few css settings

    the point is if you like to have footer and socket ?
    you can see here a test-page. https://webers-testseite.de/fullbackground/
    with one color-section on top with a 100% height
    transparent-header setting (style the header-bg as you like)
    ( because there is no footer nor socket: you can have background-image with scroll too – or fixed)

    Content can be everything Enfold offers on alb elements

    you can have the same with background-video – hope it works for you ( on my end – yes it works)

    • This reply was modified 7 years, 4 months ago by Guenni007.

    hr.php : by the way the code has been changed a bit since 4.2.4
    and the folder-structure too. so now hr.php is in a subfolder called hr.

    See new download for hr.php since 4.2.4 here: https://webers-testseite.de/edited-enfold-alb-elements/#hr-with-id

    in reply to: HTACCESS Problem #918863

    By the way don’t tap in so called “snake-oil” tips

    Whether you find the following tips on websites or as part of a plugin – ignores them. For the normal user, their application often results in more problems than a measurable benefit:

    1) The removal of the WordPress version from the source code
    2) Modify the link to the WordPress backend (admin section) or put it on another link
    3) Change or adjust the path to the “wp-content” folder
    4) Remove or hide the author name
    5) […]

    These measures do not solve any problems in the long term, but make it more difficult for the user to operate and use WordPress.

    in reply to: How to change the colour of just 1 text input area #918862

    both will work – just add the color for the font to Rikards code

    in reply to: HTACCESS Problem #918597

    what is the reason for a htaccess file in wp-admin folder?
    to secure the admin area all methods i know have the htaccess file in the root directory and exclude from there all goodies.
    f.e. to have a password protection of wp-login.php with a htpasswd.

    something like this:

    <Files wp-login.php>
       AuthType Basic
       AuthName "Restricted Admin-Area"
       AuthUserFile /pfad/zur/.htpasswd
       Require valid-user
    </Files>
    in reply to: Contact 7 form issues #918512

    can you send me the url where this is happening. If you don’t like to make it public.
    Send me an e-Mail. My nick has all infos on that – leads to my homepage

    in reply to: How to change the colour of just 1 text input area #918453
    #top.home .main_color input#avia_1_1[type="text"] {
        background-color: #ffcd26 !important;
        border-color: gray;
        color: blue
    }

    you can try it without important – seems to be selectiv enough

    Die Kommentare sind nicht beleidigend. Mein Hinweis auf das Verändern der Sonderzeichen in Code hätte eigentlich diesen Thread hier beenden können. Ob es ein Bug ist oder nicht sei einmal dahingestellt.
    Die Leute hier geben sich alle Mühe Hilfestellungen zu geben. Diese Immer und Sofort einzufordern zeugt von einer gewissen Intolleranz auch den Anderen gegenüber – welche auch Hilfen erwarten.
    Die meisten meiner Kommentare hier an Board versuchen anderen zu helfen, und das obwohl ich nicht Moderator hier an Board bin. Nahezu 3000 Antworten hier an Board zeugen gewiss nicht von Unfreundlichkeit sondern von Hilfsbereitschaft.

    Ich hoffe daran zu denken, nicht mehr auf Anfragen deines Nicks zu reagieren. – Versprechen kann ich es nicht. Ich bin so erzogen hilfsbereit zu sein.

    ____________
    Sorry this is google translator:

    The comments are not offensive. My reference to changing the special characters in code could actually have ended this thread here. Whether it is a bug or not is once left out.
    The people here are trying hard to help. This demand always and immediately testifies to a certain intolerance to the other – which also expect help.
    Most of my comments here on board are trying to help others, even though I’m not a moderator on board. Almost 3000 answers here on board certainly do not testify to unkindness but to helpfulness.

    I hope to remember not to respond to requests from your nick. – I can not promise it. I am so educated to be helpful.

    We all make mistakes. Some people know that, others do not. Some search for the source of the error in themselves, others search for others’ mistakes.

    no comment on that:

    … what HTML entities are I should know as a studied computer scientist and apart from that …

    even this board soft althought it is in code tags will transform some entities because they are starting with those signs like &:

    brilliant ! Thanks Ismael

    in reply to: How to change the colour of just 1 text input area #918365

    don’t see your homepage

    in reply to: Contact 7 form issues #918354

    i’m participant as you so is it the link above to your page?

    By the way : Safari is a stange Browser – you will have to clean cache. If you do not see the developer menu – go to Safari Settings and on Advanced there is a field to mark to show developer tools.

    if you done that the clean cache could be done by: ⌥ ⌘ E

    do you see here any other background colors:
    https://webers-testseite.de/kontakt

    by the way to influence the selected colors in subject or message field on safari

    ::selection {background-color: #eee; color: #000}

    if it is your site on first topic : see here the simulation on Safari
    click to enlarge:

    in reply to: form input field CSS targeting #918351

    Well Basilis the web is full of those specificity calculators and explanations about that:
    https://css-tricks.com/specifics-on-css-specificity/

    see here a calculator: https://specificity.keegan.st/

    Interesting thing: the :not pseudo class does not count on that.

    in reply to: How to change the colour of just 1 text input area #918342

    you can count the position of your input field and use the :nth-of-type
    something like:

    #top .main_color input:nth-of-type(1) {
    border-color: gray;
    background-color: #ffcd26;
    color: blue;
    }

    you can see how it will be used here: https://css-tricks.com/almanac/selectors/n/nth-of-type/

    The :nth-of-type selector is very similar to :nth-child but with one critical difference: it is more specific. In our example above they would produce the same result because we are iterating over only li elements, but if we were iterating over a more complex group of siblings, :nth-child would try to match all siblings, not only siblings of the same element type. This reveals the power of :nth-of-type—it targets a particular type of element in an arrangement with relation to similar siblings, not all siblings.

    in reply to: Contact 7 form issues #918296

    try this in quick css:

    input:-webkit-autofill {
        -webkit-box-shadow: 0 0 0 30px #ffffff inset !important;
    }

    and if you like to influence the font color which is filled in automatically influence both:

    input:-webkit-autofill {
        -webkit-box-shadow: 0 0 0 30px #ffffff inset !important;
        -webkit-text-fill-color: #8c8c8c !important;
    }

    by the way:

    it is a socalled user-agent-style-sheet and has nothing to do with any theme / wordpress

    in reply to: Contact 7 form issues #918288

    It seems every time I have any issue with Enfold it never gets fixed?

    Well Darren that is not realy the truth: https://kriesi.at/support/topic/contact-7-form-issues/#post-910349
    but i can not confirm to your statement – on all of my Enfold Installations where i do not use the embeded contact form alb element i use CF7.
    And on all those installations it fits well to Enfold. Mostly I use it to have the Google Captcha like you.
    can you post the link to the contact form which causes the troubles?

    Edit: Aha – only Safari shows the autofill option on your contact form. – And these fields after accepting the auto-filled content are with yellow background. And that bothers you ?

    in reply to: What does “-flextable" mean? #918281

    this -flextable is indeed a bit confusing.
    it is line 800 on Enfold 4.2.4. of columns.php where it is generated

    $output .= "<div class='flex_column_table ".avia_sc_columns::$first_atts['min_height']."-flextable ".avia_sc_columns::$first_atts['mobile_breaking']."-flextable' {$margin_style}>";

    but i do not see any benefit to have here an additional class: -flextable
    but it seems to have something to do with mobile usage

    in reply to: modify functions.php via child theme #918274

    wenn das immer in der Color-section mit der ID : portfolio ist:

    #portfolio h1.av-special-heading-tag {
        background-color: rgba(255, 255, 255, 0.5);
        display: inline-block;
        padding: 10px;
    }
    
    #portfolio .av-subheading {
        display: inline-block;
        padding: 5px;
        background-color: rgba(255, 99, 0, 0.7);
    }
    
    #portfolio .av_icon_caption {
        background-color: rgba(255, 99, 0, 0.7);
        display: inline-block;
        padding: 5px;
    }

    but ! you have to adjust the colors you like to have –
    i have choosen the semitransparent rgba values – and selective only for that page.

    .page-id-11189 h1.av-special-heading-tag {
        background-color: rgba(255, 255, 255, 0.5);
        display: inline-block;
        padding: 10px;
    }
    
    .page-id-11189 .av-subheading {
        display: inline-block;
        padding: 5px;
        background-color: rgba(255, 99, 0, 0.7);
    }
    
    .page-id-11189 .av_icon_caption {
        background-color: rgba(255, 99, 0, 0.7);
        display: inline-block;
        padding: 5px;
    }
Viewing 30 posts - 8,521 through 8,550 (of 11,475 total)