Forums

Custom Field Template
Can I arrange the admin page with CSS? (3 posts)

  1. AndrewKantor
    Member
    Posted 1 year ago #

    I'm loving CFT, but there are two things I haven't figured out. (Well, two things that are important.)

    Most importantly, is it possible to use the admin.css to do more than change text size and color? I'd like to put fields in boxes, for example -- maybe some on the left or right.

    I tried things like style = position:absolute and adding lines like .dl_speaker_bio0_0 {style options} to the admin.css, but no joy.

    My guess is that there's some way to do more than simply have one field under another, but I can't figure it. Any ideas? Thanks!

  2. proximity2008
    Member
    Posted 1 year ago #

    Hi Andrew,

    Using the instructions area you can link to a css file.
    <link rel="stylesheet" type="text/css" href="/wp-content/themes/yourtheme/cft/cft.css" />

    I usually make a folder in my theme directory called cft and put css and javascript files in there.

    You can add classes to your attributes using class=whatever so you can target via .whatever {color:red} for example.

    I don't recommend trying to move fields around — I have tried it and it is tricky. It can be done though using
    fieldsets though. If you want more pretty custom fields or repeating custom fields use the magic fields plugin.

  3. AndrewKantor
    Member
    Posted 1 year ago #

    Thanks for this -- sorry I didn't say so earlier. I've been battling with custom fields (and various plugins), and didn't make it back here.

    The fieldsets advice is particularly helpful for what I'm trying to do. Finally, an admin page the way I want it!

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic