• I would like to know, how can I change the style of the links of categories, archives and links?
    I use <?php the_category(); ?> <?php get_links_list(); ?> and <?php list_cats(); ?> functions, and thus I can’t change the style of the lists and the links inside them. I can’t set the CSS class of them, so they appear unformatted. Is there any way I can override this?
    Any kind of help would be much appreciated.

Viewing 8 replies - 1 through 8 (of 8 total)
  • Thread Starter giros

    (@giros)

    Oh, and I forgot to mention the link to the comments. <?php comments_popup_link(); ?> neither allow CSS formatting.

    You can change anything ??
    Have a look here:
    https://www.tamba2.org.uk/wordpress/1css/
    and the css, esp from this part down:
    /* From here styles each menulink area */
    Use the ‘View Source’ in your browser to see how the php has been interpreted, and then code for that.

    Thread Starter giros

    (@giros)

    The problem is I use a totally custom site structure, template and CSS file, with different classes. So I use the above functions in template tags and it would be impossible to integrate the wp-layout.css classes into my site strucutre. What could you recommend to do?

    Study the Template Tags page at Wiki ( https://wiki.www.ads-software.com/TemplateTags ) to know what is the default display (e.g. unordered list etc.) and then style them accordingly in concordance with your “classes”.

    giros – give us a link ??
    It may be tricky, but I doubt it’s impossible. But without seeing it all in action, I wouldn’t know where to start.

    Thread Starter giros

    (@giros)

    The link is https://giros.atw.hu

    Thread Starter giros

    (@giros)

    Now you see what I mean. Completely custom template, completely custom CSS. So I got stuck changing the layout of the right side menu and the category name in the post header.
    Maybe the View source… option in your browser doesnt show any information because of the frame structure. I can’t change it as this is a free webhosting service and they put that advertising in a frame at the top. So you have to save the page to your computer in order to see the source, sorry about that.

    I can see your problem, and unfortunately some of the tools I use in cases like this don’t seem to like FF1.0, so I’m a bit stuck… but:
    1 – You could try installing a setup inside your machine with something like xampp so you can see how the php tags are translated by the browser, then write the css needed.
    2 – Look for another free webhost ? There are some new ones around right now. https://www.blogthing.com/ is one.
    3 – If you are using just default tags, we could tell you here how will look in Source so you could code for them
    Any of those a possibility ?

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘How to change link style?’ is closed to new replies.