Jump to content

simona6

Members
  • Posts

    146
  • Joined

  • Last visited

Posts posted by simona6

  1. Hi.

    We know how to do the CSS to create a happy face bottom curve. but how do you do that to be a sad face - so the middle is up, and the sides are down?

    If you apply this class to a DIV/Row, it creates the Happy type.  How do you make it so the middle is upper?

    .curved-bottom {
        clip-path: ellipse(100% 60% at 50% 40%);
    }

    Hope you can help.  The plan is to put a row of three Tiles, and apply this to the row, so the tiles are "cropped" in a sad face style.

  2. RewriteRule ^shop/[^/]+/[^/]+/([^/]+)/?$ /shop/$1 [R=301,L]

    We have a site where sometimes Google has indexed a page where it is linked like this:

    /shop/mens/jeans/jean-product/

    But we need it to already redirect to:

    /shop/mens/jean-product/

    The site is written in this way, but Google has oddly indexed longer versions with the "jeans" in the sub category.

    The Rewrite above was given to me, but it doesn't do anything at all.

    Can someone please help?  Looking at it, surely it should have the various $1...$2 within it, but my knowledge is extremely rusty.

  3. <div>
            <svg width='100%' viewBox='0 0 1400 200'>
                <defs>
                    <style type='text/css'>
    .text1 {
    padding-top: 50px;
        font-family: Geomanist-Bold;
        font-size: 193pt;
        font-weight: 600;
        stroke: #d3cdcd;
        stroke-width: 2px;
        fill: transparent;
    }
                    </style>
                </defs>
                <text class='text1' x='50' y='193'>
                   WordPress
                </text>
            </svg>
        </div>

    So this should work?  And shouldnt' crop it?

    I take it there is no way to use the VW font-size method, as I don't understand it.

  4. <div>
            <svg width='100%' viewBox='0 0 1400 200'>
                <defs>
                    <style type='text/css'>
    .text1 {
    padding-top: 50px;
        font-family: Geomanist-Bold;
        font-size: 193pt;
        font-weight: 600;
        stroke: #d3cdcd;
        stroke-width: 2px;
        fill: transparent;
    }
                    </style>
                </defs>
                <text class='text1' x='50' y='150'>
                   WordPress
                </text>
            </svg>
        </div>

    This Crops top and bottom for some reason.

    I also assuemd the Font size would be a percentage, so that's a bit confusing to me.  I assume SEO does pick this up, as it is "text"?  (tho the words in this case are not vital).

    Just assumed you could haev text that is a percentage of it's containing DIV.

  5. Sorry I'm puzzled.

    Does this SVG method take on the font used on the site?

    I've read you can use a vw font size, but I don't really understand it. I assumed you could set a font to be say, 90% width of the viewpoint of the screen, or the container.  So it will stretch to fit.  So rather than one version for that media size,and another for multiple - you can just use a VW version that "fits all".

     

    but it doesn't work.

  6. .custom-stroke-text-effect-1 {
        -webkit-text-fill-color: #FFF;
        -webkit-text-stroke-width: 1px;
        -webkit-text-stroke-color: #2a2a2a;
        white-space: nowrap;
        font-size: 7rem;
        opacity: 0.1;
        font-family: "Geomanist";
        margin-top: 41px;
    }
    
    @media only screen and (max-width: 950px) {
     .custom-stroke-text-effect-1 {
        font-size: 4rem;
    }   
    }

    I am trying to create an effect so the outline text is above and slightly behind the text below it (layered).

    Trouble is, on some screens the text goes off the page, causing the sidebars.

    I tried overflow:hidden, but that oddly, crops the top and bottom of the text... no idea why.

    I could do it with a background image, but prefer it as text if poss.  So it's easier to tweak.

    Any ideas?

    Bit like the attached, but so the outline text can be bigger.

    Screenshot 2023-08-13 at 11.20.09.png

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.