Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS css help…

  • This topic is empty.
Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #35503
    stevedeer
    Member

    hi all

    is it possible to write this in css language…

    “find the word ‘Permalink’ that is within a link, change the word to ‘View in isolation’ and style it…’?

    I’m trying to style a theme with no access to the actual html, so I gotta think sideways!!!

    many thanks in advance

    #92013
    TheDoc
    Member

    If you have access to edit the CSS, you must be able to update other files, no?

    Are you using a WordPress theme? My guess is yes due to the use of the word ‘permalink’.

    #92015
    stevedeer
    Member

    TheDoc

    No, I’m ‘running on cargo’ (cargocollective.com), and using a design/theme. I have full access to the css, but I can only add custom html (no access to the core html).

    #92022
    TheDoc
    Member

    Hmmmm. Tough call.

    You could target it with jQuery if you could insert proper code into the head? Just not sure if you can do it with CSS.

    #92036
    stevedeer
    Member

    Doc… I’m pretty sure that would be possible… I believe if I add a

    ... 

    to the custom html panel, it would be added to the head section of the core html… thanks for the jQuery suggestion

    #92089
    stevedeer
    Member

    Doc, cheers… this did what I want

    $(document).ready( function() {
    $('.permalink a').text("new text goes here");
    });

    $(document).bind('paginationComplete', function() {
    $('.permalink a').text("new text goes here");
    });
Viewing 6 posts - 1 through 6 (of 6 total)
  • The forum ‘CSS’ is closed to new topics and replies.